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

[RFE] Package python3-junos-eznc into RPM #1151

Open
sadsfae opened this issue Jan 25, 2022 · 4 comments
Open

[RFE] Package python3-junos-eznc into RPM #1151

sadsfae opened this issue Jan 25, 2022 · 4 comments

Comments

@sadsfae
Copy link

sadsfae commented Jan 25, 2022

This is an RFE for providing python3-junos-eznc packaged into an RPM format. This would make the library easier to consume on production EL systems where using pip or non-system packages is generally frowned upon.

You can automate it fairly easy using Github actions and the Fedora COPR service. We are doing this in another project here redhat-performance/badfish@0060ab1

Barring building your own packages via GHA/COPR or similar would you be open to a PR for adding a tested ../rpm/python3-junos-eznc.spec so that consumers can use rpmbuild to build packages for EL8 and Fedora-based systems?

@ydnath
Copy link
Member

ydnath commented Jan 25, 2022

We will evaluate it and get back.

@ydnath
Copy link
Member

ydnath commented Jan 31, 2022

@sadsfae Please send a pull request

@sadsfae
Copy link
Author

sadsfae commented Feb 10, 2022

Thanks @ydnath I will start working on this next week.

@sadsfae
Copy link
Author

sadsfae commented Feb 16, 2022

Looking at your requirements.txt there's a dependency on python3-transitions which isn't packaged in EL/Fedora yet. - https://github.com/Juniper/py-junos-eznc/blob/master/requirements.txt#L13

We're going to see about packaging python3-transitions for EPEL/Fedora first, so anyone using EL-based distributions won't have package dependency issues (Fedora, RHEL, CentOS Stream, Rocky, Alma, etc).

If you wouldn't mind keeping this RFE open we can track progress here. After python3-transitions (https://github.com/pytransitions/transitions) is packaged for at least Fedora we can continue with a PR here to help you auto-build RPM on every release using Github actions and COPR or at the very least have a .spec file which allows people to build their own RPM packages of python3-junos-eznc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants