Skip to content

Add support for building gensim Win-ARM64 python wheels - #3622

Open
MGN-GIT wants to merge 5 commits into
piskvorky:developfrom
MGN-GIT:WoA_Support
Open

Add support for building gensim Win-ARM64 python wheels#3622
MGN-GIT wants to merge 5 commits into
piskvorky:developfrom
MGN-GIT:WoA_Support

Conversation

@MGN-GIT

@MGN-GIT MGN-GIT commented Jul 25, 2025

Copy link
Copy Markdown

PR Description:
Closes: #3621

  • The PR aims to add support for building gensim python wheel for Windows ARM64
  • The following changes are made in order to support Windows ARM64 python wheels:
    • Added native windows on arm github runner to support win-arm64 builds
    • Currently, official Python binaries for Win-ARM64 are available from version 3.11, so I have added builds only for supported and available python versions
    • Additionally, the pyproject.toml file has been updated to use latest NumPy release source for building Wheels on Win-ARM64

@mpenkov

mpenkov commented Jul 27, 2025

Copy link
Copy Markdown
Collaborator

Looks like the Windows ARM build is failing. Any ideas why? @lowkeyrossi

@MGN-GIT

MGN-GIT commented Jul 27, 2025

Copy link
Copy Markdown
Author

Looks like the Windows ARM build is failing. Any ideas why? @lowkeyrossi

yes @mpenkov, the failures are due to installing NumPy(oldest numpy) from source while building gensim in isolated env
I am currently looking for a workaround to fix that, if you have any suggestions, please let me know!

@MGN-GIT

MGN-GIT commented Jul 27, 2025

Copy link
Copy Markdown
Author

@mpenkov I believe, now the build should work fine for all runners. Currently, the test suite are skipped for Win-ARM64 builds since installerwheel.py scripts does not contains logic for Win-ARM64.

@MGN-GIT

MGN-GIT commented Jul 28, 2025

Copy link
Copy Markdown
Author

@mpenkov Looks like Python 3.13 builds are incompatible with Gensim, is there any reason?

@julianpollmann

Copy link
Copy Markdown
Collaborator

@lowkeyrossi There are some issues with word2vec.pyx. See issue #3611. I might have time to look into this after numpy 2 upgrades.

@MGN-GIT

MGN-GIT commented Jul 29, 2025

Copy link
Copy Markdown
Author

@julianpollmann thanks for sharing the relevant information

@MGN-GIT

MGN-GIT commented Jul 30, 2025

Copy link
Copy Markdown
Author

Any suggestions/further changes needed to make this PR merged would be appreciated, as many end users may get benefited by using gensim on this growing platform

@MGN-GIT

MGN-GIT commented Aug 27, 2025

Copy link
Copy Markdown
Author

Hi Developers
Any updates on this PR.

@julianpollmann

Copy link
Copy Markdown
Collaborator

@Greenie0701 when PR #3615 is merged Python 3.13 should work.

@MGN-GIT

MGN-GIT commented Aug 28, 2025

Copy link
Copy Markdown
Author

@julianpollmann thank you so much for the update

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

Successfully merging this pull request may close these issues.

3 participants