-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
cpython: avoid invalid configurations #25500
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
I like the goal here. There's another invalid config, relating to Fixing the issues that come up from these might not be trivial, but I can take a look if I have some spare time. It might not be a bad idea to split this into a few PRs if it gets difficult. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@AbrilRBS To fix the Mac cross-compile errors, we would need an additional build-time dependency on |
Conan v1 pipeline ❌Warning Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement. Failure in build 4 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping Failure in build 4 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
@valgur Seems that cpython doesn't support Mac cross compiles, but it does support universal builds (see python/cpython#90905). That might go into a rabbithole of needing to update dependencies to also support universal builds. Also see https://docs.conan.io/2/reference/tools/cmake/cmaketoolchain.html#support-for-universal-binaries-in-macos, somewhat relevant. |
Summary
Changes to recipe: cpython/[*]
Motivation
The cpython recipe is currently marked as invalid on
tk/8.6.10: Invalid: The tk conan recipe does not currently support Macos cross-builds. A contribution to add this functionality would be welcome.
ncurses/6.4: Invalid: Cross building to/from arm is (currently) not supported
cpython/3.12.7: Invalid ID: Static msvc build disabled (>=3.10) due to "AttributeError: module 'sys' has no attribute 'winver'"
Both of these are avoidable.
This affects the build of these configurations for
nanobind
, for example: #20297 (comment)/cc @Ahajha
Details