-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for Python 3.13 on Windows #292
Comments
Python 3.13 isn't installed by default in Actions runner yet: https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md#python You can install it before building using setup-python action manually for the moment. |
@messense Perhaps I'm doing something wrong, but even after setup-python explicitly adds python 3.13 for all my platforms, maturin doesn't seem to find it and stops at python 3.12. Some links for reference: Linux x86_64: https://github.com/JacobCallahan/Hussh/actions/runs/11261961543/job/31316640293?pr=19 Thanks for your time! |
@JacobCallahan See PyO3/maturin#2248 for now you can pass the list of python versions manually via |
@messense very nice! Do you know how soon that will be available in the action, if soon, then I might just hold off instead of doing a temporary workaround. |
@messense i tried using maturin-action:main for a run to see if the change you linked would help, but it still doesn't look to have detected py3.13 https://github.com/JacobCallahan/Hussh/actions/runs/11308556582/job/31451536529?pr=19 |
fyi adding setup-python doesn't fix failing CI on win i686 for 3.13: workflow file: https://github.com/oconnor663/blake3-py/blob/0440f6dffad73a0001f0472864495b8889dd0358/.github/workflows/dists.yml |
Building on Windows seems to fail with a linking error, the same one as here: PyO3/maturin-action#292
Building on Windows seems to fail with a linking error, the same one as here: PyO3/maturin-action#292
fwiw, we got python 3.13 to work on windows: oconnor663/blake3-py#46 - uses: actions/setup-python@v5
with:
# pin to the latest supported python version
python-version: "3.13"
# x86 python needs to be available for the win32 wheel
architecture: ${{ ( matrix.os == 'windows-latest' && matrix.target == 'i686' ) && 'x86' || null }}
- uses: PyO3/maturin-action@v1
with:
... |
Reporting back here on my last comment: we got python final workflow: dists.yml for |
Yeah, there are still some cross compilation bugs in pyo3 I've submitted fixes recently: PyO3/pyo3#4808 |
I'm trying to publish wheeld for
pycrdt
on Windows for Python 3.13 and I get an error suggesting that Python 3.13 is not foundI'm not sure I should report here, or if I'm doing something wrong on my side?
The text was updated successfully, but these errors were encountered: