On 30/11/24 23:27, Bob Marčan via users
wrote:
The magazines said they had written their tutorials for python 3.12, as that was the most commonly used version of python. But my main question is, because I had issues where required functions for the tutorial weren't in the Fedora version of the package, which in my case was already installed as part of the python install, how do we know before installing a package rpm whether or not it is going to have the needed functions?On Sat, 30 Nov 2024 09:33:30 +0000 "Barry Scott" <barry@xxxxxxxxxxxxxxxx> wrote:On 30 Nov 2024, at 09:22, Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: On Sat, 2024-11-30 at 10:59 +1100, Stephen Morris wrote:With reference to the Fedora environment, if a package is required to be installed, would you recommend installing the repository version or download it with pip?The recommendation always was use your distro's packaging system if you wanted a stable system.YesOf course you're screwed if what you want isn't available for it. That leaves you with trying to create it, or influencing someone else into doing it.The python way to isolate from the OS is to use the venv machinary. I'm guessing from your response you are not familiar with it.How to build rpm: python setup.py bdist_rpm
Just off topic, I've also been in the situation where I was looking for euchre and canasta card games for linux (I already had them on my phone), where I found a canasta one but in wouldn't install in the version of Fedora I was using because of a missing file dependency (my memory is not good enough to remember the package name nor whether this was before or after my upgrade from F40 to F41). When I did a net search for what contained the file in question I found a page with details on what packages contained the file for various distributions of which Fedora was one. The page referenced a specific package name suffixed with a "D", but when I searched the repositories I found a package of the same name but suffixed with a "U" instead of a "D", and after installing the package to find what out what files it installed (because that information is not provided in Fedora anymore for uninstalled packages) I found that all the files installed by the package were also suffixed with a "U", so that package was never going to supply the required dependency. Would this have been a situation where the web site I found detailing the Fedora information was written for an older version of Fedora (which was unstated) or was the information just wrong and the required dependency has never existed in Fedora because of naming conventions?
regards,
Steve
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue