use correct python version in maturin ci for aarch64 #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tested in #54
filed an issue in maturin about it PyO3/maturin#2227
the publish workflow was generated with
maturin generate-ci github --pytest
so thatpytest
would be run for each platform. it worked fine forx86_64
andx86
, but foraarch64
it failed with an error:(job link)
the tl;dr is that
x86_64
andx86
got to use the Python 3.12 version set up earlier in the workflow butaarch64
had to use Python 3.10 because reasons. we setrequires-python = ">=3.12"
inpyproject.toml
so when we tried to install our wheel on 3.10 it refused.the fix here is to use the deadsnakes PPA to install a newer version of Python
alternatives:
pyproject.toml
to require python >= 3.10 and make maturin build wheels for older versionsaarch64
we don't really need linux aarch64 support right now but it would be necessary to integrate codecov-rs in a cli or VS Code extension in the future