Skip to content

Commit 0f40219

Browse files
committed
fix: resolve types-requests dependency conflicts
Resolves dependency conflict between `types-requests` and `boto3`/`moto` on Python 3.9 for #331
1 parent 2feabd5 commit 0f40219

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

providers/openfeature-provider-flipt/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ dev = [
3030
"mypy>=1.18.0,<2.0.0",
3131
"pytest>=8.4.0,<9.0.0",
3232
"requests-mock>=1.12.0,<2.0.0",
33-
"types-requests>=2.32.0,<3.0.0",
33+
# NOTE: types-requests>=2.32.0 has dependency conflicts with boto3/moto on Python 3.9
34+
"types-requests>=2.31.0,<2.32.0; python_version<'3.10'",
35+
"types-requests>=2.32.0,<3.0.0; python_version>='3.10'",
3436
]
3537

3638
[tool.uv.build-backend]

providers/openfeature-provider-ofrep/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ dev = [
3131
"mypy>=1.18.0,<2.0.0",
3232
"pytest>=8.4.0,<9.0.0",
3333
"requests-mock>=1.12.0,<2.0.0",
34-
"types-requests>=2.32.0,<3.0.0",
34+
# NOTE: types-requests>=2.32.0 has dependency conflicts with boto3/moto on Python 3.9
35+
"types-requests>=2.31.0,<2.32.0; python_version<'3.10'",
36+
"types-requests>=2.32.0,<3.0.0; python_version>='3.10'",
3537
]
3638

3739
[tool.uv.build-backend]

uv.lock

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

0 commit comments

Comments
 (0)