Bug 2253050 - Pyside2 broken on EPEL due to dependencies mismatch
Summary: Pyside2 broken on EPEL due to dependencies mismatch
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-pyside2
Version: epel9
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Richard Shaw
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-05 19:09 UTC by claraberendsen
Modified: 2024-09-21 22:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description claraberendsen 2023-12-05 19:09:14 UTC
Description of problem:

It seems that in November the qt5 packages provided by EPEL have been bumped to qt5 version 5.15.9, which left the pyside2 packages with broken dependencies. 

The build of the packages tracked in https://koschei.fedoraproject.org/package/python-pyside2?collection=epel9 highlights the broken dependencies.

Please rebuild/upgrade the package to match the new dependencies to have an in sync set of dependencies in EPEL.

Example of the error

```
00:01:05.746 Error: 
00:01:05.746  Problem: package python3-pyside2-devel-1:5.15.7-2.el9.x86_64 requires libpyside2.cpython-39-x86_64-linux-gnu.so.5.15()(64bit), but none of the providers can be installed
00:01:05.746   - conflicting requests
00:01:05.746   - nothing provides libQt5Charts.so.5(Qt_5.15.3_PRIVATE_API)(64bit) needed by python3-pyside2-1:5.15.7-2.el9.x86_64
```

Version-Release number of selected component (if applicable):
python3-pyside2-devel-1:5.15.7-2.el9.x86_64

Comment 1 Carl George 🤠 2024-09-21 03:31:21 UTC
This is still an issue, and reproducible on RHEL 9.


Error: 
 Problem: conflicting requests
  - nothing provides libQt5Charts.so.5(Qt_5.15.3_PRIVATE_API)(64bit) needed by python3-pyside2-1:5.15.7-2.el9.x86_64 from epel

Comment 2 Richard Shaw 2024-09-21 12:35:10 UTC
PySide2 is retired in Fedora, and not retiring in EPEL was likely an oversight. Upstream has moved all development efforts to PySide6.

If a simple rebuild fixes it I'll keep it around a little longer but I don't have time to fix major issues.

Comment 3 Richard Shaw 2024-09-21 12:45:44 UTC
In file included from /builddir/build/BUILD/pyside-setup-opensource-src-5.15.7/redhat-linux-build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
/builddir/build/BUILD/pyside-setup-opensource-src-5.15.7/redhat-linux-build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:220: error: no member named 'DragMove' in 'QOpenGLShader'; did you mean simply 'DragMove'?
   55 |     QDragMoveEventWrapper(const QPoint & pos, QFlags<Qt::DropAction> actions, const QMimeData * data, QFlags<Qt::MouseButton> buttons, QFlags<Qt::KeyboardModifier> modifiers, QFlags<QOpenGLShader::ShaderTypeBit> type = QOpenGLShader::DragMove);
      |                                                                                                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                                                                                            DragMove
/usr/include/qt5/QtCore/qcoreevent.h:107:9: note: 'DragMove' declared here
  107 |         DragMove = 61,                          // drag moves in widget
      |         ^

Comment 4 Carl George 🤠 2024-09-21 22:14:04 UTC
Understood.  It is preferable to not have a package versus having a package that doesn't install.  It is allowed to retire an EPEL package, you just need to send an email and wait two weeks.

https://docs.fedoraproject.org/en-US/epel/epel-policy-retirement/


Note You need to log in before you can comment on or make changes to this bug.