Skip to content

Commit 5234360

Browse files
committed
Address review: cap requests at <3 and dedupe Snyk pin in base.txt
- requests pin in base.txt is now >=2.33.1,<3 to keep major version 2.x as policy until we explicitly opt in to a 3.x release - Removed duplicate Snyk requests pin still at >=2.32.2 (line 86) — base.txt's primary pin already covers it and the Snyk constraint was lower than the security-driven floor - local.txt and production.txt updated to match the <3 cap
1 parent a98a6ef commit 5234360

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

requirements/base.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pyjwt==2.12.1 # https://github.com/jpadilla/pyjwt
1010
cryptography==47.0.0 # https://github.com/pyca/cryptography
1111
pydantic==2.*
1212
typing-extensions==4.* # https://github.com/python/typing_extensions
13-
requests>=2.33.1 # https://requests.readthedocs.io/en/latest/
13+
requests>=2.33.1,<3 # https://requests.readthedocs.io/en/latest/
1414
httpx>=0.27.0,<1 # https://github.com/encode/httpx - async HTTP for agent tools
1515
tokenizers>=0.21,<0.23 # Pin to prevent conflicts with transformers
1616

@@ -83,7 +83,6 @@ mcp>=1.27.0 # https://github.com/anthropics/python-sdk
8383
# ------------------------------------------------------------------------------
8484
twisted>=24.7.0rc1 # not directly required, pinned by Snyk to avoid a vulnerability
8585
ipython>=9.13.0 # not directly required, pinned by Snyk to avoid a vulnerability
86-
requests>=2.32.2 # not directly required, pinned by Snyk to avoid a vulnerability
8786
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
8887
sqlparse>=0.5.0 # not directly required, pinned by Snyk to avoid a vulnerability
8988
tornado>=6.5.5 # not directly required, pinned by Snyk to avoid a vulnerability

requirements/local.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ python-pptx
5454
django==5.2.13 # https://www.djangoproject.com/
5555
twisted>=25.5.0 # not directly required, pinned by Snyk to avoid a vulnerability
5656
ipython>=9.13.0 # not directly required, pinned by Snyk to avoid a vulnerability
57-
requests>=2.33.1 # not directly required, pinned by Snyk to avoid a vulnerability
57+
requests>=2.33.1,<3 # not directly required, pinned by Snyk to avoid a vulnerability
5858
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
5959
sqlparse>=0.5.0 # not directly required, pinned by Snyk to avoid a vulnerability
6060
tornado>=6.5.5 # not directly required, pinned by Snyk to avoid a vulnerability

requirements/production.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ google-auth==2.49.2
2020
django==5.2.13 # https://www.djangoproject.com/
2121
twisted>=25.5.0 # not directly required, pinned by Snyk to avoid a vulnerability
2222
ipython>=9.13.0 # not directly required, pinned by Snyk to avoid a vulnerability
23-
requests>=2.33.1 # not directly required, pinned by Snyk to avoid a vulnerability
23+
requests>=2.33.1,<3 # not directly required, pinned by Snyk to avoid a vulnerability
2424
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
2525
sqlparse>=0.5.0 # not directly required, pinned by Snyk to avoid a vulnerability
2626
tornado>=6.5.5 # not directly required, pinned by Snyk to avoid a vulnerability

0 commit comments

Comments
 (0)