diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-09 15:14:29 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-06-19 21:41:24 +0200 |
commit | 300f21781b460fcc602e9b42eed4f76e63458558 (patch) | |
tree | ff596b657af59f2ec4b014625600d9aa8c78664d /requirements.txt | |
parent | 2e3a7f720017d2d6fb303217bf00642e8284666a (diff) |
Build system: Use new setuptools for Python 3.10
The current setuptools version specified
(>=59.5,<60) no longer works on Ubuntu 22.04 LTS / Python 3.10.4:
/usr/lib/python3.10/_distutils_system_mod.py", line 33, in initialize_options
super().initialize_options()
TypeError super(type, obj) obj must be an instance or subtype of type
Use 62.3.3 for this.
Pick-to: 6.3 6.2
Change-Id: I3dc601b8d74f03b23c00262a1eb6ec97fb626bcb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt index a4757b959..600c8fdf9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ # > 60 introduces ImportError: cannot import name 'build_py' from 'setuptools._distutils.command' # FIXME: Check if fixed in later versions? -setuptools>=59.5,<60 +setuptools>=59.5,<60; python_version < '3.10' +setuptools>=62.3; python_version >= '3.10' build==0.7 sphinx sphinx-panels |