Skip to content

Commit 69921fe

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 2b0c8db commit 69921fe

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
@@ -1,7 +1,8 @@
11
# The officially supported versions of the following packages are their
22
# python3-* equivalent distributed in Ubuntu 22.04 and Debian 11
33
Babel==2.9.1 ; python_version < '3.11' # min version = 2.6.0 (Focal with security backports)
4-
Babel==2.10.3 ; python_version >= '3.11'
4+
Babel==2.10.3 ; python_version >= '3.11' and python_version < '3.13'
5+
Babel==2.17.0 ; python_version >= '3.13'
56
chardet==4.0.0 ; python_version < '3.11' # (Jammy)
67
chardet==5.2.0 ; python_version >= '3.11'
78
cryptography==3.4.8; python_version < '3.12' # incompatibility between pyopenssl 19.0.0 and cryptography>=37.0.0
@@ -12,14 +13,17 @@ docutils==0.17 ; python_version < '3.11' # (Jammy)
1213
docutils==0.20.1 ; python_version >= '3.11'
1314
ebaysdk==2.1.5
1415
freezegun==1.1.0 ; python_version < '3.11' # (Jammy)
15-
freezegun==1.2.1 ; python_version >= '3.11'
16+
freezegun==1.2.1 ; python_version >= '3.11' and python_version < '3.13'
17+
freezegun==1.5.1 ; python_version >= '3.13'
1618
geoip2==2.9.0
1719
gevent==21.8.0 ; sys_platform != 'win32' and python_version == '3.10' # (Jammy)
1820
gevent==22.10.2; sys_platform != 'win32' and python_version > '3.10' and python_version < '3.12'
19-
gevent==24.2.1 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
21+
gevent==24.2.1 ; sys_platform != 'win32' and python_version >= '3.12' and python_version < '3.13' # (Noble)
22+
gevent==24.11.1 ; sys_platform != 'win32' and python_version >= '3.13' # (Trixie)
2023
greenlet==1.1.2 ; sys_platform != 'win32' and python_version == '3.10' # (Jammy)
2124
greenlet==2.0.2 ; sys_platform != 'win32' and python_version > '3.10' and python_version < '3.12'
22-
greenlet==3.0.3 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
25+
greenlet==3.0.3 ; sys_platform != 'win32' and python_version >= '3.12' and python_version < '3.13' # (Noble)
26+
greenlet==3.1.1 ; sys_platform != 'win32' and python_version >= '3.13' # (Trixie)
2327
idna==2.10 ; python_version < '3.12' # requests 2.25.1 depends on idna<3 and >=2.5
2428
idna==3.6 ; python_version >= '3.12'
2529
Jinja2==3.0.3 ; python_version <= '3.10'
@@ -39,14 +43,16 @@ ofxparse==0.21
3943
passlib==1.7.4 # min version = 1.7.2 (Focal with security backports)
4044
Pillow==9.0.1 ; python_version <= '3.10'
4145
Pillow==9.4.0 ; python_version > '3.10' and python_version < '3.12'
42-
Pillow==10.2.0 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
46+
Pillow==10.2.0 ; python_version >= '3.12' and python_version < '3.13' # (Noble) Mostly to have a wheel package
47+
Pillow==11.1.0 ; python_version >= '3.13' # (Noble) Mostly to have a wheel package
4348
polib==1.1.1
4449
psutil==5.9.0 ; python_version <= '3.10'
4550
psutil==5.9.4 ; python_version > '3.10' and python_version < '3.12'
4651
psutil==5.9.8 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
4752
psycopg2==2.9.2 ; python_version == '3.10' # (Jammy)
4853
psycopg2==2.9.5 ; python_version == '3.11'
49-
psycopg2==2.9.9 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
54+
psycopg2==2.9.9 ; python_version >= '3.12' and python_version < '3.13' # (Noble)
55+
psycopg2==2.9.10 ; python_version >= '3.13' # (Trixie)
5056
pydot==1.4.2
5157
pyopenssl==21.0.0 ; python_version < '3.12'
5258
pyopenssl==24.1.0 ; python_version >= '3.12' # (Noble) min 23.2.0, pinned for compatibility with cryptography==42.0.8 and security patches
@@ -84,4 +90,5 @@ XlsxWriter==3.0.2 ; python_version < '3.12' # (jammy)
8490
XlsxWriter==3.1.9 ; python_version >= '3.12'
8591
xlwt==1.3.0
8692
zeep==4.1.0 ; python_version < '3.11' # (jammy)
87-
zeep==4.2.1 ; python_version >= '3.11'
93+
zeep==4.2.1 ; python_version >= '3.11' and python_version < '3.13'
94+
zeep==4.3.1 ; python_version >= '3.13'

0 commit comments

Comments
 (0)