From patrickkidd at gmail.com Wed Dec 4 17:00:53 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Wed, 4 Dec 2024 08:00:53 -0900 Subject: Latest Qt/PyQt5/Sip version numbers? Message-ID: Hi there, Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, etc that we can use with PyQt5 with an open source project? I am deploying to macOS and windows, trying to upgrade my GitHub build system since they just sunsetted the macOS-12 runner. I am just tasking here to avoid discovering it through trial and error which can eat up a lot of time. Cheers, -Patrick From patrickkidd at gmail.com Wed Dec 4 17:01:28 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Wed, 4 Dec 2024 08:01:28 -0900 Subject: Latest Qt/PyQt5/Sip version numbers? In-Reply-To: References: Message-ID: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> Oh, and latest python version that fits into that support matrix. > On Dec 4, 2024, at 8:00?AM, Patrick Stinson wrote: > > Hi there, > > Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, etc that we can use with PyQt5 with an open source project? I am deploying to macOS and windows, trying to upgrade my GitHub build system since they just sunsetted the macOS-12 runner. > > I am just tasking here to avoid discovering it through trial and error which can eat up a lot of time. > > Cheers, > -Patrick From phil at riverbankcomputing.com Wed Dec 4 17:44:28 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Wed, 04 Dec 2024 17:44:28 +0000 Subject: Latest Qt/PyQt5/Sip version numbers? In-Reply-To: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> References: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> Message-ID: On 04/12/2024 17:01, Patrick Stinson wrote: > Oh, and latest python version that fits into that support matrix. > >> On Dec 4, 2024, at 8:00?AM, Patrick Stinson >> wrote: >> >> Hi there, >> >> Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, >> etc that we can use with PyQt5 with an open source project? I am >> deploying to macOS and windows, trying to upgrade my GitHub build >> system since they just sunsetted the macOS-12 runner. >> >> I am just tasking here to avoid discovering it through trial and error >> which can eat up a lot of time. >> >> Cheers, >> -Patrick Probably easiest to look at the relevant PyPI pages. Phil From patrickkidd at gmail.com Thu Dec 5 00:37:16 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Wed, 4 Dec 2024 15:37:16 -0900 Subject: Latest Qt/PyQt5/Sip version numbers? In-Reply-To: References: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> Message-ID: What I mean is the compatibility matrix for the latest versions. like what versions of Qt, python, and sip I can use with the latest pyqt5. > On Dec 4, 2024, at 8:44?AM, Phil Thompson wrote: > > On 04/12/2024 17:01, Patrick Stinson wrote: >> Oh, and latest python version that fits into that support matrix. >>> On Dec 4, 2024, at 8:00?AM, Patrick Stinson wrote: >>> Hi there, >>> Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, etc that we can use with PyQt5 with an open source project? I am deploying to macOS and windows, trying to upgrade my GitHub build system since they just sunsetted the macOS-12 runner. >>> I am just tasking here to avoid discovering it through trial and error which can eat up a lot of time. >>> Cheers, >>> -Patrick > > Probably easiest to look at the relevant PyPI pages. > > Phil From phil at riverbankcomputing.com Thu Dec 5 09:58:58 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Thu, 05 Dec 2024 09:58:58 +0000 Subject: Latest Qt/PyQt5/Sip version numbers? In-Reply-To: References: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> Message-ID: <9fd42f4ba8b4e7a696df71e2626664de@riverbankcomputing.com> Qt is covered here... https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#understanding-the-correct-version-to-install Any currently supported (by python.org) version of Python can be used. Look in the pyproject.toml file in the PyQt5 sdist on PyPI for the SIP and PyQt-builder requirements. On 05/12/2024 00:37, Patrick Stinson wrote: > What I mean is the compatibility matrix for the latest versions. like > what versions of Qt, python, and sip I can use with the latest pyqt5. > >> On Dec 4, 2024, at 8:44?AM, Phil Thompson >> wrote: >> >> On 04/12/2024 17:01, Patrick Stinson wrote: >>> Oh, and latest python version that fits into that support matrix. >>>> On Dec 4, 2024, at 8:00?AM, Patrick Stinson >>>> wrote: >>>> Hi there, >>>> Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, >>>> etc that we can use with PyQt5 with an open source project? I am >>>> deploying to macOS and windows, trying to upgrade my GitHub build >>>> system since they just sunsetted the macOS-12 runner. >>>> I am just tasking here to avoid discovering it through trial and >>>> error which can eat up a lot of time. >>>> Cheers, >>>> -Patrick >> >> Probably easiest to look at the relevant PyPI pages. >> >> Phil From patrickkidd at gmail.com Thu Dec 5 15:49:27 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Thu, 5 Dec 2024 06:49:27 -0900 Subject: Latest Qt/PyQt5/Sip version numbers? In-Reply-To: <9fd42f4ba8b4e7a696df71e2626664de@riverbankcomputing.com> References: <506982AA-3EF9-4642-9A42-8C784D7DDE8E@gmail.com> <9fd42f4ba8b4e7a696df71e2626664de@riverbankcomputing.com> Message-ID: Perfect, thanks! And I suppose sifting through the changelog is where to find the Python versions supported by a given version / snapshot of pyqtdeploy? > On Dec 5, 2024, at 12:58?AM, Phil Thompson wrote: > > Qt is covered here... > > https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#understanding-the-correct-version-to-install > > Any currently supported (by python.org) version of Python can be used. > > Look in the pyproject.toml file in the PyQt5 sdist on PyPI for the SIP and PyQt-builder requirements. > > On 05/12/2024 00:37, Patrick Stinson wrote: >> What I mean is the compatibility matrix for the latest versions. like >> what versions of Qt, python, and sip I can use with the latest pyqt5. >>> On Dec 4, 2024, at 8:44?AM, Phil Thompson wrote: >>> On 04/12/2024 17:01, Patrick Stinson wrote: >>>> Oh, and latest python version that fits into that support matrix. >>>>> On Dec 4, 2024, at 8:00?AM, Patrick Stinson wrote: >>>>> Hi there, >>>>> Remind me how to find the latest/last version of Qt, sip, PyQt5-qt, etc that we can use with PyQt5 with an open source project? I am deploying to macOS and windows, trying to upgrade my GitHub build system since they just sunsetted the macOS-12 runner. >>>>> I am just tasking here to avoid discovering it through trial and error which can eat up a lot of time. >>>>> Cheers, >>>>> -Patrick >>> Probably easiest to look at the relevant PyPI pages. >>> Phil From patrickkidd at gmail.com Thu Dec 5 16:06:27 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Thu, 5 Dec 2024 07:06:27 -0900 Subject: HTTP 403 on PyQt5, PyQt6 Changelog links from RBC website Message-ID: <0139C5A7-BAE6-424B-94D1-81F06E33711E@gmail.com> FYI: https://www.riverbankcomputing.com/software/pyqt/download -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at riverbankcomputing.com Thu Dec 5 18:05:01 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Thu, 05 Dec 2024 18:05:01 +0000 Subject: ANN: SIP v6.9.0 and PyQt-builder v1.17.0 Released Message-ID: SIP v6.9.0 and PyQt-builder v1.17.0 have been released. The release notes are here... https://python-sip.readthedocs.io/en/stable/releases.html#v6-9-0 https://pyqt-builder.readthedocs.io/en/stable/releases.html#v1-17-0 Phil From phil at riverbankcomputing.com Fri Dec 6 22:15:04 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Fri, 06 Dec 2024 22:15:04 +0000 Subject: PyQt6 v6.8.0 Wheels Available Message-ID: <8509d848772e01394c4409e2d18d9d99@riverbankcomputing.com> The v6.8.0 PyQt6, PyQt6-3D, PyQt6-Charts, PyQt6-DataVisualization, PyQt6-Graphs, PyQt6-NetworkAuth and PyQt6-WebEngine are now available on the local PyPI server. I'll move these to pypi.org next week if there are no problems. The Qt v6.8.1 wheels have already been uploaded to pypi.org. Highlights are... Support for Qt v6.8. The new PyQt6-Graphs package. Support for Linux on ARM and Windows on ARM. Python enums are (at last) handled properly by Qt Designer (needs Qt v6.8.1). Phil From patrickkidd at gmail.com Sun Dec 8 17:44:15 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Sun, 8 Dec 2024 08:44:15 -0900 Subject: pyqtdeploy: PyQt5-5.15.11.tar.gz link on pypi broken Message-ID: <26D3B7C5-E2A4-4E55-AA19-7CD467D60CD9@gmail.com> I imagine this is low priority, but pyqtdeploy fails to download PyQt5-5.15.11.tar.gz from the default URL https://pypi.org/project/PyQt5/5.15.11/PyQt5-5.15.11.tar.gz I think because they changed the permalinks links. I got my CI/CD pipeline working again with this line: wget https://files.pythonhosted.org/packages/0e/07/c9ed0bd428df6f87183fca565a79fee19fa7c88c7f00a7f011ab4379e77a/PyQt5-5.15.11.tar.gz -O sysroot/PyQt5-5.15.11.tar.gz I have no idea if that?s a permalink or not. For what it's worth, -Patrick From detlev at die-offenbachs.de Mon Dec 9 14:54:41 2024 From: detlev at die-offenbachs.de (Detlev Offenbach) Date: Mon, 9 Dec 2024 15:54:41 +0100 Subject: PyQt6 v6.8.0 Wheels Available In-Reply-To: <8509d848772e01394c4409e2d18d9d99@riverbankcomputing.com> References: <8509d848772e01394c4409e2d18d9d99@riverbankcomputing.com> Message-ID: Hi, so far I haven't noticed anything problematic with respect to PyQt6. However, I made some observations that are probably related to Qt6 and Wayland (KWin compositor of Plasma 6). * Windows and dialogs cannot be moved programmatically. * Sometimes the main eric-ide window (QMainWindow) is not shown for the first instance. Starting a second instance shows the window. The frist (invisible one) can be closed via the panel. Thereafter all windows are shown. I would be glad if somebody can confirm that this is indeed related to Qt6 and Wayland and not something stupid done by me. On X11 everything works as expected. None of these issues have been observed. Regards Detlev Am 06.12.24 um 23:15 schrieb Phil Thompson: > The v6.8.0 PyQt6, PyQt6-3D, PyQt6-Charts, PyQt6-DataVisualization, > PyQt6-Graphs, PyQt6-NetworkAuth and PyQt6-WebEngine are now available > on the local PyPI server. I'll move these to pypi.org next week if > there are no problems. > > The Qt v6.8.1 wheels have already been uploaded to pypi.org. > > Highlights are... > > Support for Qt v6.8. > The new PyQt6-Graphs package. > Support for Linux on ARM and Windows on ARM. > Python enums are (at last) handled properly by Qt Designer (needs Qt > v6.8.1). > > Phil -- Detlev Offenbach detlev at die-offenbachs.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Mon Dec 9 23:43:22 2024 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 10 Dec 2024 00:43:22 +0100 Subject: PyQt6 v6.8.0 Wheels Available In-Reply-To: <8509d848772e01394c4409e2d18d9d99@riverbankcomputing.com> References: <8509d848772e01394c4409e2d18d9d99@riverbankcomputing.com> Message-ID: <173378779733.195996.11890557864645849403@fawkes> On 2024-12-06T22:15:04 , Phil Thompson wrote: > The v6.8.0 PyQt6, PyQt6-3D, PyQt6-Charts, PyQt6-DataVisualization, > PyQt6-Graphs, PyQt6-NetworkAuth and PyQt6-WebEngine are now available on > the local PyPI server. I'll move these to pypi.org next week if there > are no problems. The qutebrowser testsuite seems to run fine both on the CI and locally, for what it's worth - and Archlinux also have been shipping a dev snapshot for a while: https://gitlab.archlinux.org/archlinux/packaging/packages/pyqt6/-/commits/main Florian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From patrickkidd at gmail.com Tue Dec 10 06:52:30 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Mon, 9 Dec 2024 21:52:30 -0900 Subject: pyqtdeploy: Compile error Python-3.11.6 macOS Message-ID: I am seeing this error using pyqtdeploy-3.3.1.dev2401021235 and a sysroot with Python-3.11.6 (the last supported version in the pyqtdeploy snapshot CHANGELOG), any ideas? It looks like it is failing to include some private python headers. I was building python-3.10.6 ok, though this looks major-version specific: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmessage-length\=178 -w -ferror-limit 19 -serialize-diagnostic-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.dia -fcolor-diagnostics -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -o /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.o -disable-free -emit-obj -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdatomic-45RKN09G0ZPVFJ632BPQBFG2O.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/pthread-DRWWY68IHOZDW08IGE6ASGGMI.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdbool-2LWC0JU4Y3AC9PYXW9IADV646.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_locale-CSOJP3LZRAMW8I37ET66EGZH5.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_float-YS0RYVNLR9XUFXGP11I4OPDU.pcm -x c /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c -tune-cpu generic -target-cpu penryn -triple x86_64-apple-macosx10.13.0 -target-linker-version 1115.7.3 -target-sdk-version\=15.1 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 -fmodule-format\=obj -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-own-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-all-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/Release/include -I . -I ../../pkdiagram/_pkdiagram -I ../../pkdiagram/_pkdiagram/build -I ../../sysroot/sysroot-macos-64/include -I ../../sysroot/sysroot-macos-64/include/python3.11 -I ../../sysroot/sysroot-macos-64/include/python3.11/internal -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_blake2 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_sha3 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/expat -I /Users/patrick/dev/familydiagram/vedanaprivate/build -I ../../sysroot/sysroot-macos-64/Qt/include -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuickWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtPrintSupport -I ../../sysroot/sysroot-macos-64/Qt/include/QtWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuick -I ../../sysroot/sysroot-macos-64/Qt/include/QtGui -I ../../sysroot/sysroot-macos-64/Qt/include/QtQmlModels -I ../../sysroot/sysroot-macos-64/Qt/include/QtQml -I ../../sysroot/sysroot-macos-64/Qt/include/QtNetwork -I ../../sysroot/sysroot-macos-64/Qt/include/QtCore -I . -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I ../../sysroot/sysroot-macos-64/Qt/mkspecs/macx-clang -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources-normal/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources -F /Users/patrick/dev/familydiagram/build/osx/Release -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-generated-files.hmap -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-project-headers.hmap -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/local/include -isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -ivfsstatcache /Users/patrick/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx15.1-24B75-26c8390a7c93c703a57fb2538426748e.sdkstatcache -std\=c11 -fasm-blocks -fmodules -fno-implicit-modules -fmax-type-align\=16 -fpascal-strings -fvisibility\=hidden -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fmodule-related-to-pch -fgnuc-version\=4.2.1 -fblocks -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O2 -fdebug-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcoverage-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcommon -fregister-global-dtors-with-atexit -ffunction-sections -fdata-sections -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=all -funwind-tables\=2 -vectorize-loops -vectorize-slp -clear-ast-before-backend -discard-value-names -main-file-name mathmodule.c -finline-functions -debug-info-kind\=standalone -Os -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -include-pch /Users/patrick/dev/familydiagram/build/osx/.xcode/SharedPrecompiledHeaders/SharedPrecompiledHeaders/2268268309385945507/pkdiagram_pch.h.gch -D HAVE_EXPAT_CONFIG_H -D PYQTDEPLOY_OPTIMIZED -D Py_BUILD_CORE_MODULE -D QT_CORE_LIB -D QT_GUI_LIB -D QT_NETWORK_LIB -D QT_PRINTSUPPORT_LIB -D QT_QMLMODELS_LIB -D QT_QML_LIB -D QT_QUICKWIDGETS_LIB -D QT_QUICK_LIB -D QT_WIDGETS_LIB -D XML_DEV_URANDOM -D XML_STATIC -D __APPLE_USE_RFC_3542 -D __GCC_HAVE_DWARF2_CFI_ASM\=1 -MT dependencies -dependency-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.d -skip-unused-modulemap-deps /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:5: error: call to undeclared function '_Py_IDENTIFIER'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1218 | _Py_IDENTIFIER(__ceil__); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:20: error: use of undeclared identifier '__ceil__'; did you mean '__ceilf16'? 1218 | _Py_IDENTIFIER(__ceil__); | ^~~~~~~~ | __ceilf16 In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:617:17: note: '__ceilf16' declared here 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1221:63: error: use of undeclared identifier 'PyId___ceil__' 1221 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___ceil__); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:5: error: call to undeclared function '_Py_IDENTIFIER'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1286 | _Py_IDENTIFIER(__floor__); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:20: error: use of undeclared identifier '__floor__'; did you mean '__floorf16'? 1286 | _Py_IDENTIFIER(__floor__); | ^~~~~~~~~ | __floorf16 In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:618:17: note: '__floorf16' declared here 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1293:63: error: use of undeclared identifier 'PyId___floor__' 1293 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___floor__); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:5: error: call to undeclared function '_Py_IDENTIFIER'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2159 | _Py_IDENTIFIER(__trunc__); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:20: error: use of undeclared identifier '__trunc__'; did you mean '__truncf16'? 2159 | _Py_IDENTIFIER(__trunc__); | ^~~~~~~~~ | __truncf16 In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:621:17: note: '__truncf16' declared here 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); | ^ /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2171:43: error: use of undeclared identifier 'PyId___trunc__' 2171 | trunc = _PyObject_LookupSpecialId(x, &PyId___trunc__); | ^ 9 errors generated. From patrickkidd at gmail.com Tue Dec 10 07:22:24 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Mon, 9 Dec 2024 22:22:24 -0900 Subject: pyqtdeploy: Compile error Python-3.11.6 macOS In-Reply-To: References: Message-ID: <36B1132E-2FF4-41C5-978F-326106F4B1EA@gmail.com> FWIW, adding this seems to have fixed it: DEFINES += NEEDS_PY_IDENTIFIER I have no idea how tacky that is, however. > On Dec 9, 2024, at 9:52?PM, Patrick Stinson wrote: > > I am seeing this error using pyqtdeploy-3.3.1.dev2401021235 and a sysroot with Python-3.11.6 (the last supported version in the pyqtdeploy snapshot CHANGELOG), any ideas? It looks like it is failing to include some private python headers. I was building python-3.10.6 ok, though this looks major-version specific: > > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmessage-length\=178 -w -ferror-limit 19 -serialize-diagnostic-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.dia -fcolor-diagnostics -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -o /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.o -disable-free -emit-obj -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdatomic-45RKN09G0ZPVFJ632BPQBFG2O.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/pthread-DRWWY68IHOZDW08IGE6ASGGMI.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdbool-2LWC0JU4Y3AC9PYXW9IADV646.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_locale-CSOJP3LZRAMW8I37ET66EGZH5.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_float-YS0RYVNLR9XUFXGP11I4OPDU.pcm -x c /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c -tune-cpu generic -target-cpu penryn -triple x86_64-apple-macosx10.13.0 -target-linker-version 1115.7.3 -target-sdk-version\=15.1 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 -fmodule-format\=obj -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-own-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-all-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/Release/include -I . -I ../../pkdiagram/_pkdiagram -I ../../pkdiagram/_pkdiagram/build -I ../../sysroot/sysroot-macos-64/include -I ../../sysroot/sysroot-macos-64/include/python3.11 -I ../../sysroot/sysroot-macos-64/include/python3.11/internal -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_blake2 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_sha3 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/expat -I /Users/patrick/dev/familydiagram/vedanaprivate/build -I ../../sysroot/sysroot-macos-64/Qt/include -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuickWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtPrintSupport -I ../../sysroot/sysroot-macos-64/Qt/include/QtWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuick -I ../../sysroot/sysroot-macos-64/Qt/include/QtGui -I ../../sysroot/sysroot-macos-64/Qt/include/QtQmlModels -I ../../sysroot/sysroot-macos-64/Qt/include/QtQml -I ../../sysroot/sysroot-macos-64/Qt/include/QtNetwork -I ../../sysroot/sysroot-macos-64/Qt/include/QtCore -I . -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I ../../sysroot/sysroot-macos-64/Qt/mkspecs/macx-clang -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources-normal/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources -F /Users/patrick/dev/familydiagram/build/osx/Release -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-generated-files.hmap -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-project-headers.hmap -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/local/include -isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -ivfsstatcache /Users/patrick/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx15.1-24B75-26c8390a7c93c703a57fb2538426748e.sdkstatcache -std\=c11 -fasm-blocks -fmodules -fno-implicit-modules -fmax-type-align\=16 -fpascal-strings -fvisibility\=hidden -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fmodule-related-to-pch -fgnuc-version\=4.2.1 -fblocks -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O2 -fdebug-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcoverage-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcommon -fregister-global-dtors-with-atexit -ffunction-sections -fdata-sections -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=all -funwind-tables\=2 -vectorize-loops -vectorize-slp -clear-ast-before-backend -discard-value-names -main-file-name mathmodule.c -finline-functions -debug-info-kind\=standalone -Os -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -include-pch /Users/patrick/dev/familydiagram/build/osx/.xcode/SharedPrecompiledHeaders/SharedPrecompiledHeaders/2268268309385945507/pkdiagram_pch.h.gch -D HAVE_EXPAT_CONFIG_H -D PYQTDEPLOY_OPTIMIZED -D Py_BUILD_CORE_MODULE -D QT_CORE_LIB -D QT_GUI_LIB -D QT_NETWORK_LIB -D QT_PRINTSUPPORT_LIB -D QT_QMLMODELS_LIB -D QT_QML_LIB -D QT_QUICKWIDGETS_LIB -D QT_QUICK_LIB -D QT_WIDGETS_LIB -D XML_DEV_URANDOM -D XML_STATIC -D __APPLE_USE_RFC_3542 -D __GCC_HAVE_DWARF2_CFI_ASM\=1 -MT dependencies -dependency-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.d -skip-unused-modulemap-deps > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:5: error: call to undeclared function '_Py_IDENTIFIER'; > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 1218 | _Py_IDENTIFIER(__ceil__); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:20: error: use of undeclared identifier '__ceil__'; did > you mean '__ceilf16'? > 1218 | _Py_IDENTIFIER(__ceil__); > | ^~~~~~~~ > | __ceilf16 > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:617:17: note: '__ceilf16' declared here > 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1221:63: error: use of undeclared identifier 'PyId___ceil__' > 1221 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___ceil__); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:5: error: call to undeclared function '_Py_IDENTIFIER'; > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 1286 | _Py_IDENTIFIER(__floor__); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:20: error: use of undeclared identifier '__floor__'; > did you mean '__floorf16'? > 1286 | _Py_IDENTIFIER(__floor__); > | ^~~~~~~~~ > | __floorf16 > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:618:17: note: '__floorf16' declared here > 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1293:63: error: use of undeclared identifier > 'PyId___floor__' > 1293 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___floor__); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:5: error: call to undeclared function '_Py_IDENTIFIER'; > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 2159 | _Py_IDENTIFIER(__trunc__); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:20: error: use of undeclared identifier '__trunc__'; > did you mean '__truncf16'? > 2159 | _Py_IDENTIFIER(__trunc__); > | ^~~~~~~~~ > | __truncf16 > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:621:17: note: '__truncf16' declared here > 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); > | ^ > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2171:43: error: use of undeclared identifier > 'PyId___trunc__' > 2171 | trunc = _PyObject_LookupSpecialId(x, &PyId___trunc__); > | ^ > 9 errors generated. From peacech at gmail.com Tue Dec 10 07:56:48 2024 From: peacech at gmail.com (Charles) Date: Tue, 10 Dec 2024 14:56:48 +0700 Subject: pyqtdeploy: Compile error Python-3.11.6 macOS In-Reply-To: <36B1132E-2FF4-41C5-978F-326106F4B1EA@gmail.com> References: <36B1132E-2FF4-41C5-978F-326106F4B1EA@gmail.com> Message-ID: Do you use precompiled header? That NEEDS_PY_IDENTIFIER define is basically on top of mathmodule.c. On Tue, Dec 10, 2024 at 2:29?PM Patrick Stinson wrote: > FWIW, adding this seems to have fixed it: > > DEFINES += NEEDS_PY_IDENTIFIER > > I have no idea how tacky that is, however. > > > On Dec 9, 2024, at 9:52?PM, Patrick Stinson > wrote: > > > > I am seeing this error using pyqtdeploy-3.3.1.dev2401021235 and a > sysroot with Python-3.11.6 (the last supported version in the pyqtdeploy > snapshot CHANGELOG), any ideas? It looks like it is failing to include some > private python headers. I was building python-3.10.6 ok, though this looks > major-version specific: > > > > > > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang > -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack > -fmacro-backtrace-limit\=0 -fmessage-length\=178 -w -ferror-limit 19 > -serialize-diagnostic-file > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ > Diagram.build/Objects-normal/x86_64/mathmodule.dia -fcolor-diagnostics > -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage > -Werror\=implicit-function-declaration > -Wnon-modular-include-in-framework-module > -Werror\=non-modular-include-in-framework-module -Wno-trigraphs > -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type > -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function > -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value > -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow > -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion > -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion > -Wno-float-conversion -Wno-non-literal-null-conversion > -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign > -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations > -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma > -Wno-block-capture-autoreleasing -Wno-strict-prototypes > -Wno-semicolon-before-method-body -Wno-reorder-init-list > -Wno-implicit-int-float-conversion -Wno-c99-designator > -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt > -Wno-misleading-indentation -Wno-quoted-include-in-framework-header > -Wno-implicit-fallthrough -Wno-enum-enum-conversion > -Wno-enum-float-conversion -Wno-elaborated-enum-base > -Wno-reserved-identifier -Wno-gnu-folding-constant -o > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ > Diagram.build/Objects-normal/x86_64/mathmodule.o -disable-free -emit-obj > -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdatomic-45RKN09G0ZPVFJ632BPQBFG2O.pcm > -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/pthread-DRWWY68IHOZDW08IGE6ASGGMI.pcm > -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdbool-2LWC0JU4Y3AC9PYXW9IADV646.pcm > -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_locale-CSOJP3LZRAMW8I37ET66EGZH5.pcm > -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_float-YS0RYVNLR9XUFXGP11I4OPDU.pcm > -x c > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c > -tune-cpu generic -target-cpu penryn -triple x86_64-apple-macosx10.13.0 > -target-linker-version 1115.7.3 -target-sdk-version\=15.1 > -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search > -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk > -resource-dir > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 > -fmodule-format\=obj -I > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/Family\ > Diagram-own-target-headers.hmap -I > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/Family\ > Diagram-all-target-headers.hmap -I > /Users/patrick/dev/familydiagram/build/osx/Release/include -I . -I > ../../pkdiagram/_pkdiagram -I ../../pkdiagram/_pkdiagram/build -I > ../../sysroot/sysroot-macos-64/include -I > ../../sysroot/sysroot-macos-64/include/python3.11 -I > ../../sysroot/sysroot-macos-64/include/python3.11/internal -I > ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_blake2 -I > ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_sha3 -I > ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/expat -I > /Users/patrick/dev/familydiagram/vedanaprivate/build -I > ../../sysroot/sysroot-macos-64/Qt/include -I > ../../sysroot/sysroot-macos-64/Qt/include/QtQuickWidgets -I > ../../sysroot/sysroot-macos-64/Qt/include/QtPrintSupport -I > ../../sysroot/sysroot-macos-64/Qt/include/QtWidgets -I > ../../sysroot/sysroot-macos-64/Qt/include/QtQuick -I > ../../sysroot/sysroot-macos-64/Qt/include/QtGui -I > ../../sysroot/sysroot-macos-64/Qt/include/QtQmlModels -I > ../../sysroot/sysroot-macos-64/Qt/include/QtQml -I > ../../sysroot/sysroot-macos-64/Qt/include/QtNetwork -I > ../../sysroot/sysroot-macos-64/Qt/include/QtCore -I . -I > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers > -I > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AGL.framework/Headers > -I ../../sysroot/sysroot-macos-64/Qt/mkspecs/macx-clang -I > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/DerivedSources-normal/x86_64 -I > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/DerivedSources/x86_64 -I > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/DerivedSources -F > /Users/patrick/dev/familydiagram/build/osx/Release -iquote > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/Family\ > Diagram-generated-files.hmap -iquote > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ Diagram.build/Family\ > Diagram-project-headers.hmap -isystem > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/local/include > -isystem > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include > -internal-externc-isystem > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include > -internal-externc-isystem > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include > -ivfsstatcache > /Users/patrick/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx15.1-24B75-26c8390a7c93c703a57fb2538426748e.sdkstatcache > -std\=c11 -fasm-blocks -fmodules -fno-implicit-modules -fmax-type-align\=16 > -fpascal-strings -fvisibility\=hidden > -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link > -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature > -stack-protector 1 -fmodule-related-to-pch -fgnuc-version\=4.2.1 -fblocks > -ffp-contract\=on -fclang-abi-compat\=4.0 > -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible > -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation > -clang-vendor-feature\=+enableAggressiveVLAFolding > -clang-vendor-feature\=+revert09abecef7bbf > -clang-vendor-feature\=+thisNoAlignAttr > -clang-vendor-feature\=+thisNoNullAttr > -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError > -O2 -fdebug-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx > -fcoverage-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx > -fcommon -fregister-global-dtors-with-atexit -ffunction-sections > -fdata-sections -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb > -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=all > -funwind-tables\=2 -vectorize-loops -vectorize-slp > -clear-ast-before-backend -discard-value-names -main-file-name mathmodule.c > -finline-functions -debug-info-kind\=standalone -Os > -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 > -include-pch > /Users/patrick/dev/familydiagram/build/osx/.xcode/SharedPrecompiledHeaders/SharedPrecompiledHeaders/2268268309385945507/pkdiagram_pch.h.gch > -D HAVE_EXPAT_CONFIG_H -D PYQTDEPLOY_OPTIMIZED -D Py_BUILD_CORE_MODULE -D > QT_CORE_LIB -D QT_GUI_LIB -D QT_NETWORK_LIB -D QT_PRINTSUPPORT_LIB -D > QT_QMLMODELS_LIB -D QT_QML_LIB -D QT_QUICKWIDGETS_LIB -D QT_QUICK_LIB -D > QT_WIDGETS_LIB -D XML_DEV_URANDOM -D XML_STATIC -D __APPLE_USE_RFC_3542 -D > __GCC_HAVE_DWARF2_CFI_ASM\=1 -MT dependencies -dependency-file > /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ > Diagram.build/Release/Family\ > Diagram.build/Objects-normal/x86_64/mathmodule.d -skip-unused-modulemap-deps > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:5: > error: call to undeclared function '_Py_IDENTIFIER'; > > ISO C99 and later do not support implicit function declarations > [-Wimplicit-function-declaration] > > 1218 | _Py_IDENTIFIER(__ceil__); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:20: > error: use of undeclared identifier '__ceil__'; did > > you mean '__ceilf16'? > > 1218 | _Py_IDENTIFIER(__ceil__); > > | ^~~~~~~~ > > | __ceilf16 > > In module '_math' imported from > /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:617:17: > note: '__ceilf16' declared here > > 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), > ios(18.0), watchos(11.0), tvos(18.0)); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1221:63: > error: use of undeclared identifier 'PyId___ceil__' > > 1221 | PyObject *method = _PyObject_LookupSpecialId(number, > &PyId___ceil__); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:5: > error: call to undeclared function '_Py_IDENTIFIER'; > > ISO C99 and later do not support implicit function declarations > [-Wimplicit-function-declaration] > > 1286 | _Py_IDENTIFIER(__floor__); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:20: > error: use of undeclared identifier '__floor__'; > > did you mean '__floorf16'? > > 1286 | _Py_IDENTIFIER(__floor__); > > | ^~~~~~~~~ > > | __floorf16 > > In module '_math' imported from > /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:618:17: > note: '__floorf16' declared here > > 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), > ios(18.0), watchos(11.0), tvos(18.0)); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1293:63: > error: use of undeclared identifier > > 'PyId___floor__' > > 1293 | PyObject *method = _PyObject_LookupSpecialId(number, > &PyId___floor__); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:5: > error: call to undeclared function '_Py_IDENTIFIER'; > > ISO C99 and later do not support implicit function declarations > [-Wimplicit-function-declaration] > > 2159 | _Py_IDENTIFIER(__trunc__); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:20: > error: use of undeclared identifier '__trunc__'; > > did you mean '__truncf16'? > > 2159 | _Py_IDENTIFIER(__trunc__); > > | ^~~~~~~~~ > > | __truncf16 > > In module '_math' imported from > /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:621:17: > note: '__truncf16' declared here > > 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), > ios(18.0), watchos(11.0), tvos(18.0)); > > | ^ > > > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2171:43: > error: use of undeclared identifier > > 'PyId___trunc__' > > 2171 | trunc = _PyObject_LookupSpecialId(x, &PyId___trunc__); > > | ^ > > 9 errors generated. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrickkidd at gmail.com Tue Dec 10 15:35:39 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Tue, 10 Dec 2024 06:35:39 -0900 Subject: pyqtdeploy: Compile error Python-3.11.6 macOS In-Reply-To: References: <36B1132E-2FF4-41C5-978F-326106F4B1EA@gmail.com> Message-ID: Yes, I do. > On Dec 9, 2024, at 10:56?PM, Charles wrote: > > Do you use precompiled header? That NEEDS_PY_IDENTIFIER define is basically on top of mathmodule.c. > > On Tue, Dec 10, 2024 at 2:29?PM Patrick Stinson > wrote: >> FWIW, adding this seems to have fixed it: >> >> DEFINES += NEEDS_PY_IDENTIFIER >> >> I have no idea how tacky that is, however. >> >> > On Dec 9, 2024, at 9:52?PM, Patrick Stinson > wrote: >> > >> > I am seeing this error using pyqtdeploy-3.3.1.dev2401021235 and a sysroot with Python-3.11.6 (the last supported version in the pyqtdeploy snapshot CHANGELOG), any ideas? It looks like it is failing to include some private python headers. I was building python-3.10.6 ok, though this looks major-version specific: >> > >> > >> > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -Wundef-prefix\=TARGET_OS_ -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fmessage-length\=178 -w -ferror-limit 19 -serialize-diagnostic-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.dia -fcolor-diagnostics -Wdeprecated-objc-isa-usage -Werror\=deprecated-objc-isa-usage -Werror\=implicit-function-declaration -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -o /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.o -disable-free -emit-obj -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdatomic-45RKN09G0ZPVFJ632BPQBFG2O.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/pthread-DRWWY68IHOZDW08IGE6ASGGMI.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_stdbool-2LWC0JU4Y3AC9PYXW9IADV646.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_locale-CSOJP3LZRAMW8I37ET66EGZH5.pcm -fmodule-file\=/Users/patrick/dev/familydiagram/build/osx/.xcode/ExplicitPrecompiledModules/_Builtin_float-YS0RYVNLR9XUFXGP11I4OPDU.pcm -x c /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c -tune-cpu generic -target-cpu penryn -triple x86_64-apple-macosx10.13.0 -target-linker-version 1115.7.3 -target-sdk-version\=15.1 -fmodules-validate-system-headers -fno-modulemap-allow-subdirectory-search -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16 -fmodule-format\=obj -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-own-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-all-target-headers.hmap -I /Users/patrick/dev/familydiagram/build/osx/Release/include -I . -I ../../pkdiagram/_pkdiagram -I ../../pkdiagram/_pkdiagram/build -I ../../sysroot/sysroot-macos-64/include -I ../../sysroot/sysroot-macos-64/include/python3.11 -I ../../sysroot/sysroot-macos-64/include/python3.11/internal -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_blake2 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/_sha3 -I ../../sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/expat -I /Users/patrick/dev/familydiagram/vedanaprivate/build -I ../../sysroot/sysroot-macos-64/Qt/include -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuickWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtPrintSupport -I ../../sysroot/sysroot-macos-64/Qt/include/QtWidgets -I ../../sysroot/sysroot-macos-64/Qt/include/QtQuick -I ../../sysroot/sysroot-macos-64/Qt/include/QtGui -I ../../sysroot/sysroot-macos-64/Qt/include/QtQmlModels -I ../../sysroot/sysroot-macos-64/Qt/include/QtQml -I ../../sysroot/sysroot-macos-64/Qt/include/QtNetwork -I ../../sysroot/sysroot-macos-64/Qt/include/QtCore -I . -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I ../../sysroot/sysroot-macos-64/Qt/mkspecs/macx-clang -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources-normal/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources/x86_64 -I /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/DerivedSources -F /Users/patrick/dev/familydiagram/build/osx/Release -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-generated-files.hmap -iquote /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Family\ Diagram-project-headers.hmap -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/local/include -isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -ivfsstatcache /Users/patrick/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx15.1-24B75-26c8390a7c93c703a57fb2538426748e.sdkstatcache -std\=c11 -fasm-blocks -fmodules -fno-implicit-modules -fmax-type-align\=16 -fpascal-strings -fvisibility\=hidden -fvisibility-inlines-hidden-static-local-var -mdarwin-stkchk-strong-link -fno-odr-hash-protocols -pic-level 2 -fencode-extended-block-signature -stack-protector 1 -fmodule-related-to-pch -fgnuc-version\=4.2.1 -fblocks -ffp-contract\=on -fclang-abi-compat\=4.0 -fno-experimental-relative-c++-abi-vtables -fno-file-reproducible -clang-vendor-feature\=+disableNonDependentMemberExprInCurrentInstantiation -clang-vendor-feature\=+enableAggressiveVLAFolding -clang-vendor-feature\=+revert09abecef7bbf -clang-vendor-feature\=+thisNoAlignAttr -clang-vendor-feature\=+thisNoNullAttr -clang-vendor-feature\=+disableAtImportPrivateFrameworkInImplementationError -O2 -fdebug-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcoverage-compilation-dir\=/Users/patrick/dev/familydiagram/build/osx -fcommon -fregister-global-dtors-with-atexit -ffunction-sections -fdata-sections -fno-strict-return -dwarf-version\=4 -debugger-tuning\=lldb -disable-llvm-verifier -dwarf-ext-refs -mframe-pointer\=all -funwind-tables\=2 -vectorize-loops -vectorize-slp -clear-ast-before-backend -discard-value-names -main-file-name mathmodule.c -finline-functions -debug-info-kind\=standalone -Os -fdiagnostics-hotness-threshold\=0 -fdiagnostics-misexpect-tolerance\=0 -include-pch /Users/patrick/dev/familydiagram/build/osx/.xcode/SharedPrecompiledHeaders/SharedPrecompiledHeaders/2268268309385945507/pkdiagram_pch.h.gch -D HAVE_EXPAT_CONFIG_H -D PYQTDEPLOY_OPTIMIZED -D Py_BUILD_CORE_MODULE -D QT_CORE_LIB -D QT_GUI_LIB -D QT_NETWORK_LIB -D QT_PRINTSUPPORT_LIB -D QT_QMLMODELS_LIB -D QT_QML_LIB -D QT_QUICKWIDGETS_LIB -D QT_QUICK_LIB -D QT_WIDGETS_LIB -D XML_DEV_URANDOM -D XML_STATIC -D __APPLE_USE_RFC_3542 -D __GCC_HAVE_DWARF2_CFI_ASM\=1 -MT dependencies -dependency-file /Users/patrick/dev/familydiagram/build/osx/.xcode/Family\ Diagram.build/Release/Family\ Diagram.build/Objects-normal/x86_64/mathmodule.d -skip-unused-modulemap-deps >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:5: error: call to undeclared function '_Py_IDENTIFIER'; >> > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >> > 1218 | _Py_IDENTIFIER(__ceil__); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1218:20: error: use of undeclared identifier '__ceil__'; did >> > you mean '__ceilf16'? >> > 1218 | _Py_IDENTIFIER(__ceil__); >> > | ^~~~~~~~ >> > | __ceilf16 >> > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:617:17: note: '__ceilf16' declared here >> > 617 | extern _Float16 __ceilf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1221:63: error: use of undeclared identifier 'PyId___ceil__' >> > 1221 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___ceil__); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:5: error: call to undeclared function '_Py_IDENTIFIER'; >> > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >> > 1286 | _Py_IDENTIFIER(__floor__); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1286:20: error: use of undeclared identifier '__floor__'; >> > did you mean '__floorf16'? >> > 1286 | _Py_IDENTIFIER(__floor__); >> > | ^~~~~~~~~ >> > | __floorf16 >> > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:618:17: note: '__floorf16' declared here >> > 618 | extern _Float16 __floorf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:1293:63: error: use of undeclared identifier >> > 'PyId___floor__' >> > 1293 | PyObject *method = _PyObject_LookupSpecialId(number, &PyId___floor__); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:5: error: call to undeclared function '_Py_IDENTIFIER'; >> > ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >> > 2159 | _Py_IDENTIFIER(__trunc__); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2159:20: error: use of undeclared identifier '__trunc__'; >> > did you mean '__truncf16'? >> > 2159 | _Py_IDENTIFIER(__trunc__); >> > | ^~~~~~~~~ >> > | __truncf16 >> > In module '_math' imported from /Users/patrick/dev/familydiagram/build/osx/../../sysroot/sysroot-macos-64/include/python3.11/pyport.h:218: >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:621:17: note: '__truncf16' declared here >> > 621 | extern _Float16 __truncf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0)); >> > | ^ >> > /Users/patrick/dev/familydiagram/sysroot/sysroot-macos-64/src/Python-3.11.6/Modules/mathmodule.c:2171:43: error: use of undeclared identifier >> > 'PyId___trunc__' >> > 2171 | trunc = _PyObject_LookupSpecialId(x, &PyId___trunc__); >> > | ^ >> > 9 errors generated. >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sda at fstab.net Wed Dec 11 19:16:29 2024 From: sda at fstab.net (Kyle Altendorf) Date: Wed, 11 Dec 2024 14:16:29 -0500 Subject: PyQt5-sip v12.16.0 metadata allows for >=3.8 but source requires 3.9+ Message-ID: It appears that the newly (last week) released PyQt5-sip 12.16.0 [0] is refusing to build on Python 3.8 [1]. But, the metadata on PyPI reports it is compatible with >=3.8. Would it be possible to yank that and post one with updated metadata for 3.9+? Cheers, -kyle 0 - https://pypi.org/project/PyQt5-sip/#history 1 - https://github.com/pytest-dev/pytest-twisted/actions/runs/12283250437/job/34276337749?pr=187#step:10:72 From cbm at math.ubc.ca Wed Dec 11 19:25:32 2024 From: cbm at math.ubc.ca (Colin Macdonald) Date: Wed, 11 Dec 2024 11:25:32 -0800 Subject: PyQt5-sip v12.16.0 metadata allows for >=3.8 but source requires 3.9+ In-Reply-To: References: Message-ID: <94649d3f-119e-42b3-80d1-c37d4c267ce1@math.ubc.ca> On 2024-12-11 11:16 a.m., Kyle Altendorf wrote: > It appears that the newly (last week) released PyQt5-sip 12.16.0 [0] is refusing to build on Python 3.8 [1]. But, the metadata on PyPI reports it is compatible with >=3.8. Would it be possible to yank that and post one with updated metadata for 3.9+? > > Cheers, > -kyle > > 0 - https://pypi.org/project/PyQt5-sip/#history > 1 - https://github.com/pytest-dev/pytest-twisted/actions/runs/12283250437/job/34276337749?pr=187#step:10:72 I noticed similar with PyQt6-13.9.0, and backed my CI off to 13.8.0 (which works on 3.8). best, Colin From phil at riverbankcomputing.com Thu Dec 12 10:50:11 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Thu, 12 Dec 2024 10:50:11 +0000 Subject: ANN: SIP v6.9.1 Released Message-ID: SIP v6.9.1 has been released. This fixes the generation of the incorrect `Requires-Python` in the sip module metadata. There are also updated versions of the sip module for PyQt5 and PyQt6. The broken versions have been yanked. Phil From phil at riverbankcomputing.com Thu Dec 12 16:45:01 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Thu, 12 Dec 2024 16:45:01 +0000 Subject: ANN: PyQt v6.8.0 Released Message-ID: PyQt v6.8.0 has been released. There are corresponding releases of the related add-ons, including the new PyQt6-Graphs. From the NEWS file... - Added support for Qt v6.8 (excluding any technical previews). - Python enums are now handled correctly by Qt Designer (requires Qt v6.8.1 or later). - Implemented QtAudio as a synonym for QAudio. - Added QWindow.setVulkanInstance(), QWindow.vulkanInstance(), QVulkanExtension, QVulkanInstance and QVulkanLayer. Phil From arojas at archlinux.org Thu Dec 12 23:14:38 2024 From: arojas at archlinux.org (Antonio Rojas) Date: Fri, 13 Dec 2024 00:14:38 +0100 Subject: PyQtWebEngine 6.8.0 build fails Message-ID: <10576435.nUPlyArG6x@archlinux-arl> Building against Qt 6.8.1: /build/pyqt6-webengine/src/PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip: In lambda function: /build/pyqt6-webengine/src/PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip:52:64: error: invalid use of incomplete type ?class QVariant? 52 | res = sipCallMethod(NULL, a1, "N", new QVariant(arg), sipType_QVariant, NULL); | ^ In file included from /usr/include/qt6/QtCore/qtypeinfo.h:9, from /usr/include/qt6/QtCore/qglobal.h:47, from /usr/include/qt6/QtCore/qmetatype.h:9, from /usr/include/qt6/QtCore/QMetaType:1, from sipAPIQtWebEngineCore.h:33, from sipQtWebEngineCoreQWebEngineFrame.cpp:24: /usr/include/qt6/QtCore/qcontainerfwd.h:49:7: note: forward declaration of ?class QVariant? 49 | class QVariant; | ^~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Fri Dec 13 09:01:44 2024 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 13 Dec 2024 10:01:44 +0100 Subject: PyQt 6.8 regression: str -> QChar in typing stubs Message-ID: <173408050415.7327.18242194479422753526@fawkes.local> Hey, Unfortunately PyQt 6.8 (or sip 6.9.0?) had a small regression I didn't catch during the prerelease (as I wasn't running mypy against it): Some arguments and return types that were previously annotated as str are now wrongly annotated as QChar instead. Example diff of PyQt6/QtCore.pyi 6.7.1 -> 6.8.0, for QUrlQuery: - def setQueryDelimiters(self, valueDelimiter: str, pairDelimiter: str) -> None: ... + def setQueryDelimiters(self, valueDelimiter: QChar, pairDelimiter: QChar) -> None: ... Reproducer: from PyQt6.QtCore import QUrlQuery q = QUrlQuery() q.setQueryDelimiters("=", ";") Resulting mypy output: error: Argument 1 to "setQueryDelimiters" of "QUrlQuery" has incompatible type "str"; expected "QChar" [arg-type] q.setQueryDelimiters("=", ";") Florian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From phil at riverbankcomputing.com Fri Dec 13 11:59:12 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Fri, 13 Dec 2024 11:59:12 +0000 Subject: PyQtWebEngine 6.8.0 build fails In-Reply-To: <10576435.nUPlyArG6x@archlinux-arl> References: <10576435.nUPlyArG6x@archlinux-arl> Message-ID: <3131db13440c540104514815c64ed2cc@riverbankcomputing.com> On 12/12/2024 23:14, Antonio Rojas wrote: > Building against Qt 6.8.1: > > /build/pyqt6-webengine/src/PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip: > In lambda function: > /build/pyqt6-webengine/src/PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip:52:64: > error: invalid use of incomplete type ?class QVariant? > 52 | res = sipCallMethod(NULL, a1, "N", new > QVariant(arg), sipType_QVariant, NULL); > | ^ > In file included from /usr/include/qt6/QtCore/qtypeinfo.h:9, > from /usr/include/qt6/QtCore/qglobal.h:47, > from /usr/include/qt6/QtCore/qmetatype.h:9, > from /usr/include/qt6/QtCore/QMetaType:1, > from sipAPIQtWebEngineCore.h:33, > from sipQtWebEngineCoreQWebEngineFrame.cpp:24: > /usr/include/qt6/QtCore/qcontainerfwd.h:49:7: note: forward > declaration of ?class QVariant? > 49 | class QVariant; > | ^~~~~~~~ I'd already fixed this but managed to omit it in the release. It's fixed in the current snapshot. The workaround is to use the --concatenate option (which I recommend anyway for performance reasons). Phil From phil at riverbankcomputing.com Fri Dec 13 12:32:03 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Fri, 13 Dec 2024 12:32:03 +0000 Subject: PyQt 6.8 regression: str -> QChar in typing stubs In-Reply-To: <173408050415.7327.18242194479422753526@fawkes.local> References: <173408050415.7327.18242194479422753526@fawkes.local> Message-ID: On 13/12/2024 09:01, Florian Bruhin wrote: > Hey, > > Unfortunately PyQt 6.8 (or sip 6.9.0?) had a small regression I didn't > catch during the prerelease (as I wasn't running mypy against it): > > Some arguments and return types that were previously annotated as str > are now wrongly annotated as QChar instead. > > Example diff of PyQt6/QtCore.pyi 6.7.1 -> 6.8.0, for QUrlQuery: > > - def setQueryDelimiters(self, valueDelimiter: str, > pairDelimiter: str) -> None: ... > + def setQueryDelimiters(self, valueDelimiter: QChar, > pairDelimiter: QChar) -> None: ... > > Reproducer: > > from PyQt6.QtCore import QUrlQuery > q = QUrlQuery() > q.setQueryDelimiters("=", ";") > > Resulting mypy output: > > error: Argument 1 to "setQueryDelimiters" of "QUrlQuery" has > incompatible type "str"; > expected "QChar" [arg-type] > q.setQueryDelimiters("=", ";") > > > Florian Should be fixed in the next snapshot. Thanks, Phil From patrickkidd at gmail.com Sun Dec 15 18:36:29 2024 From: patrickkidd at gmail.com (Patrick Stinson) Date: Sun, 15 Dec 2024 09:36:29 -0900 Subject: PyQt5: Property alias on root object gets sip.voidptr Message-ID: Sometimes alias properties on the root object in a .qml file get sip.voidptr, and sometimes they don?t. For example: Rectangle { id: root property alias someList: someList ListView { id: someList } } There are two workarounds: change `alias` to `var`, and don?t use the same name for the alias as for the target item id. But I?m just curious what is happening under the hood here. Thanks! From gregc at cgl.ucsf.edu Tue Dec 17 00:42:22 2024 From: gregc at cgl.ucsf.edu (Greg Couch) Date: Mon, 16 Dec 2024 16:42:22 -0800 Subject: Windows Arm version of PyQt 6.8.0 WebEngine? Message-ID: <76949e7a-96b2-41cb-902d-8ed7e20511e7@cgl.ucsf.edu> Just noticed that there is a PyQt6_Qt6-6.8.1-py3-none-win_arm64.whl, but no corresponding Arm version of PyQt6-WebEngine.? Are there plans to release an Arm version? ??? -- Greg From phil at riverbankcomputing.com Tue Dec 17 10:34:33 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Tue, 17 Dec 2024 10:34:33 +0000 Subject: Windows Arm version of PyQt 6.8.0 WebEngine? In-Reply-To: <76949e7a-96b2-41cb-902d-8ed7e20511e7@cgl.ucsf.edu> References: <76949e7a-96b2-41cb-902d-8ed7e20511e7@cgl.ucsf.edu> Message-ID: <14798ef5616f5443b26d089d3d7e2bfb@riverbankcomputing.com> On 17/12/2024 00:42, Greg Couch wrote: > Just noticed that there is a PyQt6_Qt6-6.8.1-py3-none-win_arm64.whl, > but no corresponding Arm version of PyQt6-WebEngine.? Are there plans > to release an Arm version? It isn't included in the Qt online installer - I assume because it isn't yet supported. Phil From john at sturtz.org Wed Dec 18 05:38:10 2024 From: john at sturtz.org (John F Sturtz) Date: Wed, 18 Dec 2024 05:38:10 +0000 Subject: PyQt6 / Confusion over enum and flags Message-ID: Hi again. I am trying to port some PyQt5 code to PyQt6, and am running into confusion using the Qt.KeyboardModifierenum objects. I think (hope) the answer to this question would probably enlighten me more generally as to what I'm misunderstanding: Suppose I want to manually construct a QKeyCombination object. This: QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) fails, telling me that argument 1 has unexpected type 'KeyboardModifier'. Indeed the Qt documentation for QKeyCombination says that argument 1 should be of type Qt::KeyboardModifiers (plural). And that the type of Qt::KeyboardModifier is enum, and that of Qt::KeyboardModifiers (plural) is flags. It also says 'The KeyboardModifiers type is a typedef for QFlags. It stores an OR combination of KeyboardModifier values.' I think I understand (on some level) that the concept of QFlags in Qt is not used in PyQt (anyway, I can't find anything called QFlags in PyQt). But then I'm beating my head against the wall trying to figure out: What does the QKeyCombination constructor want for its first argument? The PySide6 documentation for QKeyCombination (unhelpfully) says: >__init__(modifiers[, key=Qt.Key_unknown]) > > Parameters: > modifiers ? Combination of KeyboardModifier > key ? Key What sort of 'combination'? In what way do I combine KeyboardModifier objects so as to satisfy QKeyCombination's demand for an object of type KeyboardModifiers (plural) as the first argument? Thanks again! /John -------------- next part -------------- An HTML attachment was scrubbed... URL: From peacech at gmail.com Wed Dec 18 05:57:53 2024 From: peacech at gmail.com (Charles) Date: Wed, 18 Dec 2024 12:57:53 +0700 Subject: PyQt6 / Confusion over enum and flags In-Reply-To: References: Message-ID: > QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) You can't pass integer for enum, either use QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=Qt.Key.Key_A) or QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=Qt.Key(65)) On Wed, Dec 18, 2024 at 12:38?PM John F Sturtz wrote: > Hi again. > > I am trying to port some PyQt5 code to PyQt6, and am running into > confusion using the Qt.KeyboardModifier enum objects. I think (hope) the > answer to this question would probably enlighten me more generally as to > what I'm misunderstanding: > > Suppose I want to manually construct a QKeyCombination object. This: > > QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) > > fails, telling me that argument 1 has unexpected type 'KeyboardModifier'. > > Indeed the Qt documentation for QKeyCombination says that argument 1 > should be of type Qt::KeyboardModifiers (plural). And that the type of > Qt::KeyboardModifier is enum, and that of Qt::KeyboardModifiers (plural) > is flags. > > It also says 'The KeyboardModifiers type is a typedef for > QFlags. It stores an OR combination of KeyboardModifier > values.' > > I think I understand (on some level) that the concept of QFlags in Qt is > not used in PyQt (anyway, I can't find anything called QFlags in PyQt). > But then I'm beating my head against the wall trying to figure out: What > *does* the QKeyCombination constructor want for its first argument? > > The PySide6 documentation for QKeyCombination (unhelpfully) says: > > __init__(modifiers[, key=Qt.Key_unknown]) > > Parameters: > modifiers ? Combination of KeyboardModifier > key ? Key > > > What sort of 'combination'? In what way do I combine KeyboardModifier > objects so as to satisfy QKeyCombination's demand for an object of type > KeyboardModifiers (plural) as the first argument? > > Thanks again! > > /John > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at riverbankcomputing.com Wed Dec 18 15:55:04 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Wed, 18 Dec 2024 15:55:04 +0000 Subject: ANN: Qt v5.15.16 Wheels Available Message-ID: Qt wheels for PyQt5 based on Qt v5.15.16 have been uploaded to PyPI. As before these are only for macOS and Linux. Phil From julien.cabieces at oslandia.com Wed Dec 18 16:03:54 2024 From: julien.cabieces at oslandia.com (Julien Cabieces) Date: Wed, 18 Dec 2024 17:03:54 +0100 Subject: MappedType for unique_ptr In-Reply-To: <26db52fe410af30abc8ca9fd420b9bcc@riverbankcomputing.com> (Phil Thompson's message of "Thu, 21 Nov 2024 11:34:26 +0000") References: <3ce3de6b7a1b8085cc574240c9056cf3@riverbankcomputing.com> <87zfltrnkk.fsf@julienlaptop.home> <87ttc0suve.fsf@julienlaptop.home> <26db52fe410af30abc8ca9fd420b9bcc@riverbankcomputing.com> Message-ID: <87a5ct3rmd.fsf@julienlaptop.home> Done https://github.com/Python-SIP/sip/issues/60 > If there is something in the automatically generated code that is > causing a problem then please raise an issue on GitHub describing the > problem to a non-C++ programmer (like me) and what needs to happen. > > Phil > > On 21/11/2024 11:12, Julien Cabieces wrote: >> Ho yes, we need to std::move the *a0 but I have no idea on how we can >> do that >> >>> On Thu, 21 Nov 2024 at 18:36, Julien Cabieces >>> wrote: >>>> Hi, >>>> > *sipCppPtr = new std::unique_ptr( t ); >>>> If I understand well, you try to use the copy constructor which is >>>> deleted. I would rather write something like >>>> (*sipCppPtr).reset( t ); >>> Unfortunately that doesn't help -- there's still a copy of the >>> unique_ptr made in the sip auto generated code: >>> std::unique_ptr< ::SomeClass>* a0; >>> ... >>> Py_BEGIN_ALLOW_THREADS >>> try >>> { >>> sipRes = ::MyClass::setObject(*a0); >>> } >>> catch (...) >>> (The copy is made by *a0 ) >>> Nyall >>> >>>> Regards, >>>> Julien >>>> > On Wed, 20 Nov 2024 at 20:40, Phil Thompson >>>> wrote: >>>> >> >>>> >> On 20/11/2024 04:57, Nyall Dawson wrote: >>>> >> > Hi list, >>>> >> > >>>> >> > I'm wondering if any one has had any luck in creating a MappedType to >>>> >> > handle unique_ptr objects. >>>> >> > >>>> >> > I've been experimenting with the following implementation, which seems >>>> >> > to >>>> >> > work well for converting from unique_ptrs to Python owned objects. But >>>> >> > I >>>> >> > can't find any way to implement the ConvertToTypeCode so that I can >>>> >> > wrap >>>> >> > functions which have unique_ptr arguments. >>>> >> > >>>> >> > I'm really hoping to modernize some API and move away from raw >>>> >> > pointers, >>>> >> > but this is a stumbling block... >>>> >> > >>>> >> > template >>>> >> > %MappedType std::unique_ptr< TYPE > >>>> >> > /NoRelease,AllowNone,TypeHint="Optional[TYPE]",TypeHintValue="TYPE"/ >>>> >> > { >>>> >> > %TypeHeaderCode >>>> >> > #include >>>> >> > %End >>>> >> > >>>> >> > %ConvertFromTypeCode >>>> >> > const sipTypeDef *sip_type = sipFindType("TYPE*"); >>>> >> > return sipConvertFromNewType(sipCpp->release(), sip_type, NULL); >>>> >> > %End >>>> >> >>>> >> Obviously I don't know the detail of your use-case but you are >>>> >> hard-coding a particular ownership protocol by using >>>> >> sipConvertFromNewType() and release() rather than sipConvertFromType() >>>> >> and get(). >>>> > >>>> > What I'm attempting to do is modernize some c++ API which looks like this: >>>> > >>>> > SomeClass* createObject() { return new SomeClass(); } >>>> > void setObject( SomeClass* object ) { // something which takes >>>> > ownership of object } >>>> > >>>> > Currently this would be exposed using sip bindings: >>>> > >>>> > SomeClass* createObject() /Factory/; >>>> > void setObject( SomeClass* object /Transfer/ ); >>>> > >>>> > The modernized c++ API would be something like: >>>> > >>>> > std::unique_ptr< SomeClass > createObject() { return >>>> > std::make_unique< SomeClass >(); } >>>> > void setObject( std::unique_ptr< SomeClass > object ) { // >>>> > something which takes ownership of the pointed to object } >>>> > >>>> >> Obviously I don't know the detail of your use-case but you are >>>> >> hard-coding a particular ownership protocol by using >>>> >> sipConvertFromNewType() and release() rather than sipConvertFromType() >>>> >> and get(). >>>> > >>>> > Here I can safely assume that .release() is correct, because we are >>>> > ALWAYS transferring ownership to the Python caller. >>>> > >>>> >> >>>> >> > %ConvertToTypeCode >>>> >> > // only one way for now... >>>> >> > return 0; >>>> >> > %End >>>> >> > }; >>>> >> >>>> >> What's the problem with using the unique_ptr<> ctor? >>>> > >>>> > This is the closest I got: >>>> > >>>> > %ConvertToTypeCode >>>> > const sipTypeDef *sip_type = sipFindType("TYPE"); >>>> > >>>> > if (sipIsErr == NULL) >>>> > { >>>> > if (!sipCanConvertToType(sipPy, sip_type, 0)) >>>> > return 0; >>>> > return 1; >>>> > } >>>> > >>>> > if (sipPy == Py_None) >>>> > { >>>> > *sipCppPtr = new std::unique_ptr(); >>>> > return 1; >>>> > } >>>> > else >>>> > { >>>> > int state; >>>> > TYPE *t = reinterpret_cast(sipConvertToType(sipPy, >>>> > sip_type, sipTransferObj, 0, &state, sipIsErr)); >>>> > sipReleaseType(t, sip_type, state); >>>> > if (*sipIsErr) >>>> > { >>>> > return 0; >>>> > } >>>> > *sipCppPtr = new std::unique_ptr( t ); >>>> > return sipGetState(sipTransferObj); >>>> > } >>>> > %End >>>> > >>>> > However, it fails to build when used with the "void setObject( >>>> > std::unique_ptr< SomeClass > object );" function. I get a compilation >>>> > error: >>>> > >>>> > In function ?PyObject* meth_MyClass_setObject(PyObject*, PyObject*, PyObject*)?: >>>> > error: use of deleted function ?std::unique_ptr<_Tp, >>>> > _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = >>>> > SomeClass; _Dp = std::default_delete]? >>>> > >>>> > Thanks, >>>> > Nyall >>>> -- >>>> Julien Cabieces >>>> Senior Developer at Oslandia >>>> julien.cabieces at oslandia.com -- Julien Cabieces Senior Developer at Oslandia julien.cabieces at oslandia.com From john at sturtz.org Wed Dec 18 16:35:54 2024 From: john at sturtz.org (John F Sturtz) Date: Wed, 18 Dec 2024 16:35:54 +0000 Subject: PyQt6 / Confusion over enum and flags In-Reply-To: References: Message-ID: Argh! Thank you. I had a hunch this was going to turn out to be a dumb question when I posted it, and sure enough ... I guess it was late and I was bleary-eyed when I was messing around with it. I assumed the problem was with the first argument, because that was (partly) what the error message said: Traceback (most recent call last): File "", line 1, in QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) TypeError: arguments did not match any overloaded call: QKeyCombination(key: Qt.Key = Qt.Key_unknown): argument 1 has unexpected type 'KeyboardModifier' QKeyCombination(modifiers: Qt.Modifier, key: Qt.Key = Qt.Key_unknown): argument 1 has unexpected type 'KeyboardModifier' QKeyCombination(modifiers: Qt.KeyboardModifier, key: Qt.Key = Qt.Key_unknown): argument 'key' has unexpected type 'int' QKeyCombination(a0: QKeyCombination): argument 1 has unexpected type 'KeyboardModifier' I see now that that part of the error message refers to the prototype with only one argument, which isn't the one I was trying to use. The message I should have been looking at was the third one down, and then I would have seen the mistake you pointed out to me. ? Thanks again. (Now slinking off with my tail between my legs ...) /John ------ Original Message ------ >From "Charles" To "John F Sturtz" Cc pyqt at riverbankcomputing.com Date 12/17/2024 11:57:53 PM Subject Re: PyQt6 / Confusion over enum and flags > > QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) > >You can't pass integer for enum, either use > >QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=Qt.Key.Key_A) > >or > >QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=Qt.Key(65)) > >On Wed, Dec 18, 2024 at 12:38?PM John F Sturtz wrote: >>Hi again. >> >>I am trying to port some PyQt5 code to PyQt6, and am running into >>confusion using the Qt.KeyboardModifierenum objects. I think (hope) >>the answer to this question would probably enlighten me more generally >>as to what I'm misunderstanding: >> >>Suppose I want to manually construct a QKeyCombination object. This: >> >> QKeyCombination(Qt.KeyboardModifier.ControlModifier, key=65) >> >>fails, telling me that argument 1 has unexpected type >>'KeyboardModifier'. >> >>Indeed the Qt documentation for QKeyCombination says that argument 1 >>should be of type Qt::KeyboardModifiers (plural). And that the type >>of Qt::KeyboardModifier is enum, and that of Qt::KeyboardModifiers >>(plural) is flags. >> >>It also says 'The KeyboardModifiers type is a typedef for >>QFlags. It stores an OR combination of >>KeyboardModifier values.' >> >>I think I understand (on some level) that the concept of QFlags in Qt >>is not used in PyQt (anyway, I can't find anything called QFlags in >>PyQt). But then I'm beating my head against the wall trying to figure >>out: What does the QKeyCombination constructor want for its first >>argument? >> >>The PySide6 documentation for QKeyCombination (unhelpfully) says: >>>__init__(modifiers[, key=Qt.Key_unknown]) >>> >>> Parameters: >>> modifiers ? Combination of KeyboardModifier >>> key ? Key >> >>What sort of 'combination'? In what way do I combine KeyboardModifier >>objects so as to satisfy QKeyCombination's demand for an object of >>type KeyboardModifiers (plural) as the first argument? >> >>Thanks again! >> >>/John -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlolson at meta.com Thu Dec 19 23:17:33 2024 From: mlolson at meta.com (Matt Olson) Date: Thu, 19 Dec 2024 23:17:33 +0000 Subject: Source distribution for PyQt6-WebEngine-Qt6? Message-ID: Hi there, I work at Meta and I am attempting to import the PyQt6-WebEngine pkg into our build system from pypi. However, I'm not able to do this because our system requires that all dependencies have a source distribution, but this one does not (PyQt6-WebEngine-Qt6): https://pypi.org/project/PyQt6-WebEngine-Qt6/6.8.1/ Would you be able to upload the sdist for this package on pypi? Or if the source code is hosted on github I can build it. Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregc at cgl.ucsf.edu Thu Dec 19 23:39:11 2024 From: gregc at cgl.ucsf.edu (Greg Couch) Date: Thu, 19 Dec 2024 15:39:11 -0800 Subject: RHEL 8 support Message-ID: Is there going to be a (commercial) downloadable version of PyQt 6.8 that supports Red Hat 8??? According to https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still supported.? But the released PyQt 6.8 requires glibc 2.35 (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't install.? I see the same problem with the PyQt6-Qt6 and PyQt6-WebEngine downloads. ??? -- Greg From gregc at cgl.ucsf.edu Fri Dec 20 00:14:17 2024 From: gregc at cgl.ucsf.edu (Greg Couch) Date: Thu, 19 Dec 2024 16:14:17 -0800 Subject: RHEL 8 support In-Reply-To: References: Message-ID: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> Actually, it's a bigger problem.? Red Hat 9 uses glib 2.34.? So it won't install there either. ??? -- Greg On 12/19/24 15:39, Greg Couch wrote: > Is there going to be a (commercial) downloadable version of PyQt 6.8 > that supports Red Hat 8??? According to > https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still > supported.? But the released PyQt 6.8 requires glibc 2.35 > (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't > install.? I see the same problem with the PyQt6-Qt6 and > PyQt6-WebEngine downloads. > > ??? -- Greg > From tuug at gmx.us Fri Dec 20 14:51:14 2024 From: tuug at gmx.us (C L) Date: Fri, 20 Dec 2024 15:51:14 +0100 Subject: Building from source fails Message-ID: (venv) cc at pretty:~$ pip install -v PyQt5 --config-settings --confirm-license= Using pip 24.3.1 from /home/cc/venv/lib64/python3.14t/site-packages/pip (python 3.14) Collecting PyQt5 Using cached PyQt5-5.15.11.tar.gz (3.2 MB) Running command pip subprocess to install build dependencies Using pip 24.3.1 from /home/cc/venv/lib/python3.14t/site-packages/pip (python 3.14) Collecting sip<7,>=6.8.6 Obtaining dependency information for sip<7,>=6.8.6 from https://files.pythonhosted.org/packages/0b/b5/aafbb1f35d53ae590d5c0455edc0694a355c3dac22a88392421789c4edd1/sip-6.9.1-py3-none-any.whl.metadata Using cached sip-6.9.1-py3-none-any.whl.metadata (5.3 kB) Collecting PyQt-builder<2,>=1.14.1 Obtaining dependency information for PyQt-builder<2,>=1.14.1 from https://files.pythonhosted.org/packages/a2/7c/e3ff1467ac5e1e094c210a877c75dd872d9110f8e602cb7c0a4d620fd47c/PyQt_builder-1.17.0-py3-none-any.whl.metadata Using cached PyQt_builder-1.17.0-py3-none-any.whl.metadata (3.3 kB) Collecting packaging (from sip<7,>=6.8.6) Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl.metadata Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB) Collecting setuptools>=69.5 (from sip<7,>=6.8.6) Obtaining dependency information for setuptools>=69.5 from https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB) Using cached sip-6.9.1-py3-none-any.whl (471 kB) Using cached PyQt_builder-1.17.0-py3-none-any.whl (3.7 MB) Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB) Using cached packaging-24.2-py3-none-any.whl (65 kB) Installing collected packages: setuptools, packaging, sip, PyQt-builder Creating /tmp/pip-build-env-3i0svnrb/overlay/bin changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-build to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-distinfo to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-install to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-module to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-sdist to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-wheel to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/pyqt-bundle to 755 changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/pyqt-qt-wheel to 755 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sphinx 8.1.3 requires docutils<0.22,>=0.20, but you have docutils 0.16 which is incompatible. Successfully installed PyQt-builder-1.17.0 packaging-24.2 setuptools-75.6.0 sip-6.9.1 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command Preparing metadata (pyproject.toml) Querying qmake about your Qt installation... This is the GPL version of PyQt 5.15.11 (licensed under the GNU General Public License) for Python 3.14.0a2 on linux. Found the license file 'pyqt-gpl.sip'. Checking to see if the QtCore bindings can be built... Checking to see if the QtNetwork bindings can be built... Checking to see if the QtGui bindings can be built... Checking to see if the QtWidgets bindings can be built... Checking to see if the QtQml bindings can be built... Checking to see if the QAxContainer bindings can be built... Checking to see if the QtAndroidExtras bindings can be built... Checking to see if the QtBluetooth bindings can be built... Checking to see if the QtDBus bindings can be built... Checking to see if the QtDesigner bindings can be built... Checking to see if the Enginio bindings can be built... Checking to see if the QtHelp bindings can be built... Checking to see if the QtMacExtras bindings can be built... Checking to see if the QtMultimedia bindings can be built... Checking to see if the QtMultimediaWidgets bindings can be built... Checking to see if the QtNfc bindings can be built... Checking to see if the QtOpenGL bindings can be built... Checking to see if the QtPositioning bindings can be built... Checking to see if the QtLocation bindings can be built... Checking to see if the QtPrintSupport bindings can be built... Checking to see if the QtQuick bindings can be built... Checking to see if the QtQuick3D bindings can be built... Checking to see if the QtQuickWidgets bindings can be built... Checking to see if the QtRemoteObjects bindings can be built... Checking to see if the QtSensors bindings can be built... Checking to see if the QtSerialPort bindings can be built... Checking to see if the QtSql bindings can be built... Checking to see if the QtSvg bindings can be built... Checking to see if the QtTest bindings can be built... Checking to see if the QtTextToSpeech bindings can be built... Checking to see if the QtWebChannel bindings can be built... Checking to see if the QtWebKit bindings can be built... Checking to see if the QtWebKitWidgets bindings can be built... Checking to see if the QtWebSockets bindings can be built... Checking to see if the QtWinExtras bindings can be built... Checking to see if the QtX11Extras bindings can be built... Checking to see if the QtXml bindings can be built... Checking to see if the QtXmlPatterns bindings can be built... Checking to see if the _QOpenGLFunctions_2_0 bindings can be built... Checking to see if the _QOpenGLFunctions_2_1 bindings can be built... Checking to see if the _QOpenGLFunctions_4_1_Core bindings can be built... Checking to see if the dbus-python support should be built... The dbus-python package does not seem to be installed. These bindings will be built: QtCore, QtNetwork, QtGui, QtWidgets, QtDBus, QtOpenGL, QtPrintSupport, QtSql, QtTest, QtXml, Qt, _QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1, _QOpenGLFunctions_4_1_Core, pylupdate, pyrcc. Generating the QtCore bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtNetwork bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtGui bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtWidgets bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtDBus bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtOpenGL bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtPrintSupport bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtSql bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtTest bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the QtXml bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the Qt bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the _QOpenGLFunctions_2_0 bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the _QOpenGLFunctions_2_1 bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the _QOpenGLFunctions_4_1_Core bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the pylupdate bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the pyrcc bindings... /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 118: '%BIGetReadBufferCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 131: '%BIGetSegCountCode' is deprecated and will be removed in SIP v7.0.0 /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: line 138: '%BIGetCharBufferCode' is deprecated and will be removed in SIP v7.0.0 Generating the .pro file for the QtCore module... Generating the .pro file for the QtNetwork module... Generating the .pro file for the QtGui module... Generating the .pro file for the QtWidgets module... Generating the .pro file for the QtDBus module... Generating the .pro file for the QtOpenGL module... Generating the .pro file for the QtPrintSupport module... Generating the .pro file for the QtSql module... Generating the .pro file for the QtTest module... Generating the .pro file for the QtXml module... Generating the .pro file for the Qt module... Generating the .pro file for the _QOpenGLFunctions_2_0 module... Generating the .pro file for the _QOpenGLFunctions_2_1 module... Generating the .pro file for the _QOpenGLFunctions_4_1_Core module... Generating the .pro file for the pylupdate module... Generating the .pro file for the pyrcc module... Generating the top-level .pro file... Generating the Makefiles... Compiling the project... _in_process.py: 'make' failed returning 2 error: subprocess-exited-with-error ? Preparing metadata (pyproject.toml) did not run successfully. ? exit code: 1 ??> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/cc/venv/bin/python3.14t /home/cc/venv/lib64/python3.14t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5m37q6_f cwd: /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf Preparing metadata (pyproject.toml) ... error error: metadata-generation-failed ? Encountered error while generating package metadata. ??> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. From tuug at gmx.us Fri Dec 20 15:31:00 2024 From: tuug at gmx.us (C L) Date: Fri, 20 Dec 2024 16:31:00 +0100 Subject: Unable to install PyQt6 from pip Message-ID: (venv) cc at pretty:~$ pip -v install pyqt6 --config-settings --confirm-license= Using pip 24.3.1 from /home/cc/venv/lib64/python3.14t/site-packages/pip (python 3.14) Collecting pyqt6 Using cached PyQt6-6.8.0.tar.gz (1.1 MB) Running command pip subprocess to install build dependencies Using pip 24.3.1 from /home/cc/venv/lib/python3.14t/site-packages/pip (python 3.14) Collecting sip<7,>=6.9 Obtaining dependency information for sip<7,>=6.9 from https://files.pythonhosted.org/packages/0b/b5/aafbb1f35d53ae590d5c0455edc0694a355c3dac22a88392421789c4edd1/sip-6.9.1-py3-none-any.whl.metadata Using cached sip-6.9.1-py3-none-any.whl.metadata (5.3 kB) Collecting PyQt-builder<2,>=1.17 Obtaining dependency information for PyQt-builder<2,>=1.17 from https://files.pythonhosted.org/packages/a2/7c/e3ff1467ac5e1e094c210a877c75dd872d9110f8e602cb7c0a4d620fd47c/PyQt_builder-1.17.0-py3-none-any.whl.metadata Using cached PyQt_builder-1.17.0-py3-none-any.whl.metadata (3.3 kB) Collecting packaging (from sip<7,>=6.9) Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl.metadata Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB) Collecting setuptools>=69.5 (from sip<7,>=6.9) Obtaining dependency information for setuptools>=69.5 from https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB) Using cached sip-6.9.1-py3-none-any.whl (471 kB) Using cached PyQt_builder-1.17.0-py3-none-any.whl (3.7 MB) Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB) Using cached packaging-24.2-py3-none-any.whl (65 kB) Installing collected packages: setuptools, packaging, sip, PyQt-builder Creating /tmp/pip-build-env-udwqglpj/overlay/bin changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-build to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-distinfo to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-install to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-module to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-sdist to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/sip-wheel to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/pyqt-bundle to 755 changing mode of /tmp/pip-build-env-udwqglpj/overlay/bin/pyqt-qt-wheel to 755 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sphinx 8.1.3 requires docutils<0.22,>=0.20, but you have docutils 0.16 which is incompatible. Successfully installed PyQt-builder-1.17.0 packaging-24.2 setuptools-75.6.0 sip-6.9.1 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command Preparing metadata (pyproject.toml) Querying qmake about your Qt installation... This is the GPL version of PyQt 6.8.0 (licensed under the GNU General Public License) for Python 3.14.0a2 on linux. Found the license file 'pyqt-gpl.sip'. Checking to see if the QtCore bindings can be built... Checking to see if the QtNetwork bindings can be built... Checking to see if the QtGui bindings can be built... Disabled QtGui bindings features: PyQt_OpenGL_ES2. Checking to see if the QtQml bindings can be built... Checking to see if the QtWidgets bindings can be built... Checking to see if the QtDBus bindings can be built... Checking to see if the QtDesigner bindings can be built... Checking to see if the QtHelp bindings can be built... Checking to see if the QtOpenGL bindings can be built... Checking to see if the QtOpenGLWidgets bindings can be built... Checking to see if the QtPrintSupport bindings can be built... Checking to see if the QtQuick bindings can be built... Checking to see if the QtQuick3D bindings can be built... Checking to see if the QtQuickWidgets bindings can be built... Checking to see if the QtSql bindings can be built... Checking to see if the QtSvg bindings can be built... Checking to see if the QtSvgWidgets bindings can be built... Checking to see if the QtTest bindings can be built... Checking to see if the QtXml bindings can be built... Checking to see if the QtMultimedia bindings can be built... Checking to see if the QtMultimediaWidgets bindings can be built... Checking to see if the QtPositioning bindings can be built... Checking to see if the QtRemoteObjects bindings can be built... Checking to see if the QtSensors bindings can be built... Checking to see if the QtSerialPort bindings can be built... Checking to see if the QtWebChannel bindings can be built... Checking to see if the QtWebSockets bindings can be built... Checking to see if the QtBluetooth bindings can be built... Checking to see if the QtNfc bindings can be built... Checking to see if the QtPdf bindings can be built... Checking to see if the QtPdfWidgets bindings can be built... Checking to see if the QtSpatialAudio bindings can be built... Checking to see if the QtTextToSpeech bindings can be built... Checking to see if the QAxContainer bindings can be built... Checking to see if the dbus-python support should be built... The dbus-python package does not seem to be installed. These bindings will be built: QtCore, QtNetwork, QtGui, QtWidgets, QtDBus, QtOpenGL, QtOpenGLWidgets, QtPrintSupport, QtSql, QtTest, QtXml. Generating the QtCore bindings... Generating the QtNetwork bindings... Generating the QtGui bindings... Generating the QtWidgets bindings... Generating the QtDBus bindings... Generating the QtOpenGL bindings... Generating the QtOpenGLWidgets bindings... Generating the QtPrintSupport bindings... Generating the QtSql bindings... Generating the QtTest bindings... Generating the QtXml bindings... Generating the .pro file for the QtCore module... Generating the .pro file for the QtNetwork module... Generating the .pro file for the QtGui module... Generating the .pro file for the QtWidgets module... Generating the .pro file for the QtDBus module... Generating the .pro file for the QtOpenGL module... Generating the .pro file for the QtOpenGLWidgets module... Generating the .pro file for the QtPrintSupport module... Generating the .pro file for the QtSql module... Generating the .pro file for the QtTest module... Generating the .pro file for the QtXml module... Generating the top-level .pro file... Generating the Makefiles... Compiling the project... _in_process.py: 'make' failed returning 2 error: subprocess-exited-with-error ? Preparing metadata (pyproject.toml) did not run successfully. ? exit code: 1 ??> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/cc/venv/bin/python3.14t /home/cc/venv/lib64/python3.14t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpvcipq46h cwd: /tmp/pip-install-8ukfvg3e/pyqt6_3bab347013614fa486b79ee26b339281 Preparing metadata (pyproject.toml) ... error error: metadata-generation-failed ? Encountered error while generating package metadata. ??> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. From phil at riverbankcomputing.com Fri Dec 20 21:09:00 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Fri, 20 Dec 2024 21:09:00 +0000 Subject: Source distribution for PyQt6-WebEngine-Qt6? In-Reply-To: References: Message-ID: <83646f09747fc4bd938981f14c5d3cd7@riverbankcomputing.com> On 19/12/2024 23:17, Matt Olson wrote: > Hi there, > > I work at Meta and I am attempting to import the PyQt6-WebEngine pkg > into our build system from pypi. However, I'm not able to do this > because our system requires that all dependencies have a source > distribution, but this one does not (PyQt6-WebEngine-Qt6): > > https://pypi.org/project/PyQt6-WebEngine-Qt6/6.8.1/ > > Would you be able to upload the sdist for this package on pypi? Or if > the source code is hosted on github I can build it. > > Thanks, > > Matt The Qt6 wheels are a repackaging of a subset of the Qt installation created by the online installer from the Qt company. This is one location of the sources... https://download.qt.io/archive/qt/6.8/6.8.1/single/ Phil From phil at riverbankcomputing.com Fri Dec 20 21:23:02 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Fri, 20 Dec 2024 21:23:02 +0000 Subject: Building from source fails In-Reply-To: References: Message-ID: Python v3.14 isn't supported. Try with v3.13. Phil On 20/12/2024 14:51, C L wrote: > (venv) cc at pretty:~$ pip install -v PyQt5 --config-settings > --confirm-license= > Using pip 24.3.1 from > /home/cc/venv/lib64/python3.14t/site-packages/pip (python 3.14) > Collecting PyQt5 > Using cached PyQt5-5.15.11.tar.gz (3.2 MB) > Running command pip subprocess to install build dependencies > Using pip 24.3.1 from > /home/cc/venv/lib/python3.14t/site-packages/pip (python 3.14) > Collecting sip<7,>=6.8.6 > Obtaining dependency information for sip<7,>=6.8.6 from > https://files.pythonhosted.org/packages/0b/b5/aafbb1f35d53ae590d5c0455edc0694a355c3dac22a88392421789c4edd1/sip-6.9.1-py3-none-any.whl.metadata > Using cached sip-6.9.1-py3-none-any.whl.metadata (5.3 kB) > Collecting PyQt-builder<2,>=1.14.1 > Obtaining dependency information for PyQt-builder<2,>=1.14.1 from > https://files.pythonhosted.org/packages/a2/7c/e3ff1467ac5e1e094c210a877c75dd872d9110f8e602cb7c0a4d620fd47c/PyQt_builder-1.17.0-py3-none-any.whl.metadata > Using cached PyQt_builder-1.17.0-py3-none-any.whl.metadata (3.3 kB) > Collecting packaging (from sip<7,>=6.8.6) > Obtaining dependency information for packaging from > https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl.metadata > Using cached packaging-24.2-py3-none-any.whl.metadata (3.2 kB) > Collecting setuptools>=69.5 (from sip<7,>=6.8.6) > Obtaining dependency information for setuptools>=69.5 from > https://files.pythonhosted.org/packages/55/21/47d163f615df1d30c094f6c8bbb353619274edccf0327b185cc2493c2c33/setuptools-75.6.0-py3-none-any.whl.metadata > Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB) > Using cached sip-6.9.1-py3-none-any.whl (471 kB) > Using cached PyQt_builder-1.17.0-py3-none-any.whl (3.7 MB) > Using cached setuptools-75.6.0-py3-none-any.whl (1.2 MB) > Using cached packaging-24.2-py3-none-any.whl (65 kB) > Installing collected packages: setuptools, packaging, sip, > PyQt-builder > Creating /tmp/pip-build-env-3i0svnrb/overlay/bin > changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-build > to 755 > changing mode of > /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-distinfo to 755 > changing mode of > /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-install to 755 > changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-module > to 755 > changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-sdist > to 755 > changing mode of /tmp/pip-build-env-3i0svnrb/overlay/bin/sip-wheel > to 755 > changing mode of > /tmp/pip-build-env-3i0svnrb/overlay/bin/pyqt-bundle to 755 > changing mode of > /tmp/pip-build-env-3i0svnrb/overlay/bin/pyqt-qt-wheel to 755 > ERROR: pip's dependency resolver does not currently take into > account all the packages that are installed. This behaviour is the > source of the following dependency conflicts. > sphinx 8.1.3 requires docutils<0.22,>=0.20, but you have docutils > 0.16 which is incompatible. > Successfully installed PyQt-builder-1.17.0 packaging-24.2 > setuptools-75.6.0 sip-6.9.1 > Installing build dependencies ... done > Running command Getting requirements to build wheel > Getting requirements to build wheel ... done > Running command Preparing metadata (pyproject.toml) > Querying qmake about your Qt installation... > This is the GPL version of PyQt 5.15.11 (licensed under the GNU > General Public License) for Python 3.14.0a2 on linux. > Found the license file 'pyqt-gpl.sip'. > Checking to see if the QtCore bindings can be built... > Checking to see if the QtNetwork bindings can be built... > Checking to see if the QtGui bindings can be built... > Checking to see if the QtWidgets bindings can be built... > Checking to see if the QtQml bindings can be built... > Checking to see if the QAxContainer bindings can be built... > Checking to see if the QtAndroidExtras bindings can be built... > Checking to see if the QtBluetooth bindings can be built... > Checking to see if the QtDBus bindings can be built... > Checking to see if the QtDesigner bindings can be built... > Checking to see if the Enginio bindings can be built... > Checking to see if the QtHelp bindings can be built... > Checking to see if the QtMacExtras bindings can be built... > Checking to see if the QtMultimedia bindings can be built... > Checking to see if the QtMultimediaWidgets bindings can be built... > Checking to see if the QtNfc bindings can be built... > Checking to see if the QtOpenGL bindings can be built... > Checking to see if the QtPositioning bindings can be built... > Checking to see if the QtLocation bindings can be built... > Checking to see if the QtPrintSupport bindings can be built... > Checking to see if the QtQuick bindings can be built... > Checking to see if the QtQuick3D bindings can be built... > Checking to see if the QtQuickWidgets bindings can be built... > Checking to see if the QtRemoteObjects bindings can be built... > Checking to see if the QtSensors bindings can be built... > Checking to see if the QtSerialPort bindings can be built... > Checking to see if the QtSql bindings can be built... > Checking to see if the QtSvg bindings can be built... > Checking to see if the QtTest bindings can be built... > Checking to see if the QtTextToSpeech bindings can be built... > Checking to see if the QtWebChannel bindings can be built... > Checking to see if the QtWebKit bindings can be built... > Checking to see if the QtWebKitWidgets bindings can be built... > Checking to see if the QtWebSockets bindings can be built... > Checking to see if the QtWinExtras bindings can be built... > Checking to see if the QtX11Extras bindings can be built... > Checking to see if the QtXml bindings can be built... > Checking to see if the QtXmlPatterns bindings can be built... > Checking to see if the _QOpenGLFunctions_2_0 bindings can be built... > Checking to see if the _QOpenGLFunctions_2_1 bindings can be built... > Checking to see if the _QOpenGLFunctions_4_1_Core bindings can be > built... > Checking to see if the dbus-python support should be built... > The dbus-python package does not seem to be installed. > These bindings will be built: QtCore, QtNetwork, QtGui, QtWidgets, > QtDBus, QtOpenGL, QtPrintSupport, QtSql, QtTest, QtXml, Qt, > _QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1, > _QOpenGLFunctions_4_1_Core, pylupdate, pyrcc. > Generating the QtCore bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtNetwork bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtGui bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtWidgets bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtDBus bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtOpenGL bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtPrintSupport bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtSql bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtTest bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the QtXml bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the Qt bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the _QOpenGLFunctions_2_0 bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the _QOpenGLFunctions_2_1 bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the _QOpenGLFunctions_4_1_Core bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the pylupdate bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the pyrcc bindings... > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 118: '%BIGetReadBufferCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 131: '%BIGetSegCountCode' is deprecated and will be removed in > SIP v7.0.0 > > /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf/sip/QtCore/qbytearray.sip: > line 138: '%BIGetCharBufferCode' is deprecated and will be removed in > SIP v7.0.0 > Generating the .pro file for the QtCore module... > Generating the .pro file for the QtNetwork module... > Generating the .pro file for the QtGui module... > Generating the .pro file for the QtWidgets module... > Generating the .pro file for the QtDBus module... > Generating the .pro file for the QtOpenGL module... > Generating the .pro file for the QtPrintSupport module... > Generating the .pro file for the QtSql module... > Generating the .pro file for the QtTest module... > Generating the .pro file for the QtXml module... > Generating the .pro file for the Qt module... > Generating the .pro file for the _QOpenGLFunctions_2_0 module... > Generating the .pro file for the _QOpenGLFunctions_2_1 module... > Generating the .pro file for the _QOpenGLFunctions_4_1_Core module... > Generating the .pro file for the pylupdate module... > Generating the .pro file for the pyrcc module... > Generating the top-level .pro file... > Generating the Makefiles... > Compiling the project... > _in_process.py: 'make' failed returning 2 > error: subprocess-exited-with-error > > ? Preparing metadata (pyproject.toml) did not run successfully. > ? exit code: 1 > ??> See above for output. > > note: This error originates from a subprocess, and is likely not a > problem with pip. > full command: /home/cc/venv/bin/python3.14t > /home/cc/venv/lib64/python3.14t/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py > prepare_metadata_for_build_wheel /tmp/tmp5m37q6_f > cwd: /tmp/pip-install-xcowgmhy/pyqt5_5fd95f757c274c4989e77cd4bcd37baf > Preparing metadata (pyproject.toml) ... error > error: metadata-generation-failed > > ? Encountered error while generating package metadata. > ??> See above for output. > > note: This is an issue with the package mentioned above, not pip. > hint: See above for details. From phil at riverbankcomputing.com Sat Dec 21 10:37:10 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Sat, 21 Dec 2024 10:37:10 +0000 Subject: RHEL 8 support In-Reply-To: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> References: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> Message-ID: On 20/12/2024 00:14, Greg Couch wrote: > Actually, it's a bigger problem.? Red Hat 9 uses glib 2.34.? So it > won't install there either. > > ??? -- Greg > > On 12/19/24 15:39, Greg Couch wrote: >> Is there going to be a (commercial) downloadable version of PyQt 6.8 >> that supports Red Hat 8??? According to >> https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still >> supported.? But the released PyQt 6.8 requires glibc 2.35 >> (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't >> install.? I see the same problem with the PyQt6-Qt6 and >> PyQt6-WebEngine downloads. >> >> ??? -- Greg The only way I can guarantee a wheel will work is to specify a manylinux version that matches the GLIBC of the build system. By "work" I mean it will run once installed (rather than can be installed and run). I've always tried to use Ubuntu when I can (mainly for historical reasons), but that has the disadvantage of tending to use more modern versions of packages. However, it is quite easy for me to switch the distro to use for the build system so I'll do some testing with Centos 8. Phil From tuug at gmx.us Sat Dec 21 13:29:41 2024 From: tuug at gmx.us (C L) Date: Sat, 21 Dec 2024 14:29:41 +0100 Subject: Unable to build PyQt5-5.15.12.dev2410191555 snapshot Message-ID: An HTML attachment was scrubbed... URL: From tuug at gmx.us Sat Dec 21 13:51:08 2024 From: tuug at gmx.us (C L) Date: Sat, 21 Dec 2024 14:51:08 +0100 Subject: Further Compilation Progress of PyQt 6.8.1.dev2412131231 Message-ID: An HTML attachment was scrubbed... URL: From swt at techie.net Sat Dec 21 14:38:19 2024 From: swt at techie.net (Scott Talbert) Date: Sat, 21 Dec 2024 09:38:19 -0500 (EST) Subject: RHEL 8 support In-Reply-To: References: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> Message-ID: <8127f1bb-93c0-13dd-5095-4921def8d6b9@techie.net> On Sat, 21 Dec 2024, Phil Thompson wrote: > On 20/12/2024 00:14, Greg Couch wrote: >> Actually, it's a bigger problem.? Red Hat 9 uses glib 2.34.? So it >> won't install there either. >> >> ??? -- Greg >> >> On 12/19/24 15:39, Greg Couch wrote: >>> Is there going to be a (commercial) downloadable version of PyQt 6.8 that >>> supports Red Hat 8??? According to >>> https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still >>> supported.? But the released PyQt 6.8 requires glibc 2.35 >>> (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't >>> install.? I see the same problem with the PyQt6-Qt6 and PyQt6-WebEngine >>> downloads. >>> >>> ??? -- Greg > > The only way I can guarantee a wheel will work is to specify a manylinux > version that matches the GLIBC of the build system. By "work" I mean it will > run once installed (rather than can be installed and run). I've always tried > to use Ubuntu when I can (mainly for historical reasons), but that has the > disadvantage of tending to use more modern versions of packages. > > However, it is quite easy for me to switch the distro to use for the build > system so I'll do some testing with Centos 8. Hi Phil, Have you considered using cibuildwheel? https://github.com/pypa/cibuildwheel It takes a little bit to set up, but once it's working, it works pretty well. Scott From phil at riverbankcomputing.com Sat Dec 21 14:40:07 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Sat, 21 Dec 2024 14:40:07 +0000 Subject: Further Compilation Progress of PyQt 6.8.1.dev2412131231 In-Reply-To: References: Message-ID: If you actually read the error messages... "The limited API is not currently supported in the free-threaded build" As I have already said, v3.14 is not supported. Phil On 21/12/2024 13:51, C L wrote: > sip-install --confirm-license --qmake /bin/qmake6 --jobs $(nproc) > --verbose > Querying qmake about your Qt installation... > /bin/qmake6 -query > This is the GPL version of PyQt 6.8.1.dev2412131231 (licensed under > the GNU G > eneral Public License) for Python 3.14.0a2+ on linux. > Found the license file 'pyqt-gpl.sip'. > Checking to see if the QtCore bindings can be built... > /bin/qmake6 QtCore.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtCore/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_KEYPAD_NAVIGATION > -DQT_NO_DE > BUG -DQT_CORE_LIB -I. -I../../pyqt6-6.8.1.dev2412131231/qpy/QtCore > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtCore.o > ../../pyqt6-6.8.1.dev2412131231/config-tests/cfgtest_QtCore.cpp > g++ -Wl,-O1 -o QtCore cfgtest_QtCore.o > /usr/lib/x86_64-linux-gnu/libQt6Cor > e.so -lpthread > /tmp/tmp9odbej8i/cfgtest_QtCore/./QtCore > /tmp/tmp9odbej8i/cfgtest_QtCore/cfgt > est_QtCore.out > Checking to see if the QtNetwork bindings can be built... > /bin/qmake6 QtNetwork.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtNetwork/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_NETWORK_LIB -D > QT_CORE_LIB -I. -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtNetwork > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > cfgtest_QtNetwork.o > ../../pyqt6-6.8.1.dev2412131231/config-tests/cfgtest_QtNetwork.cpp > g++ -Wl,-O1 -o QtNetwork cfgtest_QtNetwork.o > /usr/lib/x86_64-linux-gnu/lib > Qt6Network.so /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread > /tmp/tmp9odbej8i/cfgtest_QtNetwork/./QtNetwork > /tmp/tmp9odbej8i/cfgtest_QtNet > work/cfgtest_QtNetwork.out > Checking to see if the QtGui bindings can be built... > /bin/qmake6 QtGui.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtGui/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB > -DQT_C > ORE_LIB -I. -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtGui.o > ../../pyqt6-6.8.1.dev2412131231/config-tests/cfgtest_QtGui.cpp > g++ -Wl,-O1 > -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o QtGui cfgtest_QtGui > .o /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > > /tmp/tmp9odbej8i/cfgtest_QtGui/./QtGui > /tmp/tmp9odbej8i/cfgtest_QtGui/cfgtest > _QtGui.out > Disabled QtGui bindings features: PyQt_OpenGL_ES2. > Checking to see if the QtQml bindings can be built... > /bin/qmake6 QtQml.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtQml/.qmake.stash > Project ERROR: Unknown module(s) in QT: qml > Checking to see if the QtWidgets bindings can be built... > /bin/qmake6 QtWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtWidgets/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_WIDGETS_LIB -D > QT_GUI_LIB -DQT_CORE_LIB -I. > -I../../pyqt6-6.8.1.dev2412131231/qpy/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > cfgtest_QtWidgets.o cfgtest_QtWidgets.cpp > g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o > QtWidgets cfgtest_Q > tWidgets.o /usr/lib/x86_64-linux-gnu/libQt6Widgets.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > > Checking to see if the QtDBus bindings can be built... > /bin/qmake6 QtDBus.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtDBus/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_DBUS_LIB -DQT_ > CORE_LIB -I. -I../../pyqt6-6.8.1.dev2412131231/qpy/QtDBus > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtDBus > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtDBus.o > cfgtest_QtDBus.cpp g++ -Wl,-O1 -o > QtDBus cfgtest_QtDBus.o /usr/lib/x86_64-linux-gnu/libQt6DBu > s.so /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread > Checking to see if the QtDesigner bindings can be built... > /bin/qmake6 QtDesigner.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtDesigner/.qmake.stash > Project ERROR: Unknown module(s) in QT: designer > Checking to see if the QtHelp bindings can be built... > /bin/qmake6 QtHelp.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtHelp/.qmake.stash > Project ERROR: Unknown module(s) in QT: help > Checking to see if the QtOpenGL bindings can be built... > /bin/qmake6 QtOpenGL.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtOpenGL/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_OPENGL_LIB -DQ > T_GUI_LIB -DQT_CORE_LIB -I. > -I../../pyqt6-6.8.1.dev2412131231/qpy/QtOpenGL > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > cfgtest_QtOpenGL.o cfgtest_QtOpenGL.cpp > g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu > -o QtOpenGL cfgtest_Qt > OpenGL.o /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > > Checking to see if the QtOpenGLWidgets bindings can be built... > /bin/qmake6 QtOpenGLWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtOpenGLWidgets/.qmake.sta > sh > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_OPENGLWIDGETS_ > LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGLWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtOpenGL > -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > cfgtest_QtOpenGLWidgets.o cfgtest_QtOpenGLWidgets.cpp > g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o > QtOpenGLWidgets cfg > test_QtOpenGLWidgets.o > /usr/lib/x86_64-linux-gnu/libQt6OpenGLWidgets.so > /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Widgets.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > Checking to see if the > QtPrintSupport bindings can be built... > /bin/qmake6 QtPrintSupport.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtPrintSupport/.qmake.stas > h > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_PRINTSUPPORT_L > IB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtPrintSupport > -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > cfgtest_QtPrintSupport.o > ../../pyqt6-6.8.1.dev2412131231/config-tests/cfgtest_QtPrintSupport.cpp > g++ -Wl,-O1 > -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o QtPrintSupport cfgt > est_QtPrintSupport.o /usr/lib/x86_64-linux-gnu/libQt6PrintSupport.so > /usr/lib/x86_64-linux-gnu/libQt6Widgets.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > /tmp/tmp9odbej8i/cfgtest_QtPrintSupport/./QtPrintSupport > /tmp/tmp9odbej8i/cfg > test_QtPrintSupport/cfgtest_QtPrintSupport.out > Checking to see if the QtQuick bindings can be built... > /bin/qmake6 QtQuick.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtQuick/.qmake.stash > Project ERROR: Unknown module(s) in QT: quick > Checking to see if the QtQuick3D bindings can be built... > /bin/qmake6 QtQuick3D.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtQuick3D/.qmake.stash > Project ERROR: Unknown module(s) in QT: quick3d > Checking to see if the QtQuickWidgets bindings can be built... > /bin/qmake6 QtQuickWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtQuickWidgets/.qmake.stas > h > Project ERROR: Unknown module(s) in QT: quickwidgets > Checking to see if the QtSql bindings can be built... > /bin/qmake6 QtSql.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtSql/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_WIDGETS_LIB -D > QT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtSql > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtSql.o > cfgtest_QtSql.cpp g++ > -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o QtSql > cfgtest_QtSql > .o /usr/lib/x86_64-linux-gnu/libQt6Widgets.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Sql.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > Checking to see if the QtSvg > bindings can be built... > /bin/qmake6 QtSvg.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtSvg/.qmake.stash > Project ERROR: Unknown module(s) in QT: svg > Checking to see if the QtSvgWidgets bindings can be built... > /bin/qmake6 QtSvgWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtSvgWidgets/.qmake.stash > Project ERROR: Unknown module(s) in QT: svgwidgets > Checking to see if the QtTest bindings can be built... > /bin/qmake6 QtTest.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtTest/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG > -DQT_WIDGETS_LIB -D > QT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB > -DQT_TESTCASE_BUILDDIR='"/tmp/tmp9odbej8i/cfgtest_QtTest"' -I. > -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt6/QtGui > -I/usr/include/x86_64-linux-gnu/qt6/QtTest > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtTest.o > cfgtest_QtTest.cpp > g++ -Wl,-O1 -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -o QtTest > cfgtest_QtTe > st.o /usr/lib/x86_64-linux-gnu/libQt6Widgets.so > /usr/lib/x86_64-linux-gnu/libQt6Gui.so > /usr/lib/x86_64-linux-gnu/libGLX.so > /usr/lib/x86_64-linux-gnu/libOpenGL.so > /usr/lib/x86_64-linux-gnu/libQt6Test.so > /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread -lGLX -lOpenGL > Checking to see if the QtXml bindings > can be built... > /bin/qmake6 QtXml.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtXml/.qmake.stash > make > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB > -DQT_C > ORE_LIB -I. -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtXml > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o cfgtest_QtXml.o > cfgtest_QtXml.cpp g++ -Wl,-O1 -o QtXml cfgtest_QtXml.o > /usr/lib/x86_64-linux-gnu/libQt6Xml.s > o /usr/lib/x86_64-linux-gnu/libQt6Core.so -lpthread > Checking to see if the QtMultimedia bindings can be built... > /bin/qmake6 QtMultimedia.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtMultimedia/.qmake.stash > Project ERROR: Unknown module(s) in QT: multimedia > Checking to see if the QtMultimediaWidgets bindings can be built... > /bin/qmake6 QtMultimediaWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtMultimediaWidgets/.qmake > .stash > Project ERROR: Unknown module(s) in QT: multimediawidgets > Checking to see if the QtPositioning bindings can be built... > /bin/qmake6 QtPositioning.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtPositioning/.qmake.stash > Project ERROR: Unknown module(s) in QT: positioning > Checking to see if the QtRemoteObjects bindings can be built... > /bin/qmake6 QtRemoteObjects.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtRemoteObjects/.qmake.sta > sh > Project ERROR: Unknown module(s) in QT: remoteobjects > Checking to see if the QtSensors bindings can be built... > /bin/qmake6 QtSensors.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtSensors/.qmake.stash > Project ERROR: Unknown module(s) in QT: sensors > Checking to see if the QtSerialPort bindings can be built... > /bin/qmake6 QtSerialPort.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtSerialPort/.qmake.stash > Project ERROR: Unknown module(s) in QT: serialport > Checking to see if the QtWebChannel bindings can be built... > /bin/qmake6 QtWebChannel.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtWebChannel/.qmake.stash > Project ERROR: Unknown module(s) in QT: webchannel > Checking to see if the QtWebSockets bindings can be built... > /bin/qmake6 QtWebSockets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtWebSockets/.qmake.stash > Project ERROR: Unknown module(s) in QT: websockets > Checking to see if the QtBluetooth bindings can be built... > /bin/qmake6 QtBluetooth.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtBluetooth/.qmake.stash > Project ERROR: Unknown module(s) in QT: bluetooth > Checking to see if the QtNfc bindings can be built... > /bin/qmake6 QtNfc.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtNfc/.qmake.stash > Project ERROR: Unknown module(s) in QT: nfc > Checking to see if the QtPdf bindings can be built... > /bin/qmake6 QtPdf.pro > Info: creating stash file /tmp/tmp9odbej8i/cfgtest_QtPdf/.qmake.stash > Project ERROR: Unknown module(s) in QT: pdf > Checking to see if the QtPdfWidgets bindings can be built... > /bin/qmake6 QtPdfWidgets.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtPdfWidgets/.qmake.stash > Project ERROR: Unknown module(s) in QT: pdfwidgets > Checking to see if the QtSpatialAudio bindings can be built... > /bin/qmake6 QtSpatialAudio.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtSpatialAudio/.qmake.stas > h > Project ERROR: Unknown module(s) in QT: spatialaudio > Checking to see if the QtTextToSpeech bindings can be built... > /bin/qmake6 QtTextToSpeech.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QtTextToSpeech/.qmake.stas > h > Project ERROR: Unknown module(s) in QT: texttospeech > qmlintegration > Checking to see if the QAxContainer bindings can be built... > /bin/qmake6 QAxContainer.pro > Info: creating stash file > /tmp/tmp9odbej8i/cfgtest_QAxContainer/.qmake.stash > Project ERROR: Unknown module(s) in QT: axcontainer > Checking to see if the dbus-python support should be built... > :488: RuntimeWarning: The global > interpreter loc > k (GIL) has been enabled to load module '_dbus_bindings', which has > not declared that it can run safely without the GIL. To override this > behavior and keep the GIL disabled (at your own risk), run with > PYTHON_GIL=0 or -Xgil=0. pkg-config --cflags-only-I --libs dbus-1 > dbus/dbus-python.h could not be found and so the dbus-python support > module w > ill be disabled. If dbus-python is installed then use the --dbus > argument to explicitly specify the directory containing > dbus/dbus-python.h. These bindings will be built: QtCore, > QtNetwork, QtGui, QtWidgets, QtDBus, Qt > OpenGL, QtOpenGLWidgets, QtPrintSupport, QtSql, QtTest, QtXml. > Generating the QtCore bindings... > Generating the QtNetwork bindings... > Generating the QtGui bindings... > Generating the QtWidgets bindings... > Generating the QtDBus bindings... > Generating the QtOpenGL bindings... > Generating the QtOpenGLWidgets bindings... > Generating the QtPrintSupport bindings... > Generating the QtSql bindings... > Generating the QtTest bindings... > Generating the QtXml bindings... > Generating the pylupdate6 script... > Generating the pyuic6 script... > Generating the .pro file for the QtCore module... > Generating the .pro file for the QtNetwork module... > Generating the .pro file for the QtGui module... > Generating the .pro file for the QtWidgets module... > Generating the .pro file for the QtDBus module... > Generating the .pro file for the QtOpenGL module... > Generating the .pro file for the QtOpenGLWidgets module... > Generating the .pro file for the QtPrintSupport module... > Generating the .pro file for the QtSql module... > Generating the .pro file for the QtTest module... > Generating the .pro file for the QtXml module... > Generating the top-level .pro file... > Generating the Makefiles... > /bin/qmake6 -recursive PyQt6.pro > Info: creating stash file /tmp/tmp9odbej8i/.qmake.stash > Reading /tmp/tmp9odbej8i/QtCore/QtCore.pro > Reading /tmp/tmp9odbej8i/QtNetwork/QtNetwork.pro > Reading /tmp/tmp9odbej8i/QtGui/QtGui.pro > Reading /tmp/tmp9odbej8i/QtWidgets/QtWidgets.pro > Reading /tmp/tmp9odbej8i/QtDBus/QtDBus.pro > Reading /tmp/tmp9odbej8i/QtOpenGL/QtOpenGL.pro > Reading /tmp/tmp9odbej8i/QtOpenGLWidgets/QtOpenGLWidgets.pro > Reading /tmp/tmp9odbej8i/QtPrintSupport/QtPrintSupport.pro > Reading /tmp/tmp9odbej8i/QtSql/QtSql.pro > Reading /tmp/tmp9odbej8i/QtTest/QtTest.pro > Reading /tmp/tmp9odbej8i/QtXml/QtXml.pro > Compiling the project... > make -j 2 > cd QtCore/ && ( test -e Makefile || /bin/qmake6 -o Makefile > /tmp/tmp9odbej8i/ > QtCore/QtCore.pro ) && make -f Makefile > make[1]: Entering directory '/tmp/tmp9odbej8i/QtCore' > g++ -c -pipe -O2 -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC > -DPy_LIMITE > D_API=0x03090000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public > -DQT_KEYPAD_NAVIGATION -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN > -DQT_CORE_LIB -I. -I. -I.. > -I../../pyqt6-6.8.1.dev2412131231/qpy/QtCore > -I/usr/include/python3.14t -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > sipQtCorecmodule.o sipQtCorecmodule.cpp > g++ -c -pipe -O2 -fno-exceptions -Wall > -Wextra -D_REENTRANT -fPIC -DPy_LIMITE > D_API=0x03090000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public > -DQT_KEYPAD_NAVIGATION -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN > -DQT_CORE_LIB -I. -I. -I.. > -I../../pyqt6-6.8.1.dev2412131231/qpy/QtCore > -I/usr/include/python3.14t -I/usr/include/x86_64-linux-gnu/qt6 > -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I. > -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -o > sipQtCoreQList0600stdpair0100QString0100QString.o > sipQtCoreQList0600stdpair0100QString0100QString.cpp > In file included > from ../sip.h:14, > from sipAPIQtCore.h:33, > from > sipQtCoreQList0600stdpair0100QString0100QString.cpp:24: > /usr/include/python3.14t/Python.h:51:4: error: #error "The limited API > is not > currently supported in the free-threaded build" > 51 | # error "The limited API is not currently supported in > the free-thre > aded build" > | ^~~~~ > In file included from ../sip.h:14, > from sipAPIQtCore.h:33, > from sipQtCorecmodule.cpp:24: > /usr/include/python3.14t/Python.h:51:4: error: #error "The limited API > is not > currently supported in the free-threaded build" > 51 | # error "The limited API is not currently supported in > the free-thre > aded build" > | ^~~~~ > In file included from /usr/include/python3.14t/Python.h:72: > /usr/include/python3.14t/object.h:146:5: error: 'PyMutex' does not > name a typ > e > 146 | PyMutex ob_mutex; // per-object lock > | ^~~~~~~ > /usr/include/python3.14t/object.h: In function 'void > Py_SET_SIZE(PyVarObject* > , Py_ssize_t)': > /usr/include/python3.14t/object.h:299:5: error: > '_Py_atomic_store_ssize_relax > ed' was not declared in this scope > 299 | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.14t/Python.h:73: > /usr/include/python3.14t/refcount.h: In function 'Py_ssize_t > _Py_REFCNT(PyObj > ect*)': > /usr/include/python3.14t/refcount.h:97:26: error: > '_Py_atomic_load_uint32_rel > axed' was not declared in this scope > 97 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&ob->ob_ref_l > ocal); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:101:29: error: > '_Py_atomic_load_ssize_rel > axed' was not declared in this scope > 101 | Py_ssize_t shared = > _Py_atomic_load_ssize_relaxed(&ob->ob_ref > _shared); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'int > _Py_IsImmortal(PyObject > *)': > /usr/include/python3.14t/refcount.h:115:13: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 115 | return > (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) == > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'void > Py_SET_REFCNT(PyObject > *, Py_ssize_t)': > /usr/include/python3.14t/refcount.h:146:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 146 | if (_Py_IsOwnedByCurrentThread(ob)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.14t/Python.h:72: > /usr/include/python3.14t/object.h:146:5: error: 'PyMutex' does not > name a typ > e > 146 | PyMutex ob_mutex; // per-object lock > | ^~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'void > Py_INCREF(PyObject*)': > /usr/include/python3.14t/refcount.h:241:22: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 241 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&op->ob_ref_local > ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/object.h: In function 'void > Py_SET_SIZE(PyVarObject* > , Py_ssize_t)': > /usr/include/python3.14t/object.h:299:5: error: > '_Py_atomic_store_ssize_relax > ed' was not declared in this scope > 299 | _Py_atomic_store_ssize_relaxed(&ob->ob_size, size); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:248:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 248 | if (_Py_IsOwnedByCurrentThread(op)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.14t/Python.h:73: > /usr/include/python3.14t/refcount.h: In function 'Py_ssize_t > _Py_REFCNT(PyObj > ect*)': > /usr/include/python3.14t/refcount.h:97:26: error: > '_Py_atomic_load_uint32_rel > axed' was not declared in this scope > 97 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&ob->ob_ref_l > ocal); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:249:9: error: > '_Py_atomic_store_uint32_re > laxed' was not declared in this scope > 249 | > _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local) > ; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:101:29: error: > '_Py_atomic_load_ssize_rel > axed' was not declared in this scope > 101 | Py_ssize_t shared = > _Py_atomic_load_ssize_relaxed(&ob->ob_ref > _shared); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:252:9: error: > '_Py_atomic_add_ssize' was > not declared in this scope; did you mean '__atomic_add_fetch'? > 252 | _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << > _Py_REF_SHARED > _SHIFT)); > | ^~~~~~~~~~~~~~~~~~~~ > | __atomic_add_fetch > /usr/include/python3.14t/refcount.h: In function 'int > _Py_IsImmortal(PyObject > *)': > /usr/include/python3.14t/refcount.h:115:13: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 115 | return > (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) == > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'void > Py_DECREF(PyObject*)': > /usr/include/python3.14t/refcount.h:335:22: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 335 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&op->ob_ref_local > ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'void > Py_SET_REFCNT(PyObject > *, Py_ssize_t)': > /usr/include/python3.14t/refcount.h:146:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 146 | if (_Py_IsOwnedByCurrentThread(ob)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:341:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 341 | if (_Py_IsOwnedByCurrentThread(op)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h: In function 'void > Py_INCREF(PyObject*)': > /usr/include/python3.14t/refcount.h:241:22: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 241 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&op->ob_ref_local > ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:343:9: error: > '_Py_atomic_store_uint32_re > laxed' was not declared in this scope > 343 | > _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:248:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 248 | if (_Py_IsOwnedByCurrentThread(op)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:345:13: error: > '_Py_MergeZeroLocalRefcoun > t' was not declared in this scope > 345 | _Py_MergeZeroLocalRefcount(op); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:349:9: error: '_Py_DecRefShared' > was not > declared in this scope; did you mean '_Py_DecRef'? > 349 | _Py_DecRefShared(op); > | ^~~~~~~~~~~~~~~~ > | _Py_DecRef > /usr/include/python3.14t/refcount.h:249:9: error: > '_Py_atomic_store_uint32_re > laxed' was not declared in this scope > 249 | > _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local) > ; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:252:9: error: > '_Py_atomic_add_ssize' was > not declared in this scope; did you mean '__atomic_add_fetch'? > 252 | _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << > _Py_REF_SHARED > _SHIFT)); > | ^~~~~~~~~~~~~~~~~~~~ > | __atomic_add_fetch > /usr/include/python3.14t/refcount.h: In function 'void > Py_DECREF(PyObject*)': > /usr/include/python3.14t/refcount.h:335:22: error: > '_Py_atomic_load_uint32_re > laxed' was not declared in this scope > 335 | uint32_t local = > _Py_atomic_load_uint32_relaxed(&op->ob_ref_local > ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:341:9: error: > '_Py_IsOwnedByCurrentThread > ' was not declared in this scope > 341 | if (_Py_IsOwnedByCurrentThread(op)) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:343:9: error: > '_Py_atomic_store_uint32_re > laxed' was not declared in this scope > 343 | > _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:345:13: error: > '_Py_MergeZeroLocalRefcoun > t' was not declared in this scope > 345 | _Py_MergeZeroLocalRefcount(op); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.14t/refcount.h:349:9: error: '_Py_DecRefShared' > was not > declared in this scope; did you mean '_Py_DecRef'? > 349 | _Py_DecRefShared(op); > | ^~~~~~~~~~~~~~~~ > | _Py_DecRef > make[1]: *** [Makefile:1299: > sipQtCoreQList0600stdpair0100QString0100QString. > o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > /tmp/tmp9odbej8i/QtCore/sipQtCorecmodule.cpp: At global scope: > /tmp/tmp9odbej8i/QtCore/sipQtCorecmodule.cpp:9380:46: warning: > 'QtSystemMsg' > is deprecated: Use QtCriticalMsg instead. [-Wdeprecated-declarations] > 9380 | {sipName_QtSystemMsg, > static_cast(::QtSystemMsg)}, > | ^~~~~~~~~~~ > In file included from > /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:49, > from > /usr/include/x86_64-linux-gnu/qt6/QtCore/qmetatype.h:9, > from > /usr/include/x86_64-linux-gnu/qt6/QtCore/QMetaType:1, > from sipAPIQtCore.h:35: > /usr/include/x86_64-linux-gnu/qt6/QtCore/qlogging.h:37:5: note: > declared here > 37 | QtSystemMsg Q_DECL_ENUMERATOR_DEPRECATED_X("Use > QtCriticalMsg ins > tead.") = QtCriticalMsg > | ^~~~~~~~~~~ > /tmp/tmp9odbej8i/QtCore/sipQtCorecmodule.cpp: In function 'PyObject* > PyInit_Q > tCore()': > /tmp/tmp9odbej8i/QtCore/sipQtCorecmodule.cpp:9490:5: error: too > many initiali > zers for 'PyObject' {aka '_object'} > 9490 | }; > | ^ > /tmp/pyqt6-6.8.1.dev2412131231/sip/QtCore/qabstractitemmodel.sip: At > global s > cope: > > /tmp/pyqt6-6.8.1.dev2412131231/sip/QtCore/qabstractitemmodel.sip:340:13: > warn > ing: 'void qpycore_gc_modelroledata(PyObject*)' declared 'static' but > never defined [-Wunused-function] > 340 | static void qpycore_gc_modelroledata(PyObject > *mrd_obj); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > make[1]: *** [Makefile:1292: sipQtCorecmodule.o] Error 1 > make[1]: Leaving directory '/tmp/tmp9odbej8i/QtCore' > make: *** [Makefile:57: sub-QtCore-make_first-ordered] Error 2 > sip-install: 'make -j 2' failed returning 2 From g.bokota at mimuw.edu.pl Sat Dec 21 14:40:33 2024 From: g.bokota at mimuw.edu.pl (Grzegorz Bokota) Date: Sat, 21 Dec 2024 15:40:33 +0100 Subject: RHEL 8 support In-Reply-To: <8127f1bb-93c0-13dd-5095-4921def8d6b9@techie.net> References: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> <8127f1bb-93c0-13dd-5095-4921def8d6b9@techie.net> Message-ID: Cibiuldwheel maintainer here. I could response on some questions if simplify and speedup shopping of PyQt wheels. Regards. Grzegorz sob., 21 gru 2024, 15:38 u?ytkownik Scott Talbert napisa?: > On Sat, 21 Dec 2024, Phil Thompson wrote: > > > On 20/12/2024 00:14, Greg Couch wrote: > >> Actually, it's a bigger problem. Red Hat 9 uses glib 2.34. So it > >> won't install there either. > >> > >> -- Greg > >> > >> On 12/19/24 15:39, Greg Couch wrote: > >>> Is there going to be a (commercial) downloadable version of PyQt 6.8 > that > >>> supports Red Hat 8? According to > >>> https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still > >>> supported. But the released PyQt 6.8 requires glibc 2.35 > >>> (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't > >>> install. I see the same problem with the PyQt6-Qt6 and > PyQt6-WebEngine > >>> downloads. > >>> > >>> -- Greg > > > > The only way I can guarantee a wheel will work is to specify a manylinux > > version that matches the GLIBC of the build system. By "work" I mean it > will > > run once installed (rather than can be installed and run). I've always > tried > > to use Ubuntu when I can (mainly for historical reasons), but that has > the > > disadvantage of tending to use more modern versions of packages. > > > > However, it is quite easy for me to switch the distro to use for the > build > > system so I'll do some testing with Centos 8. > > Hi Phil, > > Have you considered using cibuildwheel? > https://github.com/pypa/cibuildwheel > > It takes a little bit to set up, but once it's working, it works pretty > well. > > Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at riverbankcomputing.com Sat Dec 21 14:48:16 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Sat, 21 Dec 2024 14:48:16 +0000 Subject: RHEL 8 support In-Reply-To: References: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> <8127f1bb-93c0-13dd-5095-4921def8d6b9@techie.net> Message-ID: Thanks for the offer. I'm taking baby steps with moving stuff to GitHub - PyQt will be a while yet. Phil On 21/12/2024 14:40, Grzegorz Bokota wrote: > Cibiuldwheel maintainer here. I could response on some questions if > simplify and speedup shopping of PyQt wheels. > > Regards. > Grzegorz > > sob., 21 gru 2024, 15:38 u?ytkownik Scott Talbert > napisa?: > >> On Sat, 21 Dec 2024, Phil Thompson wrote: >> >> > On 20/12/2024 00:14, Greg Couch wrote: >> >> Actually, it's a bigger problem. Red Hat 9 uses glib 2.34. So it >> >> won't install there either. >> >> >> >> -- Greg >> >> >> >> On 12/19/24 15:39, Greg Couch wrote: >> >>> Is there going to be a (commercial) downloadable version of PyQt 6.8 >> that >> >>> supports Red Hat 8? According to >> >>> https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still >> >>> supported. But the released PyQt 6.8 requires glibc 2.35 >> >>> (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't >> >>> install. I see the same problem with the PyQt6-Qt6 and >> PyQt6-WebEngine >> >>> downloads. >> >>> >> >>> -- Greg >> > >> > The only way I can guarantee a wheel will work is to specify a manylinux >> > version that matches the GLIBC of the build system. By "work" I mean it >> will >> > run once installed (rather than can be installed and run). I've always >> tried >> > to use Ubuntu when I can (mainly for historical reasons), but that has >> the >> > disadvantage of tending to use more modern versions of packages. >> > >> > However, it is quite easy for me to switch the distro to use for the >> build >> > system so I'll do some testing with Centos 8. >> >> Hi Phil, >> >> Have you considered using cibuildwheel? >> https://github.com/pypa/cibuildwheel >> >> It takes a little bit to set up, but once it's working, it works >> pretty >> well. >> >> Scott From g.bokota at mimuw.edu.pl Sat Dec 21 14:56:26 2024 From: g.bokota at mimuw.edu.pl (Grzegorz Bokota) Date: Sat, 21 Dec 2024 15:56:26 +0100 Subject: RHEL 8 support In-Reply-To: References: <1a4004dd-0df7-44fc-9d78-a849aed21cbf@cgl.ucsf.edu> <8127f1bb-93c0-13dd-5095-4921def8d6b9@techie.net> Message-ID: Cibuildwheel should run on many ci. For linux it require any machine with docker. Regards, Grzegorz sob., 21 gru 2024, 15:48 u?ytkownik Phil Thompson < phil at riverbankcomputing.com> napisa?: > Thanks for the offer. I'm taking baby steps with moving stuff to GitHub > - PyQt will be a while yet. > > Phil > > On 21/12/2024 14:40, Grzegorz Bokota wrote: > > Cibiuldwheel maintainer here. I could response on some questions if > > simplify and speedup shopping of PyQt wheels. > > > > Regards. > > Grzegorz > > > > sob., 21 gru 2024, 15:38 u?ytkownik Scott Talbert > > napisa?: > > > >> On Sat, 21 Dec 2024, Phil Thompson wrote: > >> > >> > On 20/12/2024 00:14, Greg Couch wrote: > >> >> Actually, it's a bigger problem. Red Hat 9 uses glib 2.34. So it > >> >> won't install there either. > >> >> > >> >> -- Greg > >> >> > >> >> On 12/19/24 15:39, Greg Couch wrote: > >> >>> Is there going to be a (commercial) downloadable version of PyQt 6.8 > >> that > >> >>> supports Red Hat 8? According to > >> >>> https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still > >> >>> supported. But the released PyQt 6.8 requires glibc 2.35 > >> >>> (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't > >> >>> install. I see the same problem with the PyQt6-Qt6 and > >> PyQt6-WebEngine > >> >>> downloads. > >> >>> > >> >>> -- Greg > >> > > >> > The only way I can guarantee a wheel will work is to specify a > manylinux > >> > version that matches the GLIBC of the build system. By "work" I mean > it > >> will > >> > run once installed (rather than can be installed and run). I've always > >> tried > >> > to use Ubuntu when I can (mainly for historical reasons), but that has > >> the > >> > disadvantage of tending to use more modern versions of packages. > >> > > >> > However, it is quite easy for me to switch the distro to use for the > >> build > >> > system so I'll do some testing with Centos 8. > >> > >> Hi Phil, > >> > >> Have you considered using cibuildwheel? > >> https://github.com/pypa/cibuildwheel > >> > >> It takes a little bit to set up, but once it's working, it works > >> pretty > >> well. > >> > >> Scott > -------------- next part -------------- An HTML attachment was scrubbed... URL: From detlev at die-offenbachs.de Sat Dec 21 15:44:07 2024 From: detlev at die-offenbachs.de (Detlev Offenbach) Date: Sat, 21 Dec 2024 16:44:07 +0100 Subject: Issue importing latest PyQt6-WebEngine Message-ID: <31d5c408-03cf-42ff-9c8b-86c291a75650@die-offenbachs.de> Hi Phil, I am having issues importing PyQt6.QtWebEngineWidgets in Fedora 41. Here is the Python shell output. ------------------------------ Python 3.13.0 (main, Oct? 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] on fedora-vm [eric7 Environment] >>> from PyQt6 import QtWebEngineWidgets fedora-vm/3351/main: Traceback (innermost last): ? File "", line 1, in ImportError: /lib64/libQt6WebEngineCore.so.6: version `Qt_6_PRIVATE_API' not found (required by /lib64/python3.13/site-packages/PyQt6/Qt6/lib/libQt6WebEngineWidgets.so.6) ------------------------------- Regards, Detlev -- Detlev Offenbach detlev at die-offenbachs.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From detlev at die-offenbachs.de Sat Dec 21 15:58:07 2024 From: detlev at die-offenbachs.de (Detlev Offenbach) Date: Sat, 21 Dec 2024 16:58:07 +0100 Subject: Issue importing latest PyQt6-WebEngine In-Reply-To: <31d5c408-03cf-42ff-9c8b-86c291a75650@die-offenbachs.de> References: <31d5c408-03cf-42ff-9c8b-86c291a75650@die-offenbachs.de> Message-ID: <41d78cc9-886f-47e0-9a44-7dc05b269594@die-offenbachs.de> Hi, sorry for the noise. Somehow the latest update of the Python virtual environment had failed without giving an error. After reinstalling PyQt6-WebEngine-Qt6 everything is working again. Regards, Detlev Am 21.12.24 um 16:44 schrieb Detlev Offenbach: > > Hi Phil, > > I am having issues importing PyQt6.QtWebEngineWidgets in Fedora 41. > Here is the Python shell output. > > ------------------------------ > > Python 3.13.0 (main, Oct? 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red > Hat 14.2.1-3)] on fedora-vm > [eric7 Environment] > >>> from PyQt6 import QtWebEngineWidgets > fedora-vm/3351/main: Traceback (innermost last): > ? File "", line 1, in > ImportError: /lib64/libQt6WebEngineCore.so.6: version > `Qt_6_PRIVATE_API' not found (required by eric7_env>/lib64/python3.13/site-packages/PyQt6/Qt6/lib/libQt6WebEngineWidgets.so.6) > > ------------------------------- > > Regards, > Detlev > > -- > Detlev Offenbach > detlev at die-offenbachs.de -- Detlev Offenbach detlev at die-offenbachs.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From detlev at die-offenbachs.de Sat Dec 21 16:24:40 2024 From: detlev at die-offenbachs.de (Detlev Offenbach) Date: Sat, 21 Dec 2024 17:24:40 +0100 Subject: Issue importing latest PyQt6-WebEngine In-Reply-To: <41d78cc9-886f-47e0-9a44-7dc05b269594@die-offenbachs.de> References: <31d5c408-03cf-42ff-9c8b-86c291a75650@die-offenbachs.de> <41d78cc9-886f-47e0-9a44-7dc05b269594@die-offenbachs.de> Message-ID: <19a68e01-4dcc-423c-ae34-98c0352ade68@die-offenbachs.de> Hi again, now I know what happened. As that might happen to others as well, I will give a summary of the steps. 1. Upgraded the virtual environment fro PyQt 6.7 to 6.8. 2. Realized, that'PyQt6-WebEngineSubwheel-Qt' is no longer needed 3. Uninstalled that package. 4. Observed the issue described. The cause was that uninstalling the subwheel deleted part of the update done previously. 5. Reinstalled the 'PyQt6-WebEngine-Qt6' package, which corrected the issue. Regards, Detlev Am 21.12.24 um 16:58 schrieb Detlev Offenbach: > > Hi, > > sorry for the noise. Somehow the latest update of the Python virtual > environment had failed without giving an error. After reinstalling > PyQt6-WebEngine-Qt6 everything is working again. > > Regards, > Detlev > > Am 21.12.24 um 16:44 schrieb Detlev Offenbach: >> >> Hi Phil, >> >> I am having issues importing PyQt6.QtWebEngineWidgets in Fedora 41. >> Here is the Python shell output. >> >> ------------------------------ >> >> Python 3.13.0 (main, Oct? 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red >> Hat 14.2.1-3)] on fedora-vm >> [eric7 Environment] >> >>> from PyQt6 import QtWebEngineWidgets >> fedora-vm/3351/main: Traceback (innermost last): >> ? File "", line 1, in >> ImportError: /lib64/libQt6WebEngineCore.so.6: version >> `Qt_6_PRIVATE_API' not found (required by > eric7_env>/lib64/python3.13/site-packages/PyQt6/Qt6/lib/libQt6WebEngineWidgets.so.6) >> >> ------------------------------- >> >> Regards, >> Detlev >> >> -- >> Detlev Offenbach >> detlev at die-offenbachs.de > -- > Detlev Offenbach > detlev at die-offenbachs.de -- Detlev Offenbach detlev at die-offenbachs.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil at riverbankcomputing.com Sun Dec 22 15:03:04 2024 From: phil at riverbankcomputing.com (Phil Thompson) Date: Sun, 22 Dec 2024 15:03:04 +0000 Subject: RHEL 8 support In-Reply-To: References: Message-ID: On 19/12/2024 23:39, Greg Couch wrote: > Is there going to be a (commercial) downloadable version of PyQt 6.8 > that supports Red Hat 8??? According to > https://doc.qt.io/qt-6/supported-platforms.html, Red Hat 8 is still > supported.? But the released PyQt 6.8 requires glibc 2.35 > (manylinux_2_35_x86_64) and Red Hat 8 uses glibc 2.28, so it won't > install.? I see the same problem with the PyQt6-Qt6 and > PyQt6-WebEngine downloads. > > ??? -- Greg I've uploaded a new PyQt6 v6.8.0 and PyQt6-WebEngine v6.8.0 wheels to the local PyPI server here. These require glibc v2.28. I've already uploaded the corresponding Qt6 wheels to pypi.org. I'll upload new PyQt6 wheels to pypi.org in a few days if there are no problems. Phil