aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/PySide6/__init__.py.in2
-rw-r--r--sources/pyside6/doc/building_from_source/linux.rst2
-rw-r--r--sources/pyside6/doc/deployment/deployment-cxfreeze.rst6
-rw-r--r--sources/pyside6/doc/developer/signature_doc.rst2
-rw-r--r--sources/pyside6/plugins/designer/CMakeLists.txt2
-rw-r--r--sources/pyside6/qtexampleicons/CMakeLists.txt2
-rw-r--r--sources/pyside6/tests/pysidetest/enum_test.py9
-rw-r--r--sources/pyside6/tests/registry/scrape_testresults.py5
8 files changed, 8 insertions, 22 deletions
diff --git a/sources/pyside6/PySide6/__init__.py.in b/sources/pyside6/PySide6/__init__.py.in
index ca3b7fc6a..45c19f2e9 100644
--- a/sources/pyside6/PySide6/__init__.py.in
+++ b/sources/pyside6/PySide6/__init__.py.in
@@ -55,7 +55,7 @@ def _setupQtDirectories():
pyside_package_dir = Path(__file__).parent.resolve()
- if sys.platform == 'win32' and sys.version_info[0] == 3 and sys.version_info[1] >= 8:
+ if sys.platform == 'win32':
for dir in _additional_dll_directories(pyside_package_dir):
os.add_dll_directory(os.fspath(dir))
diff --git a/sources/pyside6/doc/building_from_source/linux.rst b/sources/pyside6/doc/building_from_source/linux.rst
index 9f8e1af53..183b80c9f 100644
--- a/sources/pyside6/doc/building_from_source/linux.rst
+++ b/sources/pyside6/doc/building_from_source/linux.rst
@@ -93,7 +93,7 @@ Assumming that Qt is in PATH, for example, the configure step can be done with::
-DPython_EXECUTABLE=/path/to/interpreter
.. note:: You can add `-DFORCE_LIMITED_API=yes` in case you want to have a
- build which will be compatible with Python 3.7+.
+ build which will be compatible with Python 3.8+.
and then for building::
diff --git a/sources/pyside6/doc/deployment/deployment-cxfreeze.rst b/sources/pyside6/doc/deployment/deployment-cxfreeze.rst
index 46cbb142e..c02f129e4 100644
--- a/sources/pyside6/doc/deployment/deployment-cxfreeze.rst
+++ b/sources/pyside6/doc/deployment/deployment-cxfreeze.rst
@@ -118,14 +118,14 @@ Now, build the project using it::
This step creates a ``build/`` directory with the following structure::
build
- └── exe.linux-x86_64-3.7
+ └── exe.linux-x86_64-3.12
└── lib
└── main
The first directory inside ``build/`` depends on the platform
-you are using, in this case a ``x86_64`` Linux using Python 3.7.
+you are using, in this case a ``x86_64`` Linux using Python 3.12.
The structure is the same as previously described, and you can simply
enter the directory and execute the file::
- cd build/exe.linux-x86_64-3.7
+ cd build/exe.linux-x86_64-3.12
./main
diff --git a/sources/pyside6/doc/developer/signature_doc.rst b/sources/pyside6/doc/developer/signature_doc.rst
index fa1127240..dceff15fc 100644
--- a/sources/pyside6/doc/developer/signature_doc.rst
+++ b/sources/pyside6/doc/developer/signature_doc.rst
@@ -3,7 +3,7 @@
The signature C extension
=========================
-This module is a C extension for CPython 3.5 and up, and CPython 2.7.
+This module is a C extension for CPython 3.X.
Its purpose is to provide support for the ``__signature__`` attribute
of builtin PyCFunction objects.
diff --git a/sources/pyside6/plugins/designer/CMakeLists.txt b/sources/pyside6/plugins/designer/CMakeLists.txt
index 717652314..4e2e4ad04 100644
--- a/sources/pyside6/plugins/designer/CMakeLists.txt
+++ b/sources/pyside6/plugins/designer/CMakeLists.txt
@@ -23,7 +23,7 @@ target_sources(PySidePlugin PRIVATE
target_compile_definitions(PySidePlugin PRIVATE -DQT_NO_KEYWORDS=1)
if(PYTHON_LIMITED_API)
- target_compile_definitions(PySidePlugin PRIVATE "-DPy_LIMITED_API=0x03050000")
+ target_compile_definitions(PySidePlugin PRIVATE "-DPy_LIMITED_API=0x03080000")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
diff --git a/sources/pyside6/qtexampleicons/CMakeLists.txt b/sources/pyside6/qtexampleicons/CMakeLists.txt
index 1562f7b27..250b2c292 100644
--- a/sources/pyside6/qtexampleicons/CMakeLists.txt
+++ b/sources/pyside6/qtexampleicons/CMakeLists.txt
@@ -18,7 +18,7 @@ add_library(QtExampleIcons MODULE module.c)
# See libshiboken/CMakeLists.txt
if(PYTHON_LIMITED_API)
- target_compile_definitions(QtExampleIcons PRIVATE "-DPy_LIMITED_API=0x03050000")
+ target_compile_definitions(QtExampleIcons PRIVATE "-DPy_LIMITED_API=0x03080000")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
diff --git a/sources/pyside6/tests/pysidetest/enum_test.py b/sources/pyside6/tests/pysidetest/enum_test.py
index 9816db224..b36e77152 100644
--- a/sources/pyside6/tests/pysidetest/enum_test.py
+++ b/sources/pyside6/tests/pysidetest/enum_test.py
@@ -92,15 +92,6 @@ class InvestigateOpcodesTest(unittest.TestCase):
('LOAD_CONST', 100, 0),
('RETURN_VALUE', 83, None)]
- if sys.version_info[:2] <= (3, 6):
-
- result_2 = [('LOAD_GLOBAL', 116, 0),
- ('LOAD_ATTR', 106, 1),
- ('CALL_FUNCTION', 131, 0),
- ('STORE_FAST', 125, 1),
- ('LOAD_CONST', 100, 0),
- ('RETURN_VALUE', 83, None)]
-
if sys.version_info[:2] == (3, 11):
# Note: Python 3.11 is a bit more complex because it can optimize itself.
# Opcodes are a bit different, and a hidden second code object is used.
diff --git a/sources/pyside6/tests/registry/scrape_testresults.py b/sources/pyside6/tests/registry/scrape_testresults.py
index 44677444b..055df973f 100644
--- a/sources/pyside6/tests/registry/scrape_testresults.py
+++ b/sources/pyside6/tests/registry/scrape_testresults.py
@@ -28,11 +28,6 @@ After the cache has been created, the runtime is substantially smaller.
"""
-import sys
-if sys.version_info[:2] < (3, 6):
- print("This program is written for Python 3.6 or higher.")
- sys.exit(1)
-
DEMO_URL = ("https://testresults.qt.io/coin/api/results/pyside/pyside-setup/"
# The above URL part is fixed.
"30c1193ec56a86b8d0920c325185b9870f96941e/"