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

Allow more flexibility in specifying the ABI used to build a project #64

Closed
philthompson10 opened this issue Dec 27, 2024 · 0 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@philthompson10
Copy link
Contributor

philthompson10 commented Dec 27, 2024

Normally a project would use the latest ABI version supported by the particular version of SIP being used thereby having the latest features and bug-fixes. However a Linux distro (for example) may prefer to exert more control over the ABI being used in order to reduce the inter-dependence between SIP and projects using it. The only way to do this at the moment is to patch pyproject.toml.

An --abi-version command line option will be added to the SIP build tools to allow the ABI to be specified without needing to patch pyproject.toml. It is intended that, in future, a project will never specify abi-version in pyproject.toml and the command line option is used as required.

The abi-version entry in pyproject.toml is documented as specifying the minimum ABI version required by the project. However as there is no other place in the build system to specify a different ABI version then, in reality, it is also the actual ABI to be used. Therefore the documentation will be clarified to state that abi-version specifies the actual ABI version to be used.

@philthompson10 philthompson10 added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 27, 2024
@philthompson10 philthompson10 self-assigned this Dec 28, 2024
philthompson10 added a commit to philthompson10/sip that referenced this issue Dec 28, 2024
The `--abi-version` command line option has been added to `sip-build`,
`sip-install` and `sip-wheel` to specify the ABI version of the `sip`
module to generate code for.

Resolves Python-SIP#64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant