-
Notifications
You must be signed in to change notification settings - Fork 3
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
Generate import libraries for free-threaded Python 3.13+ builds #82
Conversation
b64dc7c
to
c87052e
Compare
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 very much for the rapid turnaround! I think string flags is probably fine imo, both sysconfig
and maturin
just handle these as strings.
I was able to put together PyO3/pyo3#4749 to test this out downstream; I was able to reproduce a broken build and that this patch fixes it! 👍
Allow specifying the generated import library ABI flags as well as the interpreter version. Only `"t"` is currently supported as the ABI flags parameter value and only for CPython v3.13.
These require passing `abiflags="t"` to the generator.
c87052e
to
c3a6098
Compare
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!
I've renamed the builder method and am going to merge this and release a new crate version after adding some more tests for Windows ARM64. |
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.
Super, thanks 👍
python313t.dll
from Windows CI builds.ImportLibraryGenerator::abi_tag()
methodResolves #80