Package Details: shiboken2 5.15.16-1

Git Clone URL: https://aur.archlinux.org/pyside2.git (read-only, click to copy)
Package Base: pyside2
Description: Generates bindings for C++ libraries using CPython source code
Upstream URL: https://wiki.qt.io/Qt_for_Python
Licenses: LGPL-3.0-or-later
Submitter: arojas
Maintainer: envolution
Last Packager: envolution
Votes: 11
Popularity: 0.55
First Submitted: 2024-04-16 07:05 (UTC)
Last Updated: 2024-12-07 23:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

NomAnor commented on 2024-05-16 22:01 (UTC) (edited on 2024-05-16 22:02 (UTC) by NomAnor)

I tried to run FreeCAD from source and got a segfault. Looks like there is another access to type->tp_dict that needs to be patched in pyside-setup-opensource-src-5.15.13/sources/pyside2/libpyside/pysideproperty.cpp:449.

I fixed it with these lines:

PyObject *dict = type->tp_dict;
if (dict == NULL) dict = PyType_GetDict(type);
attr = PyDict_GetItem(dict, name);

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.