Skip to content

Commit 5697062

Browse files
hasharvolans-
authored andcommitted
setup.py: pin types-setuptools for pkg_resources
Version 75.8.2.20250305 (2025-03-05) removed setuptools/pkg_resources: python/typeshed#13369 Since we still require to support Python 3.7 from Debian Buster, we need to keep using pkg_resources. Cap types-setuptools version to the versions before pkg_resources types got removed. Change-Id: Ic9c26144337687bd5db2010eab32d4554afb9d02
1 parent cd7547f commit 5697062

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
'sphinx_rtd_theme>=1.0',
3030
'sphinx-argparse>=0.1.15',
3131
'Sphinx>=1.4.9',
32-
'types-setuptools',
32+
# We still rely on pkg_resources to support Python 3.7/Buster but it
33+
# was removed from types-setuptools
34+
'types-setuptools<75.8.2.20250305',
3335
'types-PyYAML',
3436
'types-requests',
3537
],

0 commit comments

Comments
 (0)