Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945973 - dev-python/pyqtgraph: selects pyqt6 when installed though not listed in dependencies.
Summary: dev-python/pyqtgraph: selects pyqt6 when installed though not listed in depen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-06 15:02 UTC by Matt Jolly
Modified: 2024-12-08 05:23 UTC (History)
0 users

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 Matt Jolly gentoo-dev 2024-12-06 15:02:50 UTC
It appears that pyqt6 is transparently used by pyqtgraph.

```
    PYSIDE = 'PySide'
    PYSIDE2 = 'PySide2'
    PYSIDE6 = 'PySide6'
    PYQT4 = 'PyQt4'
    PYQT5 = 'PyQt5'
    PYQT6 = 'PyQt6'
    
```

This can seemingly be controlled at runtime with the following envvar:

```
    QT_LIB = os.getenv('PYQTGRAPH_QT_LIB')
```

Passes tests with py3.12, 3.13.
Comment 1 Larry the Git Cow gentoo-dev 2024-12-08 05:23:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666d9c5c410ae08fa04772a4b3151c58f8d44cd9

commit 666d9c5c410ae08fa04772a4b3151c58f8d44cd9
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-12-06 15:04:22 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-12-08 05:20:38 +0000

    dev-python/pyqtgraph: add 0.13.7-r1
    
    - enable py3.13
    - Use QT6
    
    PyQtGraph attempts to support as many QT bindings as possible in an
    agnostic manner by finding them at runtime and providing consistent
    internal interfaces.
    
    Patch the sources to:
    
    - Only use PyQt6
    - Only run tests for PyQt6 even if other frontends installed
    
    Closes: https://bugs.gentoo.org/945973
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 dev-python/pyqtgraph/metadata.xml               |  5 +-
 dev-python/pyqtgraph/pyqtgraph-0.13.7-r1.ebuild | 97 +++++++++++++++++++++++++
 2 files changed, 101 insertions(+), 1 deletion(-)