Skip to content

Commit 2d27b72

Browse files
chore!: update requests to >=2.33.1 for CVE-2026-25645 (#107)
BREAKING CHANGE: Dropped support for Python 3.9 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fed1015 commit 2d27b72

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/pull-requests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 10
2020
strategy:
2121
matrix:
22-
container: [ "python:3.9", "python:3.10", "python:3.11" ]
22+
container: [ "python:3.10", "python:3.11" ]
2323
container:
2424
image: ${{ matrix.container }}
2525

@@ -30,6 +30,9 @@ jobs:
3030
fetch-depth: 0 # this (and below) is needed to have setuptools_scm report the correct version
3131
fetch-tags: true
3232

33+
- name: Mark workspace as safe directory
34+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
35+
3336
- name: Upgrade pip
3437
run: pip install --upgrade pip
3538

@@ -107,7 +110,7 @@ jobs:
107110
if: matrix.installation-type == 'minimal'
108111
run: |
109112
pip install --no-deps -e .
110-
pip install requests==2.32.4 openfeature-sdk==0.4.2 typing_extensions==4.9.0 httpx==0.27.2
113+
pip install "requests>=2.33.1,<3.0.0" openfeature-sdk==0.4.2 typing_extensions==4.9.0 httpx==0.27.2
111114
pip install pytest==7.4.2 pytest-mock==3.11.1
112115
113116
- name: Test telemetry functionality

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ classifiers = [
2626
]
2727
keywords = []
2828
dependencies = [
29-
"requests==2.32.4",
29+
"requests>=2.33.1,<3.0.0",
3030
"openfeature-sdk==0.4.2",
3131
"typing_extensions>=4.9.0,<5.0.0",
3232
"httpx==0.27.2",
3333
"protobuf>=5.29.5,<7.0.0"
3434
]
35-
requires-python = ">=3.9"
35+
requires-python = ">=3.10"
3636

3737
[project.optional-dependencies]
3838
dev = [

0 commit comments

Comments
 (0)