Add Python 3.9 upper caps for 3.9-dropping deps and fix pip-compile hooks#69716
Open
dwoz wants to merge 1 commit into
Open
Add Python 3.9 upper caps for 3.9-dropping deps and fix pip-compile hooks#69716dwoz wants to merge 1 commit into
dwoz wants to merge 1 commit into
Conversation
…ooks Two coupled fixes that keep grouped pip-updates PRs from failing on 3006.x: 1. Python 3.9 caps. Dependabot raises the shared floor of several packages to a release that no longer supports Python 3.9 (jaraco.functools 4.5.0, jaraco.context 6.1.2, msgpack 1.2.1, more-itertools 11.0.0, pycparser 3.0, pythonnet 3.1.0, virtualenv 21.5.1, xmldiff 3.0, zipp 4.1.0). With a single unmarked floor the py3.9 lock targets become unresolvable. Split each into a python_version < '3.10' branch capped at the last 3.9-compatible release plus an open py>=3.10 branch, mirroring the existing cryptography/aiohttp/urllib3 splits. (cryptography and pyopenssl already carry all-Python caps here, so they need no split.) 2. Malformed pip-compile hooks. The Py3.13 ZeroMQ hooks (linux/freebsd/ darwin/windows) and the docs hook were missing their `- id: pip-compile` line, so YAML folded them into the preceding Py3.14 blocks as duplicate keys and the Py3.14 CI locks never regenerated. Restore the missing id lines, correct the py3.14->py3.13 file globs, and regenerate the affected Py3.14 locks.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Two coupled fixes that stop grouped pip-updates PRs from failing on 3006.x:
python_version < '3.10'branch capped at the last 3.9-compatible release plus an openpython_version >= '3.10'branch, mirroring the existingcryptography/aiohttp/urllib3splits. Packages capped:jaraco.functools(<4.5.0),jaraco.context(<6.1.2),msgpack(<1.2.1),more-itertools(<11.0.0),pycparser(<3.0),pythonnet(<3.1.0),virtualenv(<21.5.1),xmldiff(<3.0),zipp(<4.1.0).cryptographyandpyopensslalready carry all-Python caps here, so they need no split.pip-compilehooks. The Py3.13 ZeroMQ hooks (linux/freebsd/darwin/windows) and the docs hook were missing their- id: pip-compileline, so YAML folded them into the preceding Py3.14 blocks as duplicate keys and the Py3.14 CI locks never regenerated. This restores the missing ids, corrects thepy3.14->py3.13file globs, and regenerates the affected Py3.14 locks.Test plan
pip-compilehooks pass and converge.Inconsistent title stylefailure inhighstate.rstis unrelated to this change).