-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: do not systematically build python spk when building python dependent modules #6197
Conversation
@smaarn To build python first is by intention. All packages that use |
My point here was to avoid building those spks if not needed. Is what you are saying meaning that if I do that no native python install will be made causing python related processes to fail ? |
No it works, when no python spk is built in advance. If no prebuilt python spk is found, it will build python as cross/python[310|311] dependency. The most important benefit with prebuilt python is for local development. |
Ok I will be rechecking if I see other solutions. |
@smaarn that is part of a much bigger issue that I am trying to solve (yes, old PR, will resurect in the coming days) - we can no longer have a default and unique "fit-all" crossenv anymore... In some circumstance you need the ability to upgrade/downgrade/add packages to your crossenv as otherwise your wheel building simply won't work. That is what I am trying to solve in PR #6040 whereas I'm including an option to generate custom crossenv so specific wheels can be processed sucessfully. |
@th0ma7 any news on this matter ? I perfectly understand that you have other priorities and may lack bandwidth but my concern with this PR was to ensure that someone working "only on a given python-dependent spk" wouldn't be impacted by Python-wide concerns. In this particular case I'm "stuck" for updating bazarr (see #6164 ) because of some documented regression introduced in setuptools which is being aggressively upgraded when building python spk. Would this issue also be tackled by the "separated cross env" idea ? |
Indeed it would as you can then specify pip and setuptools versions matching your requirements specificities. I was away for work but now catching up and about to close ffmpeg videodriver pr. Once completed i should be able to resume work on python which is already advanced. But yeah it does require a fair share of cycles and that's gonna take me some time to complete as my availability is limited. If all goes well as all the prerequisites pr have now been merged, a few more weeks to a month and i should have something ready for you to play with? |
Description
Fixes issue where, when trying to update a python depending module (let's say "Bazaar"), Python's spk would systematically be built.
Checklist
all-supported
completed successfullyType of change