Skip to content

Conversation

Greenie0701
Copy link

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
Copy link
Collaborator

mpenkov commented Jul 27, 2025

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

@Greenie0701
Copy link
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!

@Greenie0701
Copy link
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.

@Greenie0701
Copy link
Author

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

@julianpollmann
Copy link
Collaborator

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

@Greenie0701
Copy link
Author

@julianpollmann thanks for sharing the relevant information

@Greenie0701
Copy link
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

@Greenie0701
Copy link
Author

Hi Developers
Any updates on this PR.

@julianpollmann
Copy link
Collaborator

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

@Greenie0701
Copy link
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