[ 
https://issues.apache.org/jira/browse/PROTON-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher updated PROTON-2678:
------------------------------------
    Fix Version/s: proton-c-0.39.0

> Use Python Limited API and create universal wheel when building Qpid Proton 
> Python client
> -----------------------------------------------------------------------------------------
>
>                 Key: PROTON-2678
>                 URL: https://issues.apache.org/jira/browse/PROTON-2678
>             Project: Qpid Proton
>          Issue Type: New Feature
>    Affects Versions: proton-c-0.39.0
>            Reporter: Jiri Daněk
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.39.0
>
>
> Currently, the build produces Python-version-specific wheels
> {noformat}
> creating 'dist/python_qpid_proton-0.39.0.dev0-cp311-cp311-linux_x86_64
> {noformat}
> Python is able to create universal wheels that can be installed on any 
> (reasonably new) Python version. See
> #. https://peps.python.org/pep-0425/#overview
> {quote}The CPython stable ABI is abi3 as in the shared library suffix.{quote}
> #. 
> https://docs.python.org/3/c-api/stable.html#stable-application-binary-interface
> #. https://docs.python.org/3/c-api/stable.html#c.Py_LIMITED_API
> {quote}Define Py_LIMITED_API to the value of PY_VERSION_HEX corresponding to 
> the lowest Python version your extension supports. The extension will work 
> without recompilation with all Python 3 releases from the specified one 
> onward, and can use Limited API introduced up to that version.{quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to