Bug 2061765

Summary: Please build fedpkg for EPEL9
Product: [Fedora] Fedora EPEL Reporter: Jakub Kadlčík <jkadlcik>
Component: fedpkgAssignee: Ondřej Nosek <onosek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: carl, cqi, jkeating, lee.jnk, lsedlar, onosek, orion, robinlee.sysu, sergio, s, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fedpkg-1.43-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-17 02:02:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2072308, 2094103    
Bug Blocks: 2061761    

Description Jakub Kadlčík 2022-03-08 14:13:51 UTC
Please build fedpkg for EPEL9 as it is a missing runtime dependency for tito.

Comment 1 Ondřej Nosek 2022-03-14 01:49:47 UTC
Currently, fedpkg relies on a few missing dependencies, that are not built for epel9:

* python3-bodhi-client: part of the 'bodhi' package; as per kojiweb (koji.fedoraproject.org), nphilipp did a few build attempts in February. Don't know why it didn't work. Maybe the best option is to open a request for bodhi.
* python3-fedora - I don't know why exactly this dependency is needed. It is present here for a long time. I can try to remove it (after some fedpkg's code changes).
* python3-mock: in python3-rpkg package we were able to avoid using this dependency. So I believe it would be possible to do this in fedpkg too. I will open a ticket for this.

Comment 2 Sergio Basto 2022-04-06 00:08:21 UTC
(In reply to Ondřej Nosek from comment #1)
> * python3-mock: in python3-rpkg package we were able to avoid using this
> dependency. So I believe it would be possible to do this in fedpkg too. I
> will open a ticket for this.

https://bugzilla.redhat.com/show_bug.cgi?id=2029156#c1 suggest https://fedoraproject.org/wiki/Changes/DeprecatePythonMock#How_to_migrate_to_unittest.mock

Comment 3 Troy Dawson 2022-07-26 22:12:08 UTC
(In reply to Ondřej Nosek from comment #1)
> Currently, fedpkg relies on a few missing dependencies, that are not built
> for epel9:
> 
> * python3-bodhi-client: part of the 'bodhi' package; as per kojiweb
> (koji.fedoraproject.org), nphilipp did a few build attempts in February.
> Don't know why it didn't work. Maybe the best option is to open a request
> for bodhi.

bodhi-client has been broken out from bodhi.  It is almost in epel9.  All of it's dependencies have been built, I (or epel-packagers-sig) need to get commit access so we can build it.
https://bugzilla.redhat.com/show_bug.cgi?id=2097529

> * python3-fedora - I don't know why exactly this dependency is needed. It is
> present here for a long time. I can try to remove it (after some fedpkg's
> code changes).

python-fedora is only needed for fedpkg testing, not for running.  All of it's build dependencies are met.  I (or epel-packagers-sig) need to get commit access so we can build it.
https://bugzilla.redhat.com/show_bug.cgi?id=2072308
It's one last runtime dependency is also being worked on.
https://bugzilla.redhat.com/show_bug.cgi?id=2094560

> * python3-mock: in python3-rpkg package we were able to avoid using this
> dependency. So I believe it would be possible to do this in fedpkg too. I
> will open a ticket for this.

As is stated above, python-mock shouldn't go in epel9.  If you want, we can help ya'll get this out of your testing.

If you wanted help, I wouldn't mind being a co-maintainer of the package. (FES: tdawson)
Please add me through https://src.fedoraproject.org/rpms/python-werkzeug/adduser

Comment 4 Troy Dawson 2022-08-31 13:34:46 UTC
All of the dependencies except python-mock are in epel9.
You said "in python3-rpkg package we were able to avoid using this dependency. So I believe it would be possible to do this in fedpkg too."
I have opened a bug for this - https://bugzilla.redhat.com/show_bug.cgi?id=2120019

If you want help, I wouldn't mind being a co-maintainer of the package. (FES: tdawson)
Please add me through https://src.fedoraproject.org/rpms/fedpkg/adduser

Comment 5 Fedora Update System 2022-09-07 19:12:14 UTC
FEDORA-EPEL-2022-edf0f773a5 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-edf0f773a5

Comment 6 Fedora Update System 2022-09-08 09:56:12 UTC
FEDORA-EPEL-2022-edf0f773a5 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-edf0f773a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-09-09 12:05:43 UTC
FEDORA-EPEL-2022-edf0f773a5 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-edf0f773a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-09-17 02:02:44 UTC
FEDORA-EPEL-2022-edf0f773a5 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.