Skip to content

Commit 09241a9

Browse files
committed
chore: prefer older stable releases for fresh-on-pypi packages
Pin to stable older patches where the latest release is < 1 month old and an older patch still satisfies the CVE fix: - requests: 2.33.1 (5d old) -> 2.33.0 (32d old) - pathspec: 1.1.0 (3d old) -> 1.0.4 (3mo old) [black 26 dep] Pillow 12.2.0, pygments 2.20.0, and pytest 9.0.3 remain at the latest because they ARE the CVE-mandated minimums - no older patched release exists. https://claude.ai/code/session_01CSENfJ5u4nVLrpBqD8npqa
1 parent 6762486 commit 09241a9

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

poetry.lock

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ alive-progress = "^3.1.2"
3333
prometrix = "0.2.11"
3434
slack-sdk = "^3.21.3"
3535
pandas = "2.2.2"
36-
requests = ">=2.33.0"
36+
requests = ">=2.33.0,<2.33.1"
3737
pyyaml = "6.0.1"
3838
typing-extensions = "4.6.0"
3939
idna = "3.7"
@@ -46,6 +46,7 @@ tenacity = "^9.0.0"
4646
[tool.poetry.group.dev.dependencies]
4747
mypy = "^1.18.2"
4848
black = ">=26.3.1"
49+
pathspec = ">=1.0.0,<1.1.0"
4950
isort = "^5.12.0"
5051
flake8 = "^6.0.0"
5152
types-pyyaml = "^6.0.12.8"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pytz==2024.1 ; python_version >= "3.10" and python_full_version < "3.13"
3737
pyyaml==6.0.1 ; python_version >= "3.10" and python_full_version < "3.13"
3838
regex==2023.12.25 ; python_version >= "3.10" and python_full_version < "3.13"
3939
requests-oauthlib==1.4.1 ; python_version >= "3.10" and python_full_version < "3.13"
40-
requests==2.33.1 ; python_version >= "3.10" and python_full_version < "3.13"
40+
requests==2.33.0 ; python_version >= "3.10" and python_full_version < "3.13"
4141
rich==12.6.0 ; python_version >= "3.10" and python_full_version < "3.13"
4242
rsa==4.9 ; python_version >= "3.10" and python_full_version < "3.13"
4343
s3transfer==0.16.0 ; python_version >= "3.10" and python_full_version < "3.13"

0 commit comments

Comments
 (0)