You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation of building Python package with compiled extensions (https://rattler.build/latest/tutorials/python/#a-python-package-with-compiled-extensions), it shows the recipe for building numpy for different Python version using variants. But it will build different variant sequentially. The time can add up quickly when there are many variants and/or the build time for each variant is long. I would love to build different variants in parallel for faster CI pipeline. I find that when I don't use variants but rather pass the Python version as environment variable, the package name (the build string specifically) does not contain the Python version specific part (e.g. py311 for Python 3.11 build), leading to all packages having the same filename. What is the best way to parallelize the build for different Python versions (or variants in general)? Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the documentation of building Python package with compiled extensions (https://rattler.build/latest/tutorials/python/#a-python-package-with-compiled-extensions), it shows the recipe for building numpy for different Python version using variants. But it will build different variant sequentially. The time can add up quickly when there are many variants and/or the build time for each variant is long. I would love to build different variants in parallel for faster CI pipeline. I find that when I don't use variants but rather pass the Python version as environment variable, the package name (the build string specifically) does not contain the Python version specific part (e.g. py311 for Python 3.11 build), leading to all packages having the same filename. What is the best way to parallelize the build for different Python versions (or variants in general)? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions