Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780330 - dev-python/QtPy: add python-3.9 support
Summary: dev-python/QtPy: add python-3.9 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 780375
Blocks: py39, python3.9-compat
  Show dependency tree
 
Reported: 2021-04-05 08:33 UTC by Martin Gysel (bearsh)
Modified: 2021-06-01 17:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gysel (bearsh) 2021-04-05 08:33:51 UTC
add support for python 3.9
Comment 1 Andrew Ammerlaan gentoo-dev 2021-04-05 12:11:59 UTC
PySide2 is missing py3.9 support at the moment. As a temporary workaround you can use version 1.9.0-r2, which hard depends on PyQt5 and cannot be used with PySide2.
Comment 2 Larry the Git Cow gentoo-dev 2021-06-01 17:07:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cdaf684ee505b580cbcb7da7b7ef29fcc98674

commit 83cdaf684ee505b580cbcb7da7b7ef29fcc98674
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-05-29 08:36:55 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-06-01 17:07:08 +0000

    dev-python/QtPy: drop netwrokauth and webkit flag, add py3.{9,10}
    
    - PySide2 is not compatible with python3.10, to add python3.10
    to this package anyway we need to force disable pyside2 if
    we want to use python_targets_python3_10.
    
    - To accomadate this we have to rewrite the test suite to
    support running if one of the two implementations is
    disabled. Otherwise tests would fail with USE="pyqt5 -pyside2
    python_targets_python3_10: due to ImportErrors that we
    explicitly introduced in the prepare phase with USE="-pyside2"
    
    Closes: https://bugs.gentoo.org/780330
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../{QtPy-1.9.0-r2.ebuild => QtPy-1.9.0-r3.ebuild} |  7 ++-
 .../{QtPy-1.9.0-r4.ebuild => QtPy-1.9.0-r5.ebuild} | 73 ++++++++++++++--------
 dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch   | 13 ++++
 3 files changed, 65 insertions(+), 28 deletions(-)