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
Currently the two publish workflows create jobs which set CIBW_BUILD and CIBW_ARCHS environment variables depending on the list of targets specified as an input to this workflow. These environment variables override any cibuildwheel config for build or archs set in pyproject.toml. (It should at least be documented that the publish workflows do not support build or archs within pyproject.toml.)
A fix would be to update tools/load_build_targets.py to parse pyproject.toml for build and archs configuration, and merge/adjust/replace the targets specified as an input to this workflow with the pyproject.toml config. I think the simplest solution would be to support either build config in pyproject.toml OR the targets workflow input.
The text was updated successfully, but these errors were encountered:
Currently the two publish workflows create jobs which set
CIBW_BUILD
andCIBW_ARCHS
environment variables depending on the list oftargets
specified as an input to this workflow. These environment variables override any cibuildwheel config forbuild
orarchs
set inpyproject.toml
. (It should at least be documented that the publish workflows do not supportbuild
orarchs
withinpyproject.toml
.)A fix would be to update
tools/load_build_targets.py
to parsepyproject.toml
forbuild
andarchs
configuration, and merge/adjust/replace thetargets
specified as an input to this workflow with thepyproject.toml
config. I think the simplest solution would be to support eitherbuild
config inpyproject.toml
OR thetargets
workflow input.The text was updated successfully, but these errors were encountered: