-
We've been using cibuildwheel very successfully for some time, it's wonderful! But a new problem just came up on windows builds because we need to limit pytest to <8.0 for now. The following is working on linux & mac builds but failing on windows:
On Windows it generates an error: The relevant section of the build log is:
How should the version specification be done to work on Windows (as well as linux and mac)? I've tried adding quotes and quotes with a space between the package and version specification, neither worked. Thanks for the package and the help!! CI link: https://github.com/RadioAstronomySoftwareGroup/pyuvdata/actions/runs/7732465269/job/21082460054 workflow link: https://github.com/RadioAstronomySoftwareGroup/pyuvdata/blob/always-slicify/.github/workflows/publish-to-test-pypi.yaml |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Escape
I also struggled this problem, and finally solved it. On Windows, cibuildwheel executes sub command through shell (aka. cmd). cibuildwheel/cibuildwheel/util.py Lines 154 to 162 in 9c75ea1 And cmd requires to escape Unfortunately, this is (probably) incompatible with Linux and macOS, I am not sure whether this escape should be handled by cibuildwheel or user. |
Beta Was this translation helpful? Give feedback.
Escape
<
by^
.I also struggled this problem, and finally solved it.
ymd-h/cpprb@b1a2bfd
On Windows, cibuildwheel executes sub command through shell (aka. cmd).
cibuildwheel/cibuildwheel/util.py
Lines 154 to 162 in 9c75ea1
And cmd requires to escape
<
character by^
.Unfortunately, this is (probably) incompatible with Linux and macOS,
so that we might have to use configuration overrides or to use different environment variables depending…