Skip to content

Commit 1fa47b0

Browse files
authored
Merge pull request #3687 from alex/abi3-py312
added `abi3-py312` feature
2 parents 2788f4a + d92792f commit 1fa47b0

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37", "pyo3-ffi/abi3-py37"]
8787
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38", "pyo3-ffi/abi3-py38"]
8888
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39", "pyo3-ffi/abi3-py39"]
8989
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310", "pyo3-ffi/abi3-py310"]
90-
abi3-py311 = ["abi3", "pyo3-build-config/abi3-py311", "pyo3-ffi/abi3-py311"]
90+
abi3-py311 = ["abi3-py312", "pyo3-build-config/abi3-py311", "pyo3-ffi/abi3-py311"]
91+
abi3-py312 = ["abi3", "pyo3-build-config/abi3-py312", "pyo3-ffi/abi3-py312"]
9192

9293
# Automatically generates `python3.dll` import libraries for Windows targets.
9394
generate-import-lib = ["pyo3-ffi/generate-import-lib"]

newsfragments/3687.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added `abi3-py312` feature

pyo3-build-config/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ abi3-py37 = ["abi3-py38"]
3535
abi3-py38 = ["abi3-py39"]
3636
abi3-py39 = ["abi3-py310"]
3737
abi3-py310 = ["abi3-py311"]
38-
abi3-py311 = ["abi3"]
38+
abi3-py311 = ["abi3-py312"]
39+
abi3-py312 = ["abi3"]
3940

4041
[package.metadata.docs.rs]
4142
features = ["resolve-config"]

pyo3-build-config/src/impl_.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use crate::{
3434
const MINIMUM_SUPPORTED_VERSION: PythonVersion = PythonVersion { major: 3, minor: 7 };
3535

3636
/// Maximum Python version that can be used as minimum required Python version with abi3.
37-
const ABI3_MAX_MINOR: u8 = 11;
37+
const ABI3_MAX_MINOR: u8 = 12;
3838

3939
/// Gets an environment variable owned by cargo.
4040
///

pyo3-ffi/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37"]
3131
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38"]
3232
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39"]
3333
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310"]
34-
abi3-py311 = ["abi3", "pyo3-build-config/abi3-py311"]
34+
abi3-py311 = ["abi3-py312", "pyo3-build-config/abi3-py311"]
35+
abi3-py312 = ["abi3", "pyo3-build-config/abi3-py312"]
3536

3637
# Automatically generates `python3.dll` import libraries for Windows targets.
3738
generate-import-lib = ["pyo3-build-config/python3-dll-a"]

0 commit comments

Comments
 (0)