Bug 2316989 - Please branch and build python-setuptools-rust in epel10
Summary: Please branch and build python-setuptools-rust in epel10
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-setuptools-rust
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Trivino
QA Contact:
URL:
Whiteboard:
: 2323780 2324165 (view as bug list)
Depends On: 2316988
Blocks: EPELPackagersSIG 2323770 2323771 2313795 2324158 2330253
TreeView+ depends on / blocked
 
Reported: 2024-10-07 15:40 UTC by Ben Beasley
Modified: 2025-01-03 04:14 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-03 04:14:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2024-10-07 15:40:21 UTC
Please branch and build python-setuptools-rust in epel10.

If you do not wish to maintain python-setuptools-rust in epel10,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS: music);
please add me through https://src.fedoraproject.org/rpms/python-setuptools-rust/adduser

Comment 1 Ben Beasley 2024-10-07 15:45:57 UTC
This is a dependency for maturin, which is needed to build various Python extensions that are written in Rust, such as Pydantic (python-pydantic-core).

Comment 2 Christian Heimes 2024-10-07 16:10:50 UTC
The package is in c10s, https://gitlab.com/redhat/centos-stream/rpms/python-setuptools-rust . I'm not sure why you are unable to use it. Maybe it is still flagged as buildroot-only and therefore not included in CRB?

Comment 3 Ben Beasley 2024-10-07 17:05:19 UTC
(In reply to Christian Heimes from comment #2)
> The package is in c10s,
> https://gitlab.com/redhat/centos-stream/rpms/python-setuptools-rust . I'm
> not sure why you are unable to use it. Maybe it is still flagged as
> buildroot-only and therefore not included in CRB?

Yes, it’s a buildroot-only package (Buildroot level 1) in CentOS[1]. So is the dependency python-semantic_version[2]. These packages are only used for building CentOS/RHEL packages, and aren’t shipped in any publicly available repositories, so they’re still eligible for EPEL – no machine should ever see buildroot-only packages and EPEL packages at the same time.

[1] https://tiny.distro.builders/view-rpm--view-c10s--python3-setuptools-rust.html
[2] https://tiny.distro.builders/view-rpm--view-c10s--python3-semantic_version.html

Comment 4 Ben Beasley 2024-10-07 17:34:25 UTC
Here’s a link about EPEL eligibility: https://docs.fedoraproject.org/en-US/epel/epel-policy/#_policy

That said, if python-semantic_version and python-setuptools-rust were added to CRB rather than built in EPEL, that would be equally satisfactory, and probably easier if the same person/people would be maintaining the packages in both cases.

Comment 6 Christian Heimes 2024-10-07 19:50:38 UTC
Let me to to Trivino. He took over stream and RHEL package maintenance from me. If he agrees to move the components from buildroot to CRB, then I would prefer that solution.

Comment 7 Miro Hrončok 2024-10-08 22:52:37 UTC
If you do, please put them to a CRB workload in https://github.com/minimization/content-resolver-input so this does not happen again with CentOS Stream 11.

Comment 8 Christian Heimes 2024-10-09 08:28:42 UTC
Good point, Miro!

Ben, it might take a while. Carl sent me a information how to request buildroot -> CRB move. The move has to go through an approval process. I'll keep you posted.

Comment 11 Ben Beasley 2024-10-09 11:00:57 UTC
(In reply to Christian Heimes from comment #8)
> Good point, Miro!
> 
> Ben, it might take a while. Carl sent me a information how to request
> buildroot -> CRB move. The move has to go through an approval process. I'll
> keep you posted.

While I know that people are going to be asking for Pydantic in particular as we approach the RHEL 10 release, I’m not on any kind of strict timeline. I’m happy to wait for the approach that is best for you in the long term.

Thank you for the follow-up, and for working on this!

Comment 14 Ben Beasley 2024-11-05 11:10:02 UTC
*** Bug 2323780 has been marked as a duplicate of this bug. ***

Comment 15 Miro Hrončok 2024-11-05 15:32:12 UTC
Hi, could you share the Jira link(s) here?

Comment 16 Ben Beasley 2024-11-06 13:03:28 UTC
*** Bug 2324165 has been marked as a duplicate of this bug. ***

Comment 17 Carl George 🤠 2024-11-07 04:35:38 UTC
I just realized that there is an outstanding request to add this package to EPEL 9 as well (bug 2173215).  There was some discussion in that bug of the package moving from the CentOS/RHEL 9 buildroot to CRB, but it seems to have stalled out.  Is this request for 10 headed toward the same fate?  Since no subpackages are shipped in BaseOS, AppStream, or CRB, this package is eligible for EPEL, but it would be easier for everyone if the packages that are already built could just be shipped in CRB.

Comment 18 Carl George 🤠 2024-11-07 05:25:22 UTC
I realized that while we have discussed moving this to CRB to avoid duplicating the work in EPEL, we haven't yet formally requested it.  I've done that in this issue.

https://issues.redhat.com/browse/RHEL-66224

Comment 19 Trivino 2024-11-11 11:11:56 UTC
Hi Carl, 

thanks for filing the RHEL ticket. I also filed the one for python3-semantic_version. We need both in the CRB, and I’ll be working on them. Hopefully, they won’t get stuck.

https://issues.redhat.com/browse/RHEL-66994


(In reply to Carl George 🤠 from comment #18)
> I realized that while we have discussed moving this to CRB to avoid
> duplicating the work in EPEL, we haven't yet formally requested it.  I've
> done that in this issue.
> 
> https://issues.redhat.com/browse/RHEL-66224

Comment 20 Romain Geissler 2024-12-25 15:18:51 UTC
Right now it seems that:
 - Both python3-semantic_version & python-setuptools-rust (recent versions) are available in CRB
 - There is still some thing to clarify with python3-semantic_version being duplicated in two repos: CRB & EPEL 10
 - python-brycrpt no longer has problems wrt python-setuptools-rust when trying to build it on EPEL 10 (but misses now some rust dependencies).

So I guess this ticket can be closed ?


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