abi3 build with variation in support for M1 #1362
MrBitBucket
started this conversation in
General
Replies: 2 comments 3 replies
-
This seems to work for me https://github.com/MrBitBucket/ci-rl-accel/blob/master/setup.py |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think it's a problem that the limited ABI goes back on arm64. In limited API mode, it doesn't matter which Python you build with, it's backward-compatible to the tag and forward-compatible. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a small extension and based the setup.py on https://github.com/joerick/python-abi3-package-sample where a command class is used to force the tag into a specific form with a check on the python name using an instance of bdist_wheel_abi3. I have my base set as python 3.7 and that appears to work fine for all my builds.
However, I don't know how to change this for the M1 platform where we cannot build for 3.7 as it seems the first build is for 3.8. The Extension has two keywords which need setting, but those cannot be altered by the command class as that needs a distribution argument which comes from deep inside setuptools.
Is there a way to delay construction of the Extension until after I can call the command class get_tag (or its super method).
Beta Was this translation helpful? Give feedback.
All reactions