Bug 2303449 - Request Fedora branches and EPEL9
Summary: Request Fedora branches and EPEL9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jaraco-test
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cristian Le
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-07 11:59 UTC by Cristian Le
Modified: 2024-09-27 02:51 UTC (History)
2 users (show)

Fixed In Version: python-jaraco-test-5.5.1-2.el9
Clone Of:
Environment:
Last Closed: 2024-09-27 02:51:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2024-08-07 11:59:48 UTC
Hi, could you request the other Fedora branches and EPEL9? `python-importlib-resources` is going to need this package

Reproducible: Always

Comment 1 Lumír Balhar 2024-08-08 10:15:28 UTC
I can request all the branches and build it for older Fedora releases. Do you plan to maintain it in EPEL?

Comment 2 Cristian Le 2024-08-08 10:20:35 UTC
> Do you plan to maintain it in EPEL?

If necessary I guess I will unless the maintainers for `python-importlib-resources` steps in. Of course this propagates to the other `jaraco` packages needed.

Comment 3 Lumír Balhar 2024-08-08 11:18:19 UTC
Why do you need the importlib-resources to be in EPEL 9? AFAIU the features from importlib-resources are merged to CPython standard library and Centos stream 9 contains Python 3.9, 3.11, and 3.12 so projects should be compatible with the standard library unless targeting features from 3.13.

Nonetheless, if you want something to be available in EPEL, you should also request all dependant packages to be there. Some maintainers will happily build and maintain their packages in EPEL, some (like me) give you the rights to build and maintain their packages in EPEL so they don't have to commit to this.

The usual workflow is to track down all the packages that need to be added to EPEL first. Open bugzillas for them and then one more bugzilla for the main package (python-importlib-resources in this case) and make all the bugzillas block the main one. The list might be growing and this makes it easy to track the progress.

From the upstream metadata:

Runtime deps:

dependencies = [
	"zipp >= 3.1.0; python_version < '3.10'",
]

Test deps:

test = [
	# upstream
	"pytest >= 6, != 8.1.*",
	"pytest-checkdocs >= 2.4",
	"pytest-cov",
	"pytest-mypy",
	"pytest-enabler >= 2.2",
	"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",

	# local
	"zipp >= 3.17",
	"jaraco.test >= 5.4",
]

Doc deps:

doc = [
	# upstream
	"sphinx >= 3.5",
	"jaraco.packaging >= 9.3",
	"rst.linker >= 1.9",
	"furo",
	"sphinx-lint",

	# tidelift
	"jaraco.tidelift >= 1.4",

	# local
]

I guess it will be possible to ignore some of those like pytest-cov and pytest-mypy. On the other hand, python-zipp requires jaraco-functools and jaraco-test to build, jaraco-test requires these to build:

python3dist(jaraco-collections)
python3dist(jaraco-context)
python3dist(jaraco-functools)

and that's just the beginning. The tree might be big at the end and there might also be conflicts with centos stream 9 content.

Comment 4 Cristian Le 2024-08-08 11:37:03 UTC
> Why do you need the importlib-resources to be in EPEL 9? AFAIU the features from importlib-resources are merged to CPython standard library and Centos stream 9 contains Python 3.9, 3.11, and 3.12 so projects should be compatible with the standard library unless targeting features from 3.13.

There are features and bug fixes that are introduced in `importlib-resources` but never backported because compatibility package exists. In my case, `MultiplexedPath` is broken prior to Python 3.12, so I need to this package for EPEL9. See https://bugzilla.redhat.com/show_bug.cgi?id=2303229 for more details. The original issue is this PR on `tmt` [1]

I need to make a review request, but I am still waiting on the original packagers to see if they will pick it up

[1]: https://github.com/teemtee/tmt/pull/2946

Comment 5 Lumír Balhar 2024-08-14 12:30:42 UTC
I've added you as a maintainer for python-jaraco-test for all epel* branches.

Comment 6 Cristian Le 2024-08-14 12:43:59 UTC
Thanks. Still working on getting `jaraco.test` to work [1]. I am stuck at the `test.support` issue which surprisingly affects epel as well [2].

[1]: https://github.com/LecrisUT/importlib-resources-rpmspec
[2]: https://github.com/jaraco/jaraco.test/issues/6#issuecomment-2283519396

Comment 7 Fedora Update System 2024-09-25 15:29:52 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 8 Fedora Update System 2024-09-26 03:07:06 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 9 Fedora Update System 2024-09-27 02:51:09 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 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.