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
Switch to maturin. #8815
base: main
Are you sure you want to change the base?
Switch to maturin. #8815
Conversation
TODO before mergable:
|
0ed4d74
to
78c881c
Compare
Hey, maturin's sdist support is be a bit hacky so you may run into obscure problems, feel free to ping me or open an issue if something doesn't work. |
Thanks!
…On Thu, Apr 27, 2023 at 12:46 AM messense ***@***.***> wrote:
Hey, maturin's sdist support is be a bit hacky
<https://github.com/PyO3/maturin/issues?q=is%3Aissue+is%3Aopen+label%3Asdist>
so you may run into obscure problems, feel free to ping me or open an issue
if something doesn't work.
—
Reply to this email directly, view it on GitHub
<#8815 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBB6XJP36EAGJRCWNK3XDH23ZANCNFSM6AAAAAAXKGUW3Y>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
@messense is there a way to disable the rewriting things to be |
No way ATM, I do want to support it to avoid PyO3/maturin#1442. |
Would it be useful to file a bug for that, or should I just follow 1442?
…On Tue, May 2, 2023 at 3:05 AM messense ***@***.***> wrote:
is there a way to disable the rewriting things to be local_dependencies?
No way ATM, I do want to support it to avoid PyO3/maturin#1442
<PyO3/maturin#1442>.
—
Reply to this email directly, view it on GitHub
<#8815 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBDG2335LUKBOQ772SLXECWZZANCNFSM6AAAAAAXKGUW3Y>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Yeah, file a bug is useful. |
@messense Is it intentional that maturin doesn't set the Specifically, this is happening when |
I think it has something to do with abi3, we can certainly pass down the interpreter path if it's specified. I can take a look this weekend. |
Thanks! |
1592: Always set `PYO3_PYTHON` if interpreter is runnable regardless of abi3 r=messense a=messense It can be useful in build scripts, like pyca/cryptography#8815 (comment) Co-authored-by: messense <messense@icloud.com>
1592: Always set `PYO3_PYTHON` if interpreter is runnable regardless of abi3 r=messense a=messense It can be useful in build scripts, like pyca/cryptography#8815 (comment) Co-authored-by: messense <messense@icloud.com>
1592: Always set `PYO3_PYTHON` if interpreter is runnable regardless of abi3 r=messense a=messense It can be useful in build scripts, like pyca/cryptography#8815 (comment) Co-authored-by: messense <messense@icloud.com>
Please try maturin 1.0.0b9. |
Ok, we are green here, huzzah! The remaining things we need are: a) Maturin stable release (this currently uses a beta), b) @reaperhulk we need to discuss MSRV implications: maturin currently has an MSRV of 1.64, which is obviously higher than our MSRV. It also has wheels for every possible platform it seems, https://pypi.org/project/maturin/1.0.0b9/#files |
After discussion with @reaperhulk, we think the MSRV is too aggressive. Going to hold this in draft for now. |
Let me know when you plan to switch, I'll try to get a new maturin release out with MSRV of 1.63.0 for Debian. BTW, consider upgrade to maturin 1.3.1 in this PR, it's currently using 1.2.0. |
Our next release is going to have an MSRV of 1.63. And yes, I should bump the pin, I've mostly been lazy -- I've only been rebasing to resolve conflicts, and I've been assuming dependabot would bump it for me when we finally merge :-) |
And I should have said: Thank you for considering a release with a lower MSRV! |
FYI, there is already a |
The case we want to support is people who are installing packages with |
53c5651
to
27590a4
Compare
In that case I think lowering MSRV of |
I definitely understand the maintenance burden concern. Thanks for considering it. |
d65784b
to
3fd7767
Compare
5c13ed1
to
78f9e71
Compare
7bb47e8
to
0f22527
Compare
dc027af
to
dc1924e
Compare
It seems to be much faster at doing things locally.
It seems to be much faster at doing things locally.