You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: If you set more that one of these api version feature flags the highest version always wins. For example, with both abi3-py36 and abi3-py38 set, PyO3 would build a wheel which supports Python 3.8 and up.
The docs state that the highest abi3 version will win. But pyo3-build-config selects the lowest one.
minor_version.map(|minor| PythonVersion{major:3, minor })
}
Secondly the lower abi3 feature flags enable the higher ones as well so setting a higher flag will be essentially a no-op if their is a lower one present.
I would like to use the (wrongly stated) feature to dynamically build higher abi3 wheels with maturin build --features pyo3/abi3_py312 but leave the default feature set compatible with abi3_py39. Is it possible to make this work or should we update the docs that this is not possible?
The text was updated successfully, but these errors were encountered:
https://pyo3.rs/v0.14.5/building_and_distribution#minimum-python-version-for-abi3
The docs state that the highest abi3 version will win. But pyo3-build-config selects the lowest one.
pyo3/pyo3-build-config/src/impl_.rs
Lines 854 to 858 in 059e249
Secondly the lower abi3 feature flags enable the higher ones as well so setting a higher flag will be essentially a no-op if their is a lower one present.
pyo3/Cargo.toml
Lines 97 to 103 in 059e249
I would like to use the (wrongly stated) feature to dynamically build higher abi3 wheels with
maturin build --features pyo3/abi3_py312
but leave the default feature set compatible withabi3_py39
. Is it possible to make this work or should we update the docs that this is not possible?The text was updated successfully, but these errors were encountered: