Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2023-10-10 15:52:09 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-11 08:47:04 +0000
commit6c7bb7b6e1008909e49bc04d2a48024309a784cc (patch)
treeeb06984e9bfaa911afdc09c8e2b7d2454a359c09
parent6337e4a306babdb4015c248a14ad734b320ed2c1 (diff)
Final details to enable 3.12 wheel compatibility
Change-Id: I0252c4e73e8c214ef8aa418ddf88bc452c0fdf53 Pick-to: 6.6 Task-number: PYSIDE-2230 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--README.md4
-rw-r--r--build_scripts/config.py3
-rw-r--r--build_scripts/main.py4
-rw-r--r--wheel_artifacts/setup.cfg.base6
4 files changed, 8 insertions, 9 deletions
diff --git a/README.md b/README.md
index 8b7de90c5..1e1be470f 100644
--- a/README.md
+++ b/README.md
@@ -116,10 +116,10 @@ using `setup.py build`:
## Requirements
- * Python 3.7+ is supported,
+ * Python 3.8+ is supported (for Qt 6.6+)
* CMake: Specify the path to cmake with `--cmake` option or add cmake to the
system path.
- * Qt 6.2+ is supported. Specify the path to qtpaths with `--qtpaths` option or
+ * Qt 6.x is supported. Specify the path to qtpaths with `--qtpaths` option or
add `qtpaths6` to the system path.
### Optional
diff --git a/build_scripts/config.py b/build_scripts/config.py
index 273112d9c..5a711f445 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -61,7 +61,6 @@ class Config(object):
self.python_version_classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
@@ -117,7 +116,7 @@ class Config(object):
setup_kwargs['zip_safe'] = False
setup_kwargs['cmdclass'] = cmd_class_dict
setup_kwargs['version'] = package_version
- setup_kwargs['python_requires'] = ">=3.7, <3.12"
+ setup_kwargs['python_requires'] = ">=3.8, <3.13"
if log_level == LogLevel.QUIET:
# Tells setuptools to be quiet, and only print warnings or errors.
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 470acf9f4..314b6d305 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -693,7 +693,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
else:
raise SetupError("option limited-api must be 'yes' or 'no' "
"(default yes if applicable, i.e. Python "
- "version >= 3.7 and release build if on Windows)")
+ "version >= 3.8 and release build if on Windows)")
if OPTION["LOG_LEVEL"] == LogLevel.VERBOSE:
cmake_cmd.append("-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON")
@@ -742,7 +742,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
cmake_cmd.append(f"-DPACKAGE_SETUP_PY_PACKAGE_TIMESTAMP={timestamp}")
if extension.lower() in [SHIBOKEN]:
- cmake_cmd.append("-DUSE_PYTHON_VERSION=3.7")
+ cmake_cmd.append("-DUSE_PYTHON_VERSION=3.8")
cmake_cmd += platform_cmake_options()
diff --git a/wheel_artifacts/setup.cfg.base b/wheel_artifacts/setup.cfg.base
index fe6c26090..d93c23afc 100644
--- a/wheel_artifacts/setup.cfg.base
+++ b/wheel_artifacts/setup.cfg.base
@@ -33,11 +33,11 @@ classifiers =
Programming Language :: C++
Programming Language :: Python
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
+ Programming Language :: Python :: 3.12
Topic :: Database
Topic :: Software Development
Topic :: Software Development :: Code Generators
@@ -47,9 +47,9 @@ classifiers =
[options]
packages = find:
-python_requires = >=3.7, <3.12
+python_requires = >=3.8, <3.13
include_package_data = True
[bdist_wheel]
-py_limited_api = cp37
+py_limited_api = cp38
plat_name = {tag}