Bug 2074709 - Review Request: python-pyqt6 - PyQt6 is Python bindings for Qt6
Summary: Review Request: python-pyqt6 - PyQt6 is Python bindings for Qt6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2124098 (view as bug list)
Depends On: 2074732
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-12 21:08 UTC by Onuralp Sezer
Modified: 2023-10-08 08:14 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-10-08 08:14:12 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Description Onuralp Sezer 2022-04-12 21:08:38 UTC
Spec URL: https://pagure.io/python-qt6/raw/main/f/python-qt6.spec
SRPM URL: https://pagure.io/python-qt6/raw/main/f/python-qt6-6.2.3-1.fc36.src.rpm
Description: PyQt6 is Python bindings for Qt6
Fedora Account System Username: thunderbirdtr

Comment 1 Onuralp Sezer 2022-04-12 22:50:00 UTC
This package require python-pyqt6-sip for installation and Review Link: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2074732

Comment 2 Miro Hrončok 2022-04-19 20:10:10 UTC
Despite the unusual python-qt5 name, this package should be named python-pyqt6 / python3-pyqt6.

Comment 3 Miro Hrončok 2022-04-19 20:12:40 UTC
%python_provide macro is deprecated and should not be used, see https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/#_the_py_provides_macro

Comment 4 Onuralp Sezer 2022-04-19 21:47:20 UTC
%python_provide removed.

BuildRequires: cmake(Qt6RemoteObjects)  added


Extra files added.

%{python3_sitearch}/PyQt6/QtQuick3D.*
%{python3_sitearch}/PyQt6/QtRemoteObjects.*

New file names

Spec URL: https://pagure.io/python-qt6/raw/main/f/python-pyqt6.spec
SRPM URL: https://pagure.io/python-qt6/raw/main/f/python-pyqt6-6.2.3-1.fc36.src.rpm

Comment 5 Neal Gompa 2022-05-16 18:06:46 UTC
Taking this review.

Comment 6 Neal Gompa 2022-05-16 18:09:54 UTC
Spec review:

> %global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)

Just get rid of all this and use %{_rpmmacrodir} wherever %{rpm_macros_dir} was used.

> #patch0 -p1

Drop this, it's unused.

>   --qmake-setting 'QMAKE_CFLAGS_RELEASE="%{optflags}"' \
>   --qmake-setting 'QMAKE_CXXFLAGS_RELEASE="%{optflags} `pkg-config --cflags dbus-python`"' \
>   --qmake-setting 'QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"'

Use %{build_cflags}, %{build_cxxflags}, and %{build_ldflags} accordingly.

Comment 7 Mads Kiilerich 2022-07-20 15:55:44 UTC
FWIW: I'm looking into upgrading tortoisehg to use qt6. It seems like I need this package and am blocked.

(Note: this is also tracked on https://pagure.io/fedora-kde/SIG/issue/127 )

Comment 8 Onuralp Sezer 2022-07-20 16:32:22 UTC
(In reply to Mads Kiilerich from comment #7)
> FWIW: I'm looking into upgrading tortoisehg to use qt6. It seems like I need
> this package and am blocked.
> 
> (Note: this is also tracked on https://pagure.io/fedora-kde/SIG/issue/127 )

Sorry for bit delay I am gonna taking care of it.

Comment 9 Sandro Mani 2022-09-05 11:35:34 UTC
*** Bug 2124098 has been marked as a duplicate of this bug. ***

Comment 11 Neal Gompa 2022-09-05 13:51:09 UTC
Looks good to me.

Package review notes:

* Builds and installs
* Package licensing is correct and license files are correctly installed
* Package naming follows packaging policy

Comment 12 Gwyn Ciesla 2022-09-06 14:41:01 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-pyqt6

Comment 13 Sandro Mani 2022-09-15 11:12:56 UTC
@thunderbirdtr Could you import the package? Or feel free to add me to the package and I'm happy to help.

Comment 14 Onuralp SEZER 2022-09-15 11:37:23 UTC
PyQt6 is already in F36-37-38 and sure I can add you as well.

Comment 15 Sandro Mani 2022-09-15 11:45:26 UTC
My bad, I was looking for python-qt6... Thanks!

Comment 16 Onuralp SEZER 2022-09-15 11:48:43 UTC
No problem, you're welcome :)

Comment 17 TR Bentley 2022-10-13 11:41:10 UTC
This mat not be the place but  pyqtwebengine-5.15.4-4.fc37  also needs to be updated for QT6 as it provides PyQY6  QTWebEngineWidgets.

Comment 18 Package Review 2023-10-08 08:14:12 UTC
Package is now in repositories, closing review.


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