pyside2.git
17 months agoPyEnum: make forgiving duplicates work with Python 3.11
Christian Tismer [Tue, 21 Jun 2022 08:22:04 +0000 (10:22 +0200)]
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

Change-Id: I3b1ab63dc5eed15a75ebd0f42dddf4001f640c00
Pick-to: 6.3
Task-number: PYSIDE-1735
Fixes: PYSIDE-1960
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit da2cf031521815a9559ca784beadb70c7a2852d9)

Gbp-Pq: Name PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch

17 months agoShiboken: Fix the oldest shiboken bug ever which shows up on Python 3.11
Christian Tismer [Tue, 21 Jun 2022 08:22:04 +0000 (10:22 +0200)]
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.

Change-Id: I45996a0458c3e60795d2eb802eb98f7dd3678d92
Pick-to: 6.3
Task-number: PYSIDE-1735
Task-number: PYSIDE-1987
Fixes: PYSIDE-1988
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit 2720e01f21f3771cb755ef183b8160f691bdb575)

Gbp-Pq: Name Shiboken-Fix-the-oldest-shiboken-bug-ever.patch

17 months agoFind the build directory matching the current interpreter
Dmitry Shachnev [Sun, 14 Nov 2021 18:08:50 +0000 (21:08 +0300)]
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.

Gbp-Pq: Name test-with-current-interpreter.patch

17 months agoBlacklist failing tests
Sophie Brun [Fri, 22 Nov 2019 12:24:54 +0000 (13:24 +0100)]
Blacklist failing tests

Forwarded:
https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1146?filter=allopenissues

Gbp-Pq: Name blacklist-failing-tests.patch

17 months agoFix spelling errors
Sophie Brun [Tue, 5 Nov 2019 09:39:14 +0000 (10:39 +0100)]
Fix spelling errors

Last-Update: 2018-07-12

Gbp-Pq: Name fix-spelling-errors.patch

17 months agoUpdate import of PyQt5 private sip module and remove Python 2/PyQt4 setapi calls
Kurt Kremitzki [Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)]
Update import of PyQt5 private sip module and remove Python 2/PyQt4 setapi calls

Last-Updated: 2020-12-20

Gbp-Pq: Name update-sip-import.patch

17 months agopyside2 (5.15.14-1) unstable; urgency=medium
Dmitry Shachnev [Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)]
pyside2 (5.15.14-1) unstable; urgency=medium

  * Team upload.
  * New upstream release.
  * Drop patches, included in the new release:
    - shiboken2-Fix-build-with-clang-16.patch
    - shiboken2-Fail-template-test-instead-of-crashing.patch
  * Refresh and rebase other patches.

[dgit import unpatched pyside2 5.15.14-1]

17 months agoImport pyside2_5.15.14.orig.tar.xz
Dmitry Shachnev [Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)]
Import pyside2_5.15.14.orig.tar.xz

[dgit import orig pyside2_5.15.14.orig.tar.xz]

17 months agoImport pyside2_5.15.14-1.debian.tar.xz
Dmitry Shachnev [Tue, 25 Jun 2024 20:47:03 +0000 (23:47 +0300)]
Import pyside2_5.15.14-1.debian.tar.xz

[dgit import tarball pyside2 5.15.14-1 pyside2_5.15.14-1.debian.tar.xz]