Skip to content

Commit 285d313

Browse files
chore: merge main and resolve requirements.txt conflicts
Co-authored-by: dtoxvanilla1991 <73205087+dtoxvanilla1991@users.noreply.github.com>
2 parents 0cc0e3c + aeed581 commit 285d313

3 files changed

Lines changed: 18 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ htmlcov/
4040
.coverage
4141
.coverage.*
4242
.cache
43-
nosetests.xml
4443
coverage.xml
4544
*.cover
4645
.hypothesis/
47-
venv/
48-
.venv/
46+
.venv*/
4947
.python-version
5048
.pytest_cache
5149

@@ -59,9 +57,6 @@ venv/
5957
# Sphinx documentation
6058
docs/_build/
6159

62-
# PyBuilder
63-
target/
64-
6560
# Ipython Notebook
6661
.ipynb_checkpoints
6762

pyproject.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ dependencies = [
2424
"python-dateutil >=2.9.0, <3.0",
2525
"Authlib >=1.3.0, <2.0",
2626
"pyjwt >=2.10.0, <3.0",
27-
"requests >=2.32.2, <3.0",
27+
"requests ~=2.32.5; python_version < '3.10'",
28+
"requests ~=2.33.0; python_version >= '3.10'",
2829
"typing-extensions >=4.11.0, <5.0",
2930
"frozendict >=2.4.3, <3.0",
3031
"certifi >=2026.1.4",
@@ -47,7 +48,9 @@ flask = [
4748
"flask >=3.0.0, <4.0.0",
4849
]
4950
dev = [
50-
"pytest >=7.4.0",
51+
# pytest 9 requires Python >=3.10; pytest 9.0.3 fixes CVE-2025-71176
52+
"pytest >=9.0.3; python_version >= '3.10'",
53+
"pytest >=7.4.0,<9; python_version < '3.10'",
5154
"pytest-cov >=4.1.0",
5255
"pytest-django >=4.5.2",
5356
"mypy >=1.5.0",
@@ -81,7 +84,11 @@ zip-safe = false
8184
"kinde_flask" = ["**/*.py", "**/*.json", "**/*.yaml", "**/*.yml"]
8285

8386
[tool.poetry.dev-dependencies]
84-
pytest = "^7.4.0"
87+
# pytest 9 requires Python >=3.10; pytest 9.0.3 fixes CVE-2025-71176
88+
pytest = [
89+
{version = ">=7.4.0,<9", python = "~3.9"},
90+
{version = "^9.0.3", python = ">=3.10"}
91+
]
8592
pytest-cov = "^7.0.0"
8693
coverage = ">=7.10.6"
8794
pytest-django = "^4.5.2"
@@ -94,4 +101,3 @@ pytest-timeout = "^2.2.0"
94101
black = "^26.0.0"
95102
flake8 = "^7.0.0"
96103
isort = "^8.0.0"
97-

requirements.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
requests~=2.33.0
1+
requests~=2.32.5; python_version < "3.10"
2+
requests~=2.33.0; python_version >= "3.10"
23
# Core dependencies
34
django>=4.2.0,<5.0.0
45
python-dotenv>=1.0.0
5-
cryptography>=46.0.6
6+
cryptography>=46.0.6,<47.0
67
pyjwt>=2.10.0
78
fastapi>=0.110.0
89
flask>=3.0.0
@@ -20,7 +21,10 @@ certifi>=2026.1.4
2021
pydantic>=2.0.0,<3.0.0
2122

2223
# Development dependencies
23-
pytest>=7.4.0
24+
# pytest 9 requires Python >=3.10; keep <9 for Python 3.9 (pytest 9 dropped 3.9 support)
25+
# CVE-2025-71176 is fixed in 9.0.3 (only available for Python >=3.10)
26+
pytest>=9.0.3; python_version >= "3.10"
27+
pytest>=7.4.0,<9; python_version < "3.10"
2428
pytest-django>=4.5.2
2529
pytest-asyncio>=0.21.1
2630
pytest-cov>=7.0.0

0 commit comments

Comments
 (0)