diff options
author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-10-17 09:44:20 +0200 |
---|---|---|
committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2022-10-18 14:26:04 +0200 |
commit | 4753423b53614cecb71f86f56b2aaa4e442cade5 (patch) | |
tree | 8650ca15e575f91c75c1259fb5010278a220ed6b | |
parent | 18aacee2c848e498e4a52bca73f63197546b7d75 (diff) |
remove mentions to Python 3.6
PySide 6.4.0 is the first release that only supports Python 3.7+
Task-number: PYSIDE-2085
Change-Id: I92016cc438a9272eba3f0d379bb0c4b87bee52f5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 01a6093024e0d2e9863fda182907a491684bc4c8)
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 2f848e29e850692caf9d0573a5c56b84d7cece75)
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build_scripts/config.py | 3 | ||||
-rw-r--r-- | build_scripts/main.py | 4 | ||||
-rw-r--r-- | examples/utils/pyside_config.py | 2 | ||||
-rw-r--r-- | sources/shiboken6/doc/gettingstarted.rst | 2 | ||||
-rw-r--r-- | wheel_artifacts/setup.cfg.base | 3 |
6 files changed, 7 insertions, 9 deletions
@@ -137,7 +137,7 @@ using `setup.py build`: ## Requirements - * Python 3.6+ is supported, + * Python 3.7+ is supported, * CMake: Specify the path to cmake with `--cmake` option or add cmake to the system path. * Qt 6.0+ is supported. Specify the path to qmake with `--qmake` option or diff --git a/build_scripts/config.py b/build_scripts/config.py index 654a97f9d..8e01746bd 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -60,7 +60,6 @@ class Config(object): self.python_version_classifiers = [ 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -115,7 +114,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.6, <3.11" + setup_kwargs['python_requires'] = ">=3.7, <3.11" if quiet: # Tells distutils / setuptools to be quiet, and only print warnings or errors. diff --git a/build_scripts/main.py b/build_scripts/main.py index 94635918c..aeeaf5c67 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -689,7 +689,7 @@ class PysideBuild(_build, DistUtilsCommandMixin, BuildInfoCollectorMixin): pass else: raise DistutilsSetupError("option limited-api must be 'yes' or 'no' " - "(default yes if applicable, i.e. python version >= 3.6)") + "(default yes if applicable, i.e. python version >= 3.7)") if OPTION["VERBOSE_BUILD"]: cmake_cmd.append("-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON") @@ -733,7 +733,7 @@ class PysideBuild(_build, DistUtilsCommandMixin, BuildInfoCollectorMixin): if extension.lower() in [SHIBOKEN]: cmake_cmd.append("-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes") - cmake_cmd.append("-DUSE_PYTHON_VERSION=3.6") + cmake_cmd.append("-DUSE_PYTHON_VERSION=3.7") cmake_cmd += platform_cmake_options() diff --git a/examples/utils/pyside_config.py b/examples/utils/pyside_config.py index 5ff510eeb..feb56ed1c 100644 --- a/examples/utils/pyside_config.py +++ b/examples/utils/pyside_config.py @@ -194,7 +194,7 @@ def find_package_path(dir_name): return None -# Return version as "3.6" +# Return version as "3.7" def python_version(): return str(sys.version_info[0]) + '.' + str(sys.version_info[1]) diff --git a/sources/shiboken6/doc/gettingstarted.rst b/sources/shiboken6/doc/gettingstarted.rst index b9a119615..e59886587 100644 --- a/sources/shiboken6/doc/gettingstarted.rst +++ b/sources/shiboken6/doc/gettingstarted.rst @@ -11,7 +11,7 @@ need to continue if you already have a built PySide. General Requirements ^^^^^^^^^^^^^^^^^^^^ - * **Python**: 3.6+ + * **Python**: 3.7+ * **Qt:** 6.0+ * **libclang:** The libclang library, recommended: version 10 for 6.0+. Prebuilt versions of it can be `downloaded here`_. diff --git a/wheel_artifacts/setup.cfg.base b/wheel_artifacts/setup.cfg.base index 9c8b60940..078e7790f 100644 --- a/wheel_artifacts/setup.cfg.base +++ b/wheel_artifacts/setup.cfg.base @@ -30,7 +30,6 @@ classifiers = Programming Language :: C++ Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -44,7 +43,7 @@ classifiers = [options] packages = find: -python_requires = >=3.6, <3.11 +python_requires = >=3.7, <3.11 include_package_data = True [bdist_wheel] |