Debian Patches

Status for pyside2/5.15.8-2

Patch Description Author Forwarded Bugs Origin Last update
update-sip-import.patch Update import of PyQt5 private sip module and remove Python 2/PyQt4 setapi calls Kurt Kremitzki <kkremitzki@debian.org> no
fix-spelling-errors.patch Fix spelling errors Sophie Brun <sophie@freexian.com> no 2018-07-12
blacklist-failing-tests.patch Blacklist failing tests
Forwarded:
https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1146?filter=allopenissues
Sophie Brun <sophie@freexian.com> no 2019-11-22
test-with-current-interpreter.patch Find the build directory matching the current interpreter
This is needed to allow us to run tests with all supported Python versions.
Without this patch, the latest build directory will be always picked, no
matter what the current interpreter is.
Dmitry Shachnev <mitya57@debian.org> no 2021-11-14
libshiboken-Fix-a-crash-in-Shiboken-Object-isValid.patch libshiboken: Fix a crash in Shiboken::Object::isValid() for Python 3.11

The function is passed type objects for class methods, which caused
it to crash.

The first clause did not catch this, and so it was cast to SbkObject
below.

Add a type check to prevent this.

(cherry picked from commit 52df3b8f64d08f412d7f8b12d82fc0ae6f3c741d)
Friedemann Kleint <Friedemann.Kleint@qt.io> no 2022-06-09
Fix-usage-of-Py_TYPE-for-Python-3.11.patch Fix usage of Py_TYPE() for Python 3.11
The macro was changed to a function, no longer allowing for assignment.

(cherry picked from commit 73adefe22ffbfabe0ef213e9c2fe2c56efdd7488)
Friedemann Kleint <Friedemann.Kleint@qt.io> no 2022-06-09
libshiboken-Fix-crashes-with-static-strings-in-Python-3.11.patch libshiboken: Fix crashes with static strings in Python 3.11
In Python 3.11, some strings come with a refcount above decimal
1000000000, apparently indicating that they are interned. Replace the
mechanism by PyUnicode_InternFromString().

(cherry picked from commit a09a1db8391243e6bb290ee66bb6e3afbb114c61)
Friedemann Kleint <Friedemann.Kleint@qt.io> no 2022-06-24
Shiboken-Fix-the-oldest-shiboken-bug-ever.patch Shiboken: Fix the oldest shiboken bug ever which shows up on Python 3.11

b7df2f1c0 "Fix signal initializer.", 18. May 2010 at 00:55

There was a `PySequence_Check` in the evaluation of some signature
function parameter processing, which should have been `PyTuple_Check`.

Since the new PyEnums are also sequences, the new optimization in
Python 3.11 changed the parameter handling in a correct way and
replaced the argument tuple by a direct single argument of an enum
type. And that is also a sequence ...

There are probably still dormant issues like this in the codebase
which gives reason to submit a task that checks all Python interface
functions for correctness.

(cherry picked from commit 2720e01f21f3771cb755ef183b8160f691bdb575)
Christian Tismer <tismer@stackless.com> no 2022-06-21
PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch PyEnum: make forgiving duplicates work with Python 3.11
There was a silent change in PyEnums that turns Enum attributes
into properties. This does not harm the Python interface but
needed some change in the duplication emulation.

Furthermore, new internal enums are created with an underscore name.

The meta class was changed from EnumMeta to EnumType.

[ChangeLog][shiboken6] The new Python Enums are now compatible with Python 3.11

(cherry picked from commit da2cf031521815a9559ca784beadb70c7a2852d9)
Christian Tismer <tismer@stackless.com> no 2022-06-21
Fix-Property-GC-tracking-for-Python-3.11.patch Fix Property GC tracking for Python 3.11
The GC was not untracked when PySide Property was deleted.
This was found by the new deeper error tracking in debug Python 3.11 .

(cherry picked from commit ace680f4c5fc8564df9daaa41bf8779c9fffa671)
Christian Tismer <tismer@stackless.com> no 2022-09-11
make-wheels-compatible-with-Python-3.11.patch make wheels compatible with Python 3.11
These leftover mentions to <3.11 made those wheel
impossible to install for Python 3.11

(cherry picked from commit d169554f2e8e57382dfc66a62e06fa75706cb649)
Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> no 2022-10-17
Revert-removal-of-version-check.patch Revert removal of version check
It broke build without limited API.
Dmitry Shachnev <mitya57@debian.org> no 2023-01-05
importlib-machinery.patch Fix AttributeError: module 'importlib' has no attribute 'machinery' Dmitry Shachnev <mitya57@debian.org> no https://github.com/archlinux/svntogit-packages/blob/packages/pyside2/trunk/fix-build.patch 2023-01-07
Fix-GLES-builds.patch Fix GLES builds
Add QOpenGLVersionFunctionsFactory to list of dropped entries.

(cherry picked from commit e0848b2d644574e914d3f71c1fe4b309e39ac099)
Friedemann Kleint <Friedemann.Kleint@qt.io> no 2021-08-26

All known versions for source package 'pyside2'

Links