Comments (12)
Actually I think we can also add them to PATH
automatically on our end.
from maturin-action.
Does it finds more Python interpreters without --universal2
? It could be that installed python versions aren't in PATH
, can you try setup-python action before maturin-action?
from maturin-action.
These Python versions are cached thus not in PATH
by default, see https://github.community/t/what-are-cached-tools/140010 , looks like you should use setup-python action before maturin-action.
from maturin-action.
Thanks for considering this! It saves a lot of code, which can get quite complicated with different build matrices.
from maturin-action.
I'm still having this issue in the latest build, maturin use the cached py3.9 instead of the one set by setup-python
from maturin-action.
@Mr-Milk Use -i pythonX.Y
option.
from maturin-action.
@Mr-Milk Can you try messense/maturin-action@setup-python
?
from maturin-action.
I tried the -i pythonX.Y
it works. The python version in the later actions becomes the cached 3.9, I will try messense/maturin-action@setup-python
.
from maturin-action.
It worked!😃
Are you going to make a new release? Should I set it back to messense/maturin-action@v1?
from maturin-action.
Released, v1 updated.
from maturin-action.
To build on this, would it be possible to add path detection for PyPy on all images? PyPy 3.7 and 3.8 are pre-installed on all virtual environments.
from maturin-action.
To build on this, would it be possible to add path detection for PyPy on all images? PyPy 3.7 and 3.8 are pre-installed on all virtual environments.
Actually I've tried adding PyPy but it gets weird so I removed it.
https://github.com/messense/maturin-action/runs/4196117054?check_suite_focus=true
🔗 Found pyo3 bindings
🐍 Found PyPy 3.7 at python3.7, PyPy 3.8 at python3.8, CPython 3.9 at python3.9, CPython 3.10 at python3.10, PyPy 3.7 at pypy3.7
from maturin-action.
Related Issues (20)
- Compile failed on aarch64-unknown-linux-gnu HOT 2
- rust-toolchain argument seems to not have any effect
- Github Actions: **error: failed to run custom build command for openssl-sys v0.9.91** HOT 1
- Does this action work with nektos/act? HOT 1
- Executing sdist command fails because of too many downloaded Rust targets HOT 7
- PyPI rejects package published from default CI.yml with `unsupported platform tag` errors HOT 2
- Wrong version of maturin installed HOT 3
- `rust-toolchain.toml` is no longer recognized HOT 3
- `working-directory` option accepts a full path for hostBuild, but joins with workspace on dockerBuild HOT 1
- What is the accepted way to pass in absolute paths as the working directory? HOT 1
- `ring` crate at 0.17 fails to build under manylinux: auto HOT 1
- Publishing failed on Windows HOT 4
- Use matrix instead of separate jobs in generated CI workflow HOT 2
- Args passing to runner incorrectly HOT 1
- Allow specifying maturin version by git commit/branch HOT 1
- Python interpreter `3.12` doesn't exist HOT 2
- Fails to install successfully built package for Windows x86 HOT 1
- How to build for a crate not at the project root. HOT 1
- build failing for windows aarch64 HOT 1
- actions/upload-artifact@v4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maturin-action.