@@ -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]
4950dev = [
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+ ]
8592pytest-cov = " ^7.0.0"
8693coverage = " >=7.10.6"
8794pytest-django = " ^4.5.2"
@@ -94,4 +101,3 @@ pytest-timeout = "^2.2.0"
94101black = " ^26.0.0"
95102flake8 = " ^7.0.0"
96103isort = " ^8.0.0"
97-
0 commit comments