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

infer-tag: Allow user to infer ABI3 and Pythonless #1446

Open
henryiii opened this issue Apr 30, 2024 · 0 comments
Open

infer-tag: Allow user to infer ABI3 and Pythonless #1446

henryiii opened this issue Apr 30, 2024 · 0 comments

Comments

@henryiii
Copy link
Contributor

Two very common needs (see https://github.com/charliermarsh/whisper.cpp-cli/blob/35b8b6115e5b4c25b6357c857daf9e7c2a230eed/hatch_build.py#L56-L91 for example) is the ability to set Pythonless compiled wheels (ones that don't use the CPython API) and ABI3. In scikit-build-core, this is done by setting wheel.py-api. I think the same system could be applied to infer-tag. The proposal is:

Allow infer-tag to be set to a string as well. Setting py3 would infer a py3-none-* wheel. Setting cp311 would infer a ABI3 wheel as long as CPython is 3.11 or higher, and a normal binary wheel otherwise.

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

No branches or pull requests

1 participant