Bug 2303229 - Package to EPEL9 and Fedora as well
Summary: Package to EPEL9 and Fedora as well
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-importlib-resources
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ken Dreyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-06 17:13 UTC by Cristian Le
Modified: 2024-10-05 00:42 UTC (History)
3 users (show)

Fixed In Version: python-importlib-resources-6.4.4-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-10-05 00:42:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2024-08-06 17:13:30 UTC
This is an equivalent to the comment in https://bugzilla.redhat.com/show_bug.cgi?id=1772578#c10.

Basically the description of the package [1] indicates that this is an upstream package that is being backported to python base. As such there are changes, bug fixes, etc. that are not ported to earlier python versions, for example this bug fix [2] that is fixed in importlib-resources 5.12 equivalent to python 3.12, but any python<3.12 will *never* receive this bug fix because it is already available in importlib-resources.

Looking forward in time, we may see situations where we need to backport other bug fixes, like this one [3].

My suggestion here is to unretire this package for Fedora and start tracking it in rawhide. Additionally I need this packaged for EPEL9 in order to address [2] for an upcoming PR in `tmt` [4].

[1]: https://pypi.org/project/importlib-resources/
[2]: https://github.com/python/importlib_resources/blob/main/NEWS.rst#v5120
[3]: https://github.com/python/importlib_resources/blob/main/NEWS.rst#bugfixes-2
[4]: https://github.com/teemtee/tmt/pull/2946

Reproducible: Always

Comment 1 Miro Hrončok 2024-08-07 10:03:18 UTC
Years ago, I advised against packaging this in Fedora. I no longer hold that opinion -- this request is well justified.


As this was retired in rawhide forever, it will require a new package review -- which is a good thing, because we do not plan to copy the epel8 branch verbatim, but rather package the latest version following the latest packaging guidelines.



IMHO it makes sense to make your intentions clearer: Do you offer to maintain this package in Fedora and EPEL 9, or do you ask the EPEL 8 maintainer (currently Ken) to do it? I suppose the former, but it is not clear to me.

Comment 2 Cristian Le 2024-08-07 10:47:50 UTC
> IMHO it makes sense to make your intentions clearer: Do you offer to maintain this package in Fedora and EPEL 9, or do you ask the EPEL 8 maintainer (currently Ken) to do it? I suppose the former, but it is not clear to me.

Fair point, I didn't actually think about it. I should have enough bandwidth to take it on. I have tried to update the spec file, and I can't include the new tests because of missing dependency `jaraco.test` [1]. And what about release schedule, should we just update in tandem with the latest Python release in Rawhide unless requested to bump a newer release early?

[1]: https://github.com/jaraco/jaraco.test

Comment 3 Miro Hrončok 2024-08-07 11:35:12 UTC
https://src.fedoraproject.org/rpms/python-jaraco-test

I see no point in updating this package in tandem with Python. Just do what you would normally do, follow https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/

Comment 4 Cristian Le 2024-08-07 11:47:54 UTC
(In reply to Miro Hrončok from comment #3)
> https://src.fedoraproject.org/rpms/python-jaraco-test

Ah, cool, need to make a ticket to add the missing branches. I'll wait a bit for Ken to respond to this ticket, or should I go ahead and make the Review Request regardless?

Comment 5 Fedora Admin user for bugzilla script actions 2024-08-22 18:42:28 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Ken Dreyer 2024-08-23 20:45:33 UTC
Thanks for taking this on. I haven't looked at this package in a while.

Comment 7 Fedora Admin user for bugzilla script actions 2024-08-27 14:11:31 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 8 Cristian Le 2024-08-27 14:18:05 UTC
The PR for this is up: https://src.fedoraproject.org/rpms/python-importlib-resources/pull-request/1

For jaraco-test stuff I'm waiting a bit to see if a new release will be made that simplifies packaging a lot, but otherwise it is basically done [1,2]

[1]: https://github.com/LecrisUT/importlib-resources-rpmspec
[2]: https://github.com/jaraco/jaraco.context/issues/14

Comment 9 Fedora Update System 2024-09-25 15:29:50 UTC
FEDORA-EPEL-2024-34fb660455 (python-backports-tarfile-1.2.0-1.el9, python-jaraco-context-6.0.1-3.el9, and 1 more) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-34fb660455

Comment 10 Fedora Update System 2024-09-26 03:07:04 UTC
FEDORA-EPEL-2024-34fb660455 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-2024-34fb660455

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

Comment 11 Fedora Update System 2024-10-04 10:14:17 UTC
FEDORA-EPEL-2024-bb49e9c6a8 (python-importlib-resources-6.4.4-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-bb49e9c6a8

Comment 12 Fedora Update System 2024-10-05 00:42:42 UTC
FEDORA-EPEL-2024-bb49e9c6a8 (python-importlib-resources-6.4.4-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


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