Bug 2330253

Summary: Please branch and build maturin in epel10
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: maturinAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, python-packagers-sig, romain.geissler, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: maturin-1.7.4-3.el10_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-28 00:32:56 UTC Type: ---
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: 2316989    
Bug Blocks: 2330216, 2330269    

Description Ben Beasley 2024-12-03 22:10:17 UTC
Please branch and build maturin in epel10.

Comment 1 Ben Beasley 2024-12-03 22:11:52 UTC
I am well aware that this is blocked on moving python-setuptools-rust to CRB, https://issues.redhat.com/browse/RHEL-66224, and I’m happy to help with maturin as a rust-sig member once it’s unblocked.

Still, I thought it was time to open a tracking bug so everyone can see what depends on what.

Comment 2 Ben Beasley 2024-12-03 22:21:40 UTC
(This also needs python-semantic_version moved to CRB, https://issues.redhat.com/browse/RHEL-66994, which I expect will happen at the same time as python-setuptools-rust.)

Comment 3 Romain Geissler 2024-12-04 01:26:19 UTC
> (This also needs python-semantic_version moved to CRB, https://issues.redhat.com/browse/RHEL-66994, which I expect will happen at the same time as python-setuptools-rust.)

Yes this is the case. Yesterday I have asked Red Hat some news about it, and they did merge this recently: https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/merge_requests/544

Comment 4 Fabio Valentini 2024-12-04 15:36:55 UTC
Note that it would also possible to build maturin with maturin.

The way we build it currently with setuptools-rust is the "bootstrap" solution for when maturin is not yet available.
But we could build maturin in epel10 using maturin from rawhide.

Though I would still prefer building it with setuptools-rust to avoid adding a self-bootstrap step.

Comment 5 Ben Beasley 2024-12-04 15:42:21 UTC
(In reply to Fabio Valentini from comment #4)
> Note that it would also possible to build maturin with maturin.

Interesting! I had not investigated *why* it requires setuptools-rust. Good to know.

> Though I would still prefer building it with setuptools-rust to avoid adding
> a self-bootstrap step.

I don’t know how long it will be from https://gitlab.com/redhat/centos-stream/release-engineering/comps/-/merge_requests/544#note_2235367868 to actually seeing these packages in public repositories, but it seems like we are almost there, relatively speaking. I think it’s reasonable to wait.

Comment 6 Romain Geissler 2024-12-25 16:18:57 UTC
The setuptools-rust issue being now over, it builds further but still lacks many packages (I took the rawhide sources to build for EPEL 10):

 Problem 1: nothing provides requested (crate(base64/default) >= 0.21.0 with crate(base64/default) < 0.22.0~)
 Problem 2: nothing provides requested (crate(cargo-config2/default) >= 0.1.24 with crate(cargo-config2/default) < 0.2.0~)
 Problem 3: nothing provides requested (crate(cargo-options/default) >= 0.7.2 with crate(cargo-options/default) < 0.8.0~)
 Problem 4: nothing provides requested (crate(clap_complete_command/default) >= 0.6.1 with crate(clap_complete_command/default) < 0.7.0~)
 Problem 5: nothing provides requested (crate(dialoguer) >= 0.11.0 with crate(dialoguer) < 0.12.0~)
 Problem 6: nothing provides requested (crate(fat-macho) >= 0.4.8 with crate(fat-macho) < 0.5.0~)
 Problem 7: nothing provides requested (crate(fs-err/default) >= 2.11.0 with crate(fs-err/default) < 3.0.0~)
 Problem 8: nothing provides requested (crate(goblin/default) >= 0.9.0 with crate(goblin/default) < 0.10.0~)
 Problem 9: nothing provides requested (crate(itertools/default) >= 0.12.1 with crate(itertools/default) < 0.13.0~)
 Problem 10: nothing provides requested (crate(lddtree/default) >= 0.3.4 with crate(lddtree/default) < 0.4.0~)
 Problem 11: nothing provides requested (crate(minijinja/default) >= 1.0.7 with crate(minijinja/default) < 2.0.0~)
 Problem 12: nothing provides requested (crate(normpath/default) >= 1.1.1 with crate(normpath/default) < 2.0.0~)
 Problem 13: nothing provides requested (crate(path-slash/default) >= 0.2.1 with crate(path-slash/default) < 0.3.0~)
 Problem 14: nothing provides requested (crate(pep440_rs/default) >= 0.6.0 with crate(pep440_rs/default) < 0.7.0~)
 Problem 15: nothing provides requested (crate(pep440_rs/serde) >= 0.6.0 with crate(pep440_rs/serde) < 0.7.0~)
 Problem 16: nothing provides requested (crate(pep440_rs/tracing) >= 0.6.0 with crate(pep440_rs/tracing) < 0.7.0~)
 Problem 17: nothing provides requested (crate(pep508_rs/default) >= 0.6.0 with crate(pep508_rs/default) < 0.7.0~)
 Problem 18: nothing provides requested (crate(pep508_rs/serde) >= 0.6.0 with crate(pep508_rs/serde) < 0.7.0~)
 Problem 19: nothing provides requested (crate(pep508_rs/tracing) >= 0.6.0 with crate(pep508_rs/tracing) < 0.7.0~)
 Problem 20: nothing provides requested (crate(platform-info/default) >= 2.0.2 with crate(platform-info/default) < 3.0.0~)
 Problem 21: nothing provides requested (crate(pyproject-toml/default) >= 0.11.0 with crate(pyproject-toml/default) < 0.12.0~)
 Problem 22: nothing provides requested (crate(python-pkginfo/default) >= 0.6.0 with crate(python-pkginfo/default) < 0.7.0~)

Comment 7 Fabio Valentini 2024-12-25 18:28:52 UTC
I am aware - I am already working on building the dependencies for epel10 - please don't file separate bugzillas for all 100000 of them ;)

Comment 8 Fedora Update System 2024-12-25 19:49:29 UTC
FEDORA-EPEL-2024-2c1b37a7bc (maturin-1.7.4-3.el10_0, rust-aliasable-0.1.3-9.el10_0, and 47 more) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-2c1b37a7bc

Comment 9 Fedora Update System 2024-12-26 01:31:43 UTC
FEDORA-EPEL-2024-2c1b37a7bc has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-2c1b37a7bc

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

Comment 10 Fedora Update System 2024-12-28 00:32:56 UTC
FEDORA-EPEL-2024-2c1b37a7bc (maturin-1.7.4-3.el10_0, rust-aliasable-0.1.3-9.el10_0, and 47 more) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.