-
Notifications
You must be signed in to change notification settings - Fork 312
discuss: implement dependency cooldowns in more areas #2841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
agriyakhetarpal
wants to merge
20
commits into
pypa:main
Choose a base branch
from
agriyakhetarpal:more-dependency-cooldowns
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
029a023
Add `--exclude-newer` for constraints updates
agriyakhetarpal 3f9d944
Add a cooldown for `virtualenv` updates
agriyakhetarpal c4a4a46
Add a cooldown for Node.js
agriyakhetarpal 24975da
Add a cooldown for PBS
agriyakhetarpal 0bd49eb
Add cooldown for GraalPy
agriyakhetarpal 88efa8b
Add cooldown for PyPy
agriyakhetarpal ac39bb2
Add cooldown for CPython
agriyakhetarpal 0d39d19
Add cooldown for CPythonIOS
agriyakhetarpal 38af4db
Add cooldown for NuGet
agriyakhetarpal 8228969
Add cooldown for Maven
agriyakhetarpal ae4750c
NuGet: add some explainer comments + reduce requests
agriyakhetarpal bd0c726
Add `CIBW_IGNORE_COOLDOWN`
agriyakhetarpal 7136435
Refactor cooldown constants into a separate file
agriyakhetarpal 2555201
Move `_cooldown` under `cibuildwheel.util` (eas
agriyakhetarpal 90df56e
Handle cases with undefined ignore-cooldown input
agriyakhetarpal 4e7ead6
Give up trying to make noxfile happy
agriyakhetarpal 29c578d
Bring things back to `bin/_cooldown.py`
agriyakhetarpal 71e27aa
Update comment
agriyakhetarpal 35d044b
Drop cooldown for everything minus Dependabot to 2 days
agriyakhetarpal da1b6ed
`uv`'s `--exclude-newer` supports friendly times
agriyakhetarpal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,5 +9,6 @@ updates: | |
| actions: | ||
| patterns: | ||
| - "*" | ||
| # NOTE: keep this in sync with bin/_cooldown.py | ||
| cooldown: | ||
| default-days: 7 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import os | ||
|
|
||
| # Number of days a release must age before the update scripts will pick it up. | ||
| # NOTE: keep this in sync with the Dependabot configuration in .github/dependabot.yml. | ||
| COOLDOWN_DAYS = 7 | ||
|
|
||
| # Set CIBW_IGNORE_COOLDOWN to a truthy value to bypass the cooldown and always pick | ||
| # up the very latest releases regardless of age. | ||
| IGNORE_COOLDOWN = os.environ.get("CIBW_IGNORE_COOLDOWN", "").lower() in ("1", "true") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.