Skip to content
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

Fix emscripten action #1657

Merged
merged 4 commits into from
Jun 9, 2023
Merged

Conversation

ManonMarchand
Copy link
Contributor

Hello and thanks for your software!

What did not work

In the output of generate-ci with the emscripten option, the version of python in maturin_args was fixed at "3.10". But the stable version of pyodide-build is only compatible with "3.11" right now.

What I did

Now the ci fetches the current python version for pyodide with pyodide config get python_version similarly to what was already done for the emscripten_version. Like so, it should adapt to any future new versions

Doubts

I'm new to Rust, so feel free to change anything. Tests are passing and the ci runs there in my library: https://github.com/cds-astro/mocpy/actions/workflows/emscripten.yml but I never know what I could have broken.

@netlify
Copy link

netlify bot commented Jun 9, 2023

Deploy Preview for maturin-guide ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5cef3c3
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/648318acd80a3c000851ecb8
😎 Deploy Preview https://deploy-preview-1657--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@messense messense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@messense messense merged commit b83e19f into PyO3:main Jun 9, 2023
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.

2 participants