Repository navigation
Drop the Python 3.13.0b4 cffi pin so cryptography can be bumped to 50 - #483
Merged
Merged
Conversation
The dev group pinned cffi==1.17.0rc1 for python_full_version=='3.13.0b4', added when CI tested the 3.13 beta. uv locks that marker as a whole python_full_version == '3.13' split, so on 3.13 cffi stayed at the release candidate. cryptography 50 needs cffi>=2.0.0, so every Dependabot security update for cryptography failed to resolve, and the lock stayed on cryptography 46.0.0 with seven open alerts, the newest fixed only in 50.0.0. Removing the pin and running uv lock --upgrade-package cryptography --upgrade-package cffi moves cryptography 46.0.0 -> 50.0.2 and cffi to 2.1.1 on every Python; no other locked version changes. cryptography is only a dev dependency (via moto), so the published package's requirements are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
Drop the dev-group pin
cffi==v1.17.0rc1; python_full_version=='3.13.0b4'and relock with only cryptography and cffi allowed to move:No other locked version changes. The lock also loses the
python_full_version == '3.13'split that the pin created.Why
The pin dates from 2024-07-26, when CI tested the 3.13.0 beta 4 (44911a3). uv locks its marker as a whole
python_full_version == '3.13'split, so on 3.13 cffi stayed at the release candidate. cryptography 50 needscffi>=2.0.0, so every Dependabot security update for cryptography failed with:That left seven open cryptography alerts (4 high, 2 medium, 1 low); the newest is fixed only in 50.0.0. 50.0.2 covers all seven. The diskcache alert has no fixed version and stays open.
cryptography reaches simpleflow only through dev dependencies (moto), so the published package's requirements are unchanged.
Tests
uv lock --checkexits 0, anduv lockleaves the file unchanged.uv run --frozen --all-extras --group=dev pytest, as CI runs it, on 3.11.18, 3.13.17 and 3.14.9 with cryptography 50.0.2 and cffi 2.1.1 installed: 450 passed, 10 skipped, 3 xfailed each. 3.12, 3.15 and pypy-3.11 are left to CI.uvx prek run --all-filesis clean.🤖 Generated with Claude Code