Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
6.4.0
-
None
Description
CMake builds don't reject python 3.6:
[ 98s] -- Found PythonInterp: python3 (found suitable version "3.6.15", minimum required is "3") [ 98s] -- Found PythonLibs: /usr/lib64/libpython3.6m.so (found suitable version "3.6.15", minimum required is "3") [ 98s] -- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.6m' [ 98s] -- Linking shiboken to /usr/lib64/libpython3.6m.so [ 98s] -- SHIBOKEN_PYTHON_LIBRARIES computed to value: '/usr/lib64/libpython3.6m.so'
but pysidetest_pyenum_relax_options_test fails with this version (passes with python 3.10):
[ 2026s] 24/478 Test #30: pysidetest_pyenum_relax_options_test ............***Failed 0.22 sec [ 2026s] EEEEEE [ 2026s] ====================================================================== [ 2026s] ERROR: test_Missing (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 125, in test_Missing [ 2026s] self.assertTrue(testprog128(1)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 94, in testprog128 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ====================================================================== [ 2026s] ERROR: test_enumIsIntEnum (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 104, in test_enumIsIntEnum [ 2026s] self.assertTrue(testprog2(2)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 58, in testprog2 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ====================================================================== [ 2026s] ERROR: test_fakeRenames (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 117, in test_fakeRenames [ 2026s] self.assertTrue(testprog32(1)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 80, in testprog32 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ====================================================================== [ 2026s] ERROR: test_globalDefault (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 108, in test_globalDefault [ 2026s] self.assertTrue(testprog4(4)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 65, in testprog4 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ====================================================================== [ 2026s] ERROR: test_localDefault (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 113, in test_localDefault [ 2026s] self.assertTrue(testprog8_16(8+16)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 73, in testprog8_16 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ====================================================================== [ 2026s] ERROR: test_zeroDefault (__main__.TestPyEnumRelaxOption) [ 2026s] ---------------------------------------------------------------------- [ 2026s] Traceback (most recent call last): [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 121, in test_zeroDefault [ 2026s] self.assertTrue(testprog64(1)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 87, in testprog64 [ 2026s] """)) [ 2026s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.4.0/sources/pyside6/tests/pysidetest/pyenum_relax_options_test.py", line 44, in runtest [ 2026s] subprocess.run([sys.executable, fp.name], check=True, capture_output=True) [ 2026s] File "/usr/lib64/python3.6/subprocess.py", line 423, in run [ 2026s] with Popen(*popenargs, **kwargs) as process: [ 2026s] TypeError: __init__() got an unexpected keyword argument 'capture_output' [ 2026s] [ 2026s] ---------------------------------------------------------------------- [ 2026s] Ran 6 tests in 0.008s [ 2026s] [ 2026s] FAILED (errors=6)