py-junos-eznc
py-junos-eznc copied to clipboard
[RFE] Package python3-junos-eznc into RPM
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 https://github.com/redhat-performance/badfish/commit/0060ab18217aad1c207bfacb58ac59d12355e226
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?
We will evaluate it and get back.
@sadsfae Please send a pull request
Thanks @ydnath I will start working on this next week.
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.