On 1/12/24 11:08, Jeffrey Walton wrote:
Thanks Jeff, as the module was already installed in Fedora I didn't think about trying to downgrade it. Comparing the installed version to the version that pip installed for python 3.12, the Fedora installed version was missing a large number of functions, so it looked like the Fedora version was a stub module and not the full module.On Sat, Nov 30, 2024 at 5:27 PM Stephen Morris <[email protected]> wrote:On 30/11/24 23:27, Bob Marčan via users wrote: [...] 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 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?The way I have dealt with this in the past is, don't use bleeding edge. Download packages that are from the same epoch as the Fedora release you are building for. If you are building something for Fedora 41, which was released October 2024, then download packages and dependencies that were released around that time. If functions are missing, then download an earlier version of the package or dependency and try again. I do the same regularly for Keysmith, especially on Ubuntu. I can't build the latest Keysmith release on Ubuntu. I usually have to checkout an earlier version due to Qt dependencies.
regards, Steve
Jeff
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
