Repository navigation
Add explicit dependency cooldowns - #27796
Conversation
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 97.68%. The percentage of expected errors that received a diagnostic held steady at 93.44%. The number of fully passing files held steady at 109/136. |
Memory usage reportMemory usage unchanged ✅ |
|
| Project | Old Time | New Time | Change |
|---|---|---|---|
pycryptodome |
0.16s | 0.25s | +60% |
Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.
|
Note: This is intentionally lower than our Renovate cooldown, which is 30d. The rationale is that we want a longer cooldown for automated updates, while maintainers should have more latitude/discretion when making manual updates. (And of course, exclusions/exceptions remain possible.) |
|
AlexWaygood
left a comment
There was a problem hiding this comment.
(And of course, exclusions/exceptions remain possible.)
I had to check how we would do this -- it looks like we'd need to add explicit exclusions to the inline metadata, e.g.
exclude-newer-package = { some-package = false }(that seems totally fine)
| # | ||
| # [tool.uv] | ||
| # exclude-newer = "7 days" | ||
| # exclude-newer = "P7D" |
There was a problem hiding this comment.
I find the previous spelling more readable, but don't care that much :P
There was a problem hiding this comment.
I like the PnD format since it's the ISO duration format, but I'm happy to do a follow up to change to the human format!
Older `npm` releases silently ignore the seven-day dependency cooldown added in #27796. Require `npm` 11.10.0 or newer in the playground, playground API, and ty benchmark projects, and enable `engine-strict` so unsupported clients fail during `npm install` or `npm ci`. The lockfile changes only record that requirement; dependency versions and the existing cooldown are unchanged. Pin Node.js to `24.19.0` for the playground CI and publishing jobs, which provides a compatible bundled `npm`. The separate script-default changes are in #27837, and the locked playground deployment tool is in #27838. Related: #27855 pins the remaining WebAssembly test and publication runtimes. astral-sh/setup-uv#1026 and astral-sh/ruff-action#411 enforce the same legacy-aware `npm` version floor. astral-sh/uv#21193 applies it to uv's locked formatter toolchain. --------- Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
Summary
Adds explicit 7d cooldowns to all of our PEP 723 scripts, as well as similar cooldowns via
.npmrc.Test Plan
NFC.
Stack created with GitHub Stacks CLI • Give Feedback 💬