Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate RPM with packit and maybe copr ? #853

Open
petersilva opened this issue Dec 3, 2023 · 5 comments
Open

Generate RPM with packit and maybe copr ? #853

petersilva opened this issue Dec 3, 2023 · 5 comments
Labels
enhancement New feature or request HPC related to hich performance computing mirroing use case Priority 4 - Strategic would benefit multiple use cases if resolved

Comments

@petersilva
Copy link
Contributor

based on advice here:

https://discuss.python.org/t/tool-to-build-a-rpm-package-backed-by-pep-517/4020/16

led to looking at https://packit.dev, and now created a copr ( https://copr.fedorainfracloud.org/coprs/bitgrazer/MetPX-sr3/ )
project? ... should figure out how to build RPM's automagically based on github commits... automate rpm generation.

@petersilva petersilva added enhancement New feature or request HPC related to hich performance computing mirroing use case labels Dec 3, 2023
@petersilva petersilva changed the title generating RPM with packit and maybe copr ? Generate RPM with packit and maybe copr ? Dec 3, 2023
@petersilva
Copy link
Contributor Author

There is supposed to be a way to hook things together so that github commits can trigger rpm generation.

@petersilva
Copy link
Contributor Author

So the basic problem is that whenever I build an RPM on rhel8 (most important target os atm) many dependencies are missing,
so I edit setup.py to remove those dependencies and let the user know (built sr3 features #741) so it does not just build as-is.

So far redhat environments have always been missing many dependencies (except fedora39, built experimentally in #740 ... with the issue740_hatchling branch, but that does not work at all with python3.6 ... which is on redhat 8.

@petersilva
Copy link
Contributor Author

petersilva commented Dec 3, 2023

following the comment from https://discuss.python.org/u/webknjaz in the python packaging thread mentioned in the initial post of this issue ... looked into packit.dev, which seems to use https://copr.fedorainfracloud.org/ ... which requires a fedora account... ok, then I look into creating a package in copr, but which wants me to use tito... https://github.com/rpm-software-management/tito... that's as far as I've gotten so far.

@petersilva petersilva added the Priority 4 - Strategic would benefit multiple use cases if resolved label Dec 4, 2023
@petersilva
Copy link
Contributor Author

https://devguide.python.org/versions/

note that python on redhat8 and ubuntu18 are deprecated... so security situation is a bit unclear.

@petersilva
Copy link
Contributor Author

so far, have merged a .spec file... which is a step along the way to any of these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HPC related to hich performance computing mirroing use case Priority 4 - Strategic would benefit multiple use cases if resolved
Projects
None yet
Development

No branches or pull requests

1 participant