cibuildwheel icon indicating copy to clipboard operation
cibuildwheel copied to clipboard

[BUG] Built package is `win32` even if `cp38-win_amd64` specified

Open greg-is-kub opened this issue 1 year ago • 1 comments

Description

Hi to you all! First : thank for this very convenient tool that you built!

I've encountered a weird situation where I ask cibuilldwheel to generate an amd64 wheel and the generated one is in win32. However this only happens at the very end of the process. Here is the job : https://gitlab.eclipse.org/eclipse/aidge/aidge_core/-/jobs/389744 In the jobs here are the parts /lines I find interesting :

I have ensured that my runner has amd64 architecture .

Do you have any idea on how this could happen & how do I fix this ?

Thanks in advance !

Build log

https://gitlab.eclipse.org/eclipse/aidge/aidge_core/-/jobs/389744

CI config

https://gitlab.eclipse.org/eclipse/aidge/gitlab_shared_files/-/blob/8bfb47237ad427ddd1400e3f33bcf2ea811102da/.gitlab/ci/release/cibuildwheel_windows.gitlab-ci.yml

greg-is-kub avatar Jul 08 '24 10:07 greg-is-kub

I'm seeing the same issue on another project that I develop with cibuildwheel, and likewise if I do python3 -m build --wheel:

  • I have configured the entire flow to use AMD64 (set CIBW_ARCHS_WINDOWS=AMD64)
  • the debugging output confirms that it is building a 64-bit wheel (cp311-win_amd64 finished in 54.50s)
  • the contents of the wheel itself is 64-bit
  • but the generated filename is *-win32.whl

Reproduced with Python 3.11 and 3.12, cibuildwheel 2.21.3.

ideoforms avatar Oct 28 '24 14:10 ideoforms