add abi3-py311 feature
This commit is contained in:
parent
101ac1b78d
commit
97487ffbb5
|
@ -79,7 +79,8 @@ abi3 = ["pyo3-build-config/abi3", "pyo3-ffi/abi3", "pyo3-macros/abi3"]
|
||||||
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37", "pyo3-ffi/abi3-py37"]
|
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37", "pyo3-ffi/abi3-py37"]
|
||||||
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38", "pyo3-ffi/abi3-py38"]
|
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38", "pyo3-ffi/abi3-py38"]
|
||||||
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39", "pyo3-ffi/abi3-py39"]
|
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39", "pyo3-ffi/abi3-py39"]
|
||||||
abi3-py310 = ["abi3", "pyo3-build-config/abi3-py310", "pyo3-ffi/abi3-py310"]
|
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310", "pyo3-ffi/abi3-py310"]
|
||||||
|
abi3-py311 = ["abi3", "pyo3-build-config/abi3-py311", "pyo3-ffi/abi3-py311"]
|
||||||
|
|
||||||
# Automatically generates `python3.dll` import libraries for Windows targets.
|
# Automatically generates `python3.dll` import libraries for Windows targets.
|
||||||
generate-import-lib = ["pyo3-ffi/generate-import-lib"]
|
generate-import-lib = ["pyo3-ffi/generate-import-lib"]
|
||||||
|
|
|
@ -24,7 +24,7 @@ See the [building and distribution](building_and_distribution.md#py_limited_apia
|
||||||
|
|
||||||
### The `abi3-pyXY` features
|
### The `abi3-pyXY` features
|
||||||
|
|
||||||
(`abi3-py37`, `abi3-py38`, `abi3-py39`, and `abi3-py310`)
|
(`abi3-py37`, `abi3-py38`, `abi3-py39`, `abi3-py310` and `abi3-py311`)
|
||||||
|
|
||||||
These features are extensions of the `abi3` feature to specify the exact minimum Python version which the multiple-version-wheel will support.
|
These features are extensions of the `abi3` feature to specify the exact minimum Python version which the multiple-version-wheel will support.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Add `abi3-py311` feature.
|
|
@ -34,7 +34,8 @@ abi3 = []
|
||||||
abi3-py37 = ["abi3-py38"]
|
abi3-py37 = ["abi3-py38"]
|
||||||
abi3-py38 = ["abi3-py39"]
|
abi3-py38 = ["abi3-py39"]
|
||||||
abi3-py39 = ["abi3-py310"]
|
abi3-py39 = ["abi3-py310"]
|
||||||
abi3-py310 = ["abi3"]
|
abi3-py310 = ["abi3-py311"]
|
||||||
|
abi3-py311 = ["abi3"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
features = ["resolve-config"]
|
features = ["resolve-config"]
|
||||||
|
|
|
@ -34,7 +34,7 @@ use crate::{
|
||||||
const MINIMUM_SUPPORTED_VERSION: PythonVersion = PythonVersion { major: 3, minor: 7 };
|
const MINIMUM_SUPPORTED_VERSION: PythonVersion = PythonVersion { major: 3, minor: 7 };
|
||||||
|
|
||||||
/// Maximum Python version that can be used as minimum required Python version with abi3.
|
/// Maximum Python version that can be used as minimum required Python version with abi3.
|
||||||
const ABI3_MAX_MINOR: u8 = 10;
|
const ABI3_MAX_MINOR: u8 = 11;
|
||||||
|
|
||||||
/// Gets an environment variable owned by cargo.
|
/// Gets an environment variable owned by cargo.
|
||||||
///
|
///
|
||||||
|
|
|
@ -30,7 +30,8 @@ abi3 = ["pyo3-build-config/abi3"]
|
||||||
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37"]
|
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37"]
|
||||||
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38"]
|
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38"]
|
||||||
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39"]
|
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39"]
|
||||||
abi3-py310 = ["abi3", "pyo3-build-config/abi3-py310"]
|
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310"]
|
||||||
|
abi3-py311 = ["abi3", "pyo3-build-config/abi3-py311"]
|
||||||
|
|
||||||
# Automatically generates `python3.dll` import libraries for Windows targets.
|
# Automatically generates `python3.dll` import libraries for Windows targets.
|
||||||
generate-import-lib = ["pyo3-build-config/python3-dll-a"]
|
generate-import-lib = ["pyo3-build-config/python3-dll-a"]
|
||||||
|
|
Loading…
Reference in New Issue