Skip to content

Commit 0e68aa3

Browse files
committed
[IMP] requirements.txt: trixie package compat
Some libraries need to be bumped to be compatible with Python 3.13 (as used in Trixie). In that case we update the requirements to the Trixie version if possible, even if a lower version would be compatible with 3.13 itself. - babel needs to be at least [2.11 to avoid usage of cgi][2] removed from 3.13 - freezegun needs to be [at least 1.5.0][3] to not call the now-removed `uuid._load_system_functions()` - trixie ships gevent 24.11.1 and greenlet 3.1.0, but upstream [gevent 24.11.1 requires greenlet 3.1.1][1] so basing the requirements off of trixie doesn't even install - zeep needs to be [at least 4.3.0][4] to not use the `cgi` module [1]: https://github.com/gevent/gevent/blob/24.11.1/setup.py#L200-L214 [2]: https://babel.pocoo.org/en/latest/changelog.html#version-2-11-0 [3]: spulec/freezegun#534 [4]: mvantellingen/python-zeep#1364
1 parent f34e554 commit 0e68aa3

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

requirements.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
asn1crypto==1.4.0 ; python_version < '3.11'
44
asn1crypto==1.5.1 ; python_version >= '3.11'
55
Babel==2.9.1 ; python_version < '3.11' # min version = 2.6.0 (Focal with security backports)
6-
Babel==2.10.3 ; python_version >= '3.11'
6+
Babel==2.10.3 ; python_version >= '3.11' and python_version < '3.13'
7+
Babel==2.17.0 ; python_version >= '3.13'
78
cbor2==5.4.2 ; python_version < '3.12'
89
cbor2==5.6.2 ; python_version >= '3.12'
910
chardet==4.0.0 ; python_version < '3.11' # (Jammy)
@@ -15,14 +16,17 @@ decorator==5.1.1 ; python_version >= '3.11'
1516
docutils==0.17 ; python_version < '3.11' # (Jammy)
1617
docutils==0.20.1 ; python_version >= '3.11'
1718
freezegun==1.1.0 ; python_version < '3.11' # (Jammy)
18-
freezegun==1.2.1 ; python_version >= '3.11'
19+
freezegun==1.2.1 ; python_version >= '3.11' and python_version < '3.13'
20+
freezegun==1.5.1 ; python_version >= '3.13'
1921
geoip2==2.9.0
2022
gevent==21.8.0 ; sys_platform != 'win32' and python_version == '3.10' # (Jammy)
2123
gevent==22.10.2; sys_platform != 'win32' and python_version > '3.10' and python_version < '3.12'
22-
gevent==24.2.1 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
24+
gevent==24.2.1 ; sys_platform != 'win32' and python_version >= '3.12' and python_version < '3.13' # (Noble)
25+
gevent==24.11.1 ; sys_platform != 'win32' and python_version >= '3.13' # (Trixie)
2326
greenlet==1.1.2 ; sys_platform != 'win32' and python_version == '3.10' # (Jammy)
2427
greenlet==2.0.2 ; sys_platform != 'win32' and python_version > '3.10' and python_version < '3.12'
25-
greenlet==3.0.3 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
28+
greenlet==3.0.3 ; sys_platform != 'win32' and python_version >= '3.12' and python_version < '3.13' # (Noble)
29+
greenlet==3.1.1 ; sys_platform != 'win32' and python_version >= '3.13' # (Trixie)
2630
idna==2.10 ; python_version < '3.12' # requests 2.25.1 depends on idna<3 and >=2.5
2731
idna==3.6 ; python_version >= '3.12'
2832
Jinja2==3.0.3 ; python_version <= '3.10'
@@ -44,14 +48,16 @@ openpyxl==3.1.2 ; python_version >= '3.12'
4448
passlib==1.7.4 # min version = 1.7.2 (Focal with security backports)
4549
Pillow==9.0.1 ; python_version <= '3.10'
4650
Pillow==9.4.0 ; python_version > '3.10' and python_version < '3.12'
47-
Pillow==10.2.0 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
51+
Pillow==10.2.0 ; python_version >= '3.12' and python_version < '3.13' # (Noble) Mostly to have a wheel package
52+
Pillow==11.1.0 ; python_version >= '3.13' # (Noble) Mostly to have a wheel package
4853
polib==1.1.1
4954
psutil==5.9.0 ; python_version <= '3.10'
5055
psutil==5.9.4 ; python_version > '3.10' and python_version < '3.12'
5156
psutil==5.9.8 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
5257
psycopg2==2.9.2 ; python_version == '3.10' # (Jammy)
5358
psycopg2==2.9.5 ; python_version == '3.11'
54-
psycopg2==2.9.9 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
59+
psycopg2==2.9.9 ; python_version >= '3.12' and python_version < '3.13' # (Noble)
60+
psycopg2==2.9.10 ; python_version >= '3.13' # (Trixie)
5561
pyopenssl==21.0.0 ; python_version < '3.12'
5662
pyopenssl==24.1.0 ; python_version >= '3.12' # (Noble) min 23.2.0, pinned for compatibility with cryptography==42.0.8 and security patches
5763
PyPDF2==1.26.0 ; python_version <= '3.10'
@@ -88,4 +94,5 @@ XlsxWriter==3.0.2 ; python_version < '3.12' # (jammy)
8894
XlsxWriter==3.1.9 ; python_version >= '3.12'
8995
xlwt==1.3.0
9096
zeep==4.1.0 ; python_version < '3.11' # (jammy)
91-
zeep==4.2.1 ; python_version >= '3.11'
97+
zeep==4.2.1 ; python_version >= '3.11' and python_version < '3.13'
98+
zeep==4.3.1 ; python_version >= '3.13'

0 commit comments

Comments
 (0)