Looping in epel-devel
---------- Forwarded Message ----------
Subject: [Fedora-packaging] Need help: Building a package requiring python >= 3.7 on epel8 From: Steve Cossette farchord@gmail.com To: packaging@lists.fedoraproject.org
Good day to you all!
I am still pretty much new at packaging, for fedora or, well, any distro to be frank. I applied to become a co-packager for the lutris package at the beginning of the year and was lucky enough to be co-sponsored and brought on board. Love packaging!
Now, I decided to contribute further by building the package for epel8 and epel9. I have been following the guide on https://docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenance..., but did not know that doing so does not guarantee installation will be successful (specially if some of the packages set as 'Requires' are not available in the repos.... oops!)
So, with Lutris requiring python 3.7 or higher, I decided to go with 3.8. I've set the spec to use python3.8 (By using the "%global __python3 /usr/bin/python3.8" macro) and specified python3.8 packages as much as possible, as the default python for centos stream/epel8 is 3.6.
Python38-devel installs fine, but 3 subpackages keep failing, mainly python3.8(evdev), python3.8(pygobject) and python3.8(distro). Distro should work with the python38-pip package (if pkgs.org is to be believed) but the other two seem to be a no-go on epel8.
Before we drop that branch, I wanted to post here, to make sure I didn't miss anything.
Thanks for your help! _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-----------------------------------------
On Friday, August 26, 2022 Steve Cossette wrote:
Now, I decided to contribute further by building the package for epel8 and epel9. I have been following the guide on https://docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenanc e_Guide/, but did not know that doing so does not guarantee installation will be successful (specially if some of the packages set as 'Requires' are not available in the repos.... oops!)
Yes, you need to check that packages are installable. At least, you can run `mock -r chroot_name_here --postinstall --source . --spec lutris.spec` or `fedpkg mockbuild --postinstall` to build the package in a mock chroot and ensures that it's actually installable.
Python38-devel installs fine, but 3 subpackages keep failing, mainly python3.8(evdev), python3.8(pygobject) and python3.8(distro).
Yes, those packages are probably not available for python38. If you want to support lutris on EPEL 8, you'd have to package up the dependencies. However, I'd recommend targeting python39 instead of python38. If you're interested in doing that, I'd be happy to provide some more pointers.
Yeah I may simply not bother with epel8 then and just keep building for epel9. We may simply retire lutris for epel8 in that case. I'm not really even sure how much interest there is for lutris on epel8...
Thanks for your opinion!
Le sam. 27 août 2022, 17 h 07, Maxwell G gotmax@e.email a écrit :
On Friday, August 26, 2022 Steve Cossette wrote:
Now, I decided to contribute further by building the package for epel8
and
epel9. I have been following the guide on
https://docs.fedoraproject.org/en-US/package-maintainers/Package_Maintenanc
e_Guide/, but did not know that doing so does not guarantee installation will be successful (specially if some of the packages set as 'Requires'
are
not available in the repos.... oops!)
Yes, you need to check that packages are installable. At least, you can run `mock -r chroot_name_here --postinstall --source . --spec lutris.spec` or `fedpkg mockbuild --postinstall` to build the package in a mock chroot and ensures that it's actually installable.
Python38-devel installs fine, but 3 subpackages keep failing, mainly python3.8(evdev), python3.8(pygobject) and python3.8(distro).
Yes, those packages are probably not available for python38. If you want to support lutris on EPEL 8, you'd have to package up the dependencies. However, I'd recommend targeting python39 instead of python38. If you're interested in doing that, I'd be happy to provide some more pointers.
-- Thanks,
Maxwell G (@gotmax23) Pronouns: He/Him/His
packaging@lists.fedoraproject.org