aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-10-17 09:44:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-10-17 08:25:18 +0000
commit01a6093024e0d2e9863fda182907a491684bc4c8 (patch)
treeb5f6fc874a156ee7749ee775f9dbe4be46c27cc2
parent9046e7066812706850c1e9f3a0735206262e4252 (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 Pick-to: 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--README.md2
-rw-r--r--build_scripts/config.py3
-rw-r--r--build_scripts/main.py4
-rw-r--r--examples/utils/pyside_config.py2
-rw-r--r--sources/shiboken6/doc/gettingstarted.rst2
-rw-r--r--wheel_artifacts/setup.cfg.base3
6 files changed, 7 insertions, 9 deletions
diff --git a/README.md b/README.md
index 42009232d..10a418775 100644
--- a/README.md
+++ b/README.md
@@ -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 854d5eb8c..54b9165a9 100644
--- a/build_scripts/config.py
+++ b/build_scripts/config.py
@@ -59,7 +59,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',
@@ -114,7 +113,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 0698963ff..f2bc13241 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -685,7 +685,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
pass
else:
raise SetupError("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")
@@ -729,7 +729,7 @@ class PysideBuild(_build, CommandMixin, 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]