Package Details: python-shiboken2 5.15.13-2

Git Clone URL: https://aur.archlinux.org/pyside2.git (read-only, click to copy)
Package Base: pyside2
Description: Python bindings for shiboken2
Upstream URL: https://www.qt.io
Licenses: LGPL
Submitter: arojas
Maintainer: petronny
Last Packager: petronny
Votes: 12
Popularity: 1.04
First Submitted: 2024-04-16 07:05 (UTC)
Last Updated: 2024-05-09 14:32 (UTC)

Pinned Comments

petronny commented on 2024-05-10 05:47 (UTC)

Prebuilt binaries of this package can be found in the arch4edu repository.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

krotesk commented on 2024-05-16 06:44 (UTC) (edited on 2024-05-16 06:57 (UTC) by krotesk)

https://qt-mirror.dannhauer.de/official_releases/QtForPython/pyside2/PySide2-5.15.13-src/pyside-setup-opensource-src-5.15.13.tar.xz or https://dotsrc.dl.osdn.net/qtproject/official_releases/QtForPython/pyside2/PySide2-5.15.13-src/pyside-setup-opensource-src-5.15.13.tar.xz

vladimirov_georg commented on 2024-05-11 19:57 (UTC) (edited on 2024-05-11 20:02 (UTC) by vladimirov_georg)

Link https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.13-src/pyside-setup-opensource-src-5.15.13.tar.xz not working.

$ wget https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.13-src/pyside-setup-opensource-src-5.15.13.tar.xz
--2024-05-11 22:54:35--  https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.13-src/pyside-setup-opensource-src-5.15.13.tar.xz
Загружен сертификат CA «/etc/ssl/certs/ca-certificates.crt»
Распознаётся download.qt.io (download.qt.io)… 77.86.162.2
Подключение к download.qt.io (download.qt.io)|77.86.162.2|:443... ошибка: Время ожидания соединения истекло.

petronny commented on 2024-05-10 05:47 (UTC)

Prebuilt binaries of this package can be found in the arch4edu repository.

petronny commented on 2024-05-10 05:47 (UTC)

@sylv If you mean a -bin package that uses the binary from pypi, it won't work since the libraries must be recompiled to work with python 3.12.

If you just want a prebuilt binary of this package, it can be found in the arch4edu repository.

sylv commented on 2024-05-09 22:45 (UTC) (edited on 2024-05-09 22:53 (UTC) by sylv)

Shouldn't there be a -bin version of this? For me, it takes ages to compile, and it's a dependency of something.

petronny commented on 2024-05-09 08:08 (UTC)

I have fixed the package but some behaviors of __repr__ might be changed. Please comment if you know a way to resolve it properly.

See also https://github.com/arch4edu/arch4edu/issues/268

And I'm planning to add a check() function so please comment if you know how to fully test these pyside2 pacakges.

shtrophic commented on 2024-05-06 13:07 (UTC)

pyside2 will not support python3.12, it is a wontfix: https://bugreports.qt.io/browse/PYSIDE-2388

Actually, this builds fine with python311 from the AUR with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index 1715e4a..0b0ebbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,7 +38,7 @@ build() {
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=None \
     -DBUILD_TESTS=OFF \
-    -DPYTHON_EXECUTABLE=/usr/bin/python
+    -DPYTHON_EXECUTABLE=/usr/bin/python3.11
   cmake --build build
 }

Problem is that then packaging won't work, since the build was against 3.11 and any other calls in package_*() to python are python3.12 calls. Replacing them with python3.11 doesn't fix this as the python311 package does not come with python-setuptools and building that against python3.11 results in a cyclic dependency since further down python-build is a bootstrapped package.

Anyone else any ideas? :')

HurricanePootis commented on 2024-04-29 22:44 (UTC)

Pyside2 only supports up to python 3.11 as of right now. I am not a python developer, so I do not feel confident in maintaining it. Therefore, I have disowned the package.

Kagukara commented on 2024-04-29 13:16 (UTC)

Getting the same error as frankspace.

clickit commented on 2024-04-29 11:10 (UTC) (edited on 2024-04-29 11:10 (UTC) by clickit)

I'm also getting an error during pyside2 building:

[ 16%] Building CXX object sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore.dir/PySide2/QtCore/qcalendar_wrapper.cpp.o [ 16%] Building CXX object sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore.dir/PySide2/QtCore/qcalendar_yearmonthday_wrapper.cpp.o [ 16%] Building CXX object sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore.dir/PySide2/QtCore/qrecursivemutex_wrapper.cpp.o [ 16%] Building CXX object sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore.dir/PySide2/QtCore/qbytearray_frombase64result_wrapper.cpp.o [ 16%] Building CXX object sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore.dir/glue/qeasingcurve_glue.cpp.o [ 16%] Linking CXX shared module ../QtCore.cpython-312-x86_64-linux-gnu.so [ 16%] Built target QtCore Segmentation fault make[2]: *** [sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi.dir/build.make:70: sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi] Error 1 make[1]: *** [CMakeFiles/Makefile2:1573: sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: pyside2-exit status 4 -> Failed to install the following packages. Manual intervention is required: pyside2 - exit status 4