Re: Python distro deps for builds using venv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11 Feb 2025, at 14:30, Peter Robinson <pbrobinson@xxxxxxxxx> wrote:


Hi python folks,

I have a package [1] (you can toggle the with_python var at the top) that now builds the python bindings in an isolated venv+pip environment, and hence fails, [2].

It seems, at least in the way upstream currently configures it, you can't seem to use the distro provided python deps to provide the requirements for building the bindings and it tries to retrieve them from pypi which obviously fails in the constrained environment of koji. Is there a way to tell venv+pip to use the distro packaging?

I had a quick search in the packaging docs but nothing looked particularly relevant, does anyone have any suggestions as the best way to use distro packages for this?

See https://docs.python.org/3/library/venv.html and the --system-site-packages option that may fix things for you.

You may be hitting an upstream that is not thinking about distro packaging issues.


Barry

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux