Skip to content
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

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

Open
greg-is-kub opened this issue Jul 8, 2024 · 1 comment
Open

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

greg-is-kub opened this issue Jul 8, 2024 · 1 comment

Comments

@greg-is-kub
Copy link

greg-is-kub commented Jul 8, 2024

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 greg-is-kub changed the title Built package is win32 even if asked for : cp38-win_amd64 Built package is win32 even if cp38-win_amd64 specified Jul 8, 2024
@greg-is-kub greg-is-kub changed the title Built package is win32 even if cp38-win_amd64 specified [BUG] Built package is win32 even if cp38-win_amd64 specified Jul 8, 2024
@greg-is-kub greg-is-kub changed the title [BUG] Built package is win32 even if cp38-win_amd64 specified [BUG] Built package is win32 even if cp38-win_amd64 specified Aug 2, 2024
@ideoforms
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants