SK-2851: Loosen PyJWT, python-dotenv, urllib3 dependency pins#256
Closed
jstjoe wants to merge 1 commit into
Closed
SK-2851: Loosen PyJWT, python-dotenv, urllib3 dependency pins#256jstjoe wants to merge 1 commit into
jstjoe wants to merge 1 commit into
Conversation
Widen three transitive pins that were forcing customers onto outdated versions and blocking them from picking up upstream security fixes (notably CVE-2026-32597 in PyJWT < 2.12.0): PyJWT ~=2.9.0 -> >= 2.9, < 3 python-dotenv ~=1.0.1 -> >= 1.0, < 2 urllib3 >= 1.25.3, < 2.1 -> >= 1.25.3, < 3 Also harmonizes the urllib3 range between setup.py and requirements.txt (previously diverged at <=2.6.3 vs <2.1.0). Verified the test suite passes against the latest of each dep (PyJWT 2.13.0, python-dotenv 1.2.2, urllib3 2.7.0). https://claude.ai/code/session_01KSRSfYXWLyJHWjTAKmAXNo
Collaborator
|
Closing this PR since these changes are already released |
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
Widens three transitive dependency pins that were unnecessarily tight, blocking customers from picking up upstream security fixes (notably CVE-2026-32597 in PyJWT < 2.12.0). Reported via SK-2851 by a customer hitting all three conflicts at once.
~=2.9.0(2.9.x only)>= 2.9, < 3~=1.0.1(1.0.x only)>= 1.0, < 2load_dotenv()/find_dotenv(), stable since 1.0.>= 1.25.3, < 2.1.0(req.txt) /<= 2.6.3(setup.py)>= 1.25.3, < 3No PyJWT 3 / python-dotenv 2 / urllib3 3 exist yet, so the
<major+1caps don't restrict anything reachable today and protect us from a future breaking major.Test plan
pip install -e .resolves cleanly in a fresh venv (picks PyJWT 2.13.0, python-dotenv 1.2.2, urllib3 2.7.0)https://claude.ai/code/session_01KSRSfYXWLyJHWjTAKmAXNo
Generated by Claude Code