Giter Site home page Giter Site logo

Comments (12)

messense avatar messense commented on July 18, 2024 1

Actually I think we can also add them to PATH automatically on our end.

from maturin-action.

messense avatar messense commented on July 18, 2024

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.

messense avatar messense commented on July 18, 2024

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.

EwoutH avatar EwoutH commented on July 18, 2024

Thanks for considering this! It saves a lot of code, which can get quite complicated with different build matrices.

from maturin-action.

Mr-Milk avatar Mr-Milk commented on July 18, 2024

I'm still having this issue in the latest build, maturin use the cached py3.9 instead of the one set by setup-python
image

from maturin-action.

messense avatar messense commented on July 18, 2024

@Mr-Milk Use -i pythonX.Y option.

from maturin-action.

messense avatar messense commented on July 18, 2024

@Mr-Milk Can you try messense/maturin-action@setup-python?

from maturin-action.

Mr-Milk avatar Mr-Milk commented on July 18, 2024

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.

Mr-Milk avatar Mr-Milk commented on July 18, 2024

It worked!😃
Are you going to make a new release? Should I set it back to messense/maturin-action@v1?

from maturin-action.

messense avatar messense commented on July 18, 2024

Released, v1 updated.

from maturin-action.

EwoutH avatar EwoutH commented on July 18, 2024

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.

messense avatar messense commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.