-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Windows PyPy fails to find an interpreter #267
Comments
Can you try install them via setup-python action before calling this action? |
Yes, I tried that previously, but I can repeat it in the PR, just a sec. |
Probably something has changed in github actions tool cache for PyPy. Lines 769 to 779 in b49dce4
|
In the meantime you can try enable See https://pyo3.rs/v0.21.2/features.html?highlight=generate-import-lib#generate-import-lib |
It's in a |
Assuming this the right way to enable it: [dependencies]
pyo3 = { version = "0.21.2", features = ["abi3-py38", "generate-import-lib"] } This cause Maturin to simply ignore the |
Interesting, might be a bug in maturin, I'll take a look when I have the time. |
Is there a way for me to see the core.info printouts? I'm still not seeing it with the recent update. |
core.info should be visible by default, so it's simply didn't run. https://github.com/tox-dev/pyproject-fmt-rust/actions/runs/9068434736/job/24915732974?pr=11#step:3:34 this one does have the output. |
I can confirm that the issue is still actual. Unfortunately, specifying the interpreter manually via
As you might see, I am open to providing more information or filling another issue if needed. |
Consistently use the following Python versions everywhere in CI: - 3.8 - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 - pypy3.9 - pypy3.10 The heels for Python 3.13 are beneficial for dependent packages such as `jsonschema`. Note that PyPy3.8 was dropped since the PyPy website (https://www.pypy.org/) states they currently support Python versions 3.10, 3.9, and 2.7. To build extension for PyPy on Windows, "generate-import-lib" in `Cargo.toml` is needed: PyO3/maturin-action#267 (comment)
Consistently use the following Python versions everywhere in CI: - 3.8 - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 - pypy3.9 - pypy3.10 The heels for Python 3.13 are beneficial for dependent packages such as `jsonschema`. Note that PyPy3.8 was dropped since the PyPy website (https://www.pypy.org/) states they currently support Python versions 3.10, 3.9, and 2.7. To build extension for PyPy on Windows, "generate-import-lib" in `Cargo.toml` is needed: PyO3/maturin-action#267 (comment)
Consistently use the following Python versions everywhere in CI: - 3.8 - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 - pypy3.9 - pypy3.10 The heels for Python 3.13 are beneficial for dependent packages such as `jsonschema`. Note that PyPy3.8 was dropped since the PyPy website (https://www.pypy.org/) states they currently support Python versions 3.10, 3.9, and 2.7. To build extension for PyPy on Windows, "generate-import-lib" in `Cargo.toml` is needed: PyO3/maturin-action#267 (comment)
Consistently use the following Python versions everywhere in CI: - 3.8 - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 - pypy3.9 - pypy3.10 The heels for Python 3.13 are beneficial for dependent packages such as `jsonschema`. Note that PyPy3.8 was dropped since the PyPy website (https://www.pypy.org/) states they currently support Python versions 3.10, 3.9, and 2.7. To build extension for PyPy on Windows, "generate-import-lib" in `Cargo.toml` is needed: PyO3/maturin-action#267 (comment)
To ensure consistently, use the following Python versions everywhere in CI: - 3.8 - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 - pypy3.9 - pypy3.10 The wheels for Python 3.13 are beneficial for dependent packages such as `jsonschema`. Note that PyPy3.8 was dropped since the PyPy website (https://www.pypy.org/) states they currently support Python versions 3.10, 3.9, and 2.7. To build the extension for PyPy on Windows, "generate-import-lib" in `Cargo.toml` is needed, as per this GitHub issue: PyO3/maturin-action#267 (comment)
Windows 64-bit PyPy fails to find an interpreter - Linux and macOS (both archs) are fine. Example: tox-dev/pyproject-fmt-rust#11
It works with cibuildwheel, so I think it's an issue with the action.
The text was updated successfully, but these errors were encountered: