-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add pyproject.toml #15
Conversation
|
…l; add win/linux 32bit
If I understand this correctly, this would limit distribution via PyPI to source distribution requiring Maturin and Rust on the target system? Why not build a single wheel that uses Python's stable API and would thereby work on CPython 3.6 and newer? |
No. Wheels are still build and deployed. But the missing source distribution is now added. |
Ah, but only for CPython 3.9, right? Since this is not calling back into Python at all, I see little reason to restrict support from 3.6+? |
When installing from source-distribution, only rust needs to be provided, since maturin is set as build backend and will be installed during the build process. This is the magic of the new pyproject.toml workflow. 😉 |
Wheels are build for py3.6 - py3.10 and pypy. This is done automatically by the maturin action. The pinned python version is only used to handle maturin. Before, there were all wheels build multiple times, since the pinned python version is not affecting the built wheels. |
You can see all produced wheels in the provided artifacts when you go to the Github-Actions tab. |
I think this is limited to organisation members. |
For some reason macOS wheels are only build for py3.9 |
Guess we have to do it by hand for macOS, like in this workflow: https://github.com/milesgranger/pyrus-cramjam/blob/master/.github/workflows/CI.yml |
Personally, I would still advise to enable PyO3's |
I suspect the reason is lack of Docker support on GitHub's macOS VM? |
Just learned about that. Amazing. Will try to do so. |
Worked like a charm. And we only have 7 artifacts.. nice! |
@adamreichold, @LSchueler should we include a fix for #16 here? |
I would prefer a separate MR. I think this one is ready for merging when @LSchueler had time to review it while tackling #16 could open up completely new avenues of discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks you two for putting this together! I was just super busy this week...
@adamreichold already told me about the abi3
support, but unfortunately I didn't have time to join your discussion.
This PR enables installing the package with pip locally and should simplify the distribution to pypi and conda in the future.