Skip to content

Commit 059e249

Browse files
davidhewittIcxolu
andauthored
release: 0.24.0 (#4959)
Co-authored-by: Icxolu <[email protected]>
1 parent fa15d90 commit 059e249

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+75
-57
lines changed

CHANGELOG.md

+51-1

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.23.5"
3+
version = "0.24.0"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -21,10 +21,10 @@ memoffset = "0.9"
2121
once_cell = "1.13"
2222

2323
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
24-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.23.5" }
24+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.24.0" }
2525

2626
# support crates for macros feature
27-
pyo3-macros = { path = "pyo3-macros", version = "=0.23.5", optional = true }
27+
pyo3-macros = { path = "pyo3-macros", version = "=0.24.0", optional = true }
2828
indoc = { version = "2.0.1", optional = true }
2929
unindent = { version = "0.2.1", optional = true }
3030

@@ -68,7 +68,7 @@ static_assertions = "1.1.0"
6868
uuid = { version = "1.10.0", features = ["v4"] }
6969

7070
[build-dependencies]
71-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.23.5", features = ["resolve-config"] }
71+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.24.0", features = ["resolve-config"] }
7272

7373
[features]
7474
default = ["macros"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.5");
1+
variable::set("PYO3_VERSION", "0.24.0");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.5");
1+
variable::set("PYO3_VERSION", "0.24.0");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.5");
1+
variable::set("PYO3_VERSION", "0.24.0");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/plugin_api/Cargo.toml", "plugin_api/Cargo.toml");
44
file::delete(".template");
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.5");
1+
variable::set("PYO3_VERSION", "0.24.0");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/setup.cfg", "setup.cfg");
44
file::delete(".template");
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.5");
1+
variable::set("PYO3_VERSION", "0.24.0");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/4593.changed.md

-1
This file was deleted.

newsfragments/4593.removed.md

-1
This file was deleted.

newsfragments/4729.removed.md

-1
This file was deleted.

newsfragments/4730.removed.md

-1
This file was deleted.

newsfragments/4746.added.md

-1
This file was deleted.

newsfragments/4746.fixed.md

-1
This file was deleted.

newsfragments/4747.changed.md

-1
This file was deleted.

newsfragments/4756.packaging.md

-1
This file was deleted.

newsfragments/4768.added.md

-1
This file was deleted.

newsfragments/4768.changed.md

-1
This file was deleted.

newsfragments/4810.added.md

-1
This file was deleted.

newsfragments/4822.changed.md

-1
This file was deleted.

newsfragments/4823.added.md

-1
This file was deleted.

newsfragments/4829.added.md

-1
This file was deleted.

newsfragments/4850.added.md

-1
This file was deleted.

newsfragments/4853.added.md

-1
This file was deleted.

newsfragments/4860.changed.md

-1
This file was deleted.

newsfragments/4864.added.md

-1
This file was deleted.

newsfragments/4866.added.md

-1
This file was deleted.

newsfragments/4874.changed.md

-1
This file was deleted.

newsfragments/4878.added.md

-2
This file was deleted.

newsfragments/4897.added.md

-1
This file was deleted.

newsfragments/4900.changed.md

-1
This file was deleted.

newsfragments/4917.added.md

-2
This file was deleted.

newsfragments/4925.changed.md

-1
This file was deleted.

newsfragments/4934.added.md

-1
This file was deleted.

newsfragments/4941.added.md

-1
This file was deleted.

newsfragments/4948.fixed.md

-1
This file was deleted.

newsfragments/4949.fixed.md

-1
This file was deleted.

newsfragments/4954.packaging.md

-1
This file was deleted.

pyo3-build-config/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-build-config"
3-
version = "0.23.5"
3+
version = "0.24.0"
44
description = "Build configuration for the PyO3 ecosystem"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]

pyo3-ffi/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-ffi"
3-
version = "0.23.5"
3+
version = "0.24.0"
44
description = "Python-API bindings for the PyO3 ecosystem"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -42,7 +42,7 @@ generate-import-lib = ["pyo3-build-config/python3-dll-a"]
4242
paste = "1"
4343

4444
[build-dependencies]
45-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.5", features = ["resolve-config"] }
45+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.24.0", features = ["resolve-config"] }
4646

4747
[lints]
4848
workspace = true

pyo3-ffi/README.md

+2-2

pyo3-macros-backend/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros-backend"
3-
version = "0.23.5"
3+
version = "0.24.0"
44
description = "Code generation for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -17,7 +17,7 @@ rust-version = "1.63"
1717
[dependencies]
1818
heck = "0.5"
1919
proc-macro2 = { version = "1.0.60", default-features = false }
20-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.5", features = ["resolve-config"] }
20+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.24.0", features = ["resolve-config"] }
2121
quote = { version = "1", default-features = false }
2222

2323
[dependencies.syn]
@@ -26,7 +26,7 @@ default-features = false
2626
features = ["derive", "parsing", "printing", "clone-impls", "full", "extra-traits"]
2727

2828
[build-dependencies]
29-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.5" }
29+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.24.0" }
3030

3131
[lints]
3232
workspace = true

pyo3-macros/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros"
3-
version = "0.23.5"
3+
version = "0.24.0"
44
description = "Proc macros for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -22,7 +22,7 @@ experimental-async = ["pyo3-macros-backend/experimental-async"]
2222
proc-macro2 = { version = "1.0.60", default-features = false }
2323
quote = "1"
2424
syn = { version = "2", features = ["full", "extra-traits"] }
25-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.23.5" }
25+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.24.0" }
2626

2727
[lints]
2828
workspace = true

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[tool.towncrier]
55
filename = "CHANGELOG.md"
6-
version = "0.23.5"
6+
version = "0.24.0"
77
start_string = "<!-- towncrier release notes start -->\n"
88
template = ".towncrier.template.md"
99
title_format = "## [{version}] - {project_date}"

tests/ui/reject_generics.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.23.5/class.html#no-generic-parameters
1+
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.24.0/class.html#no-generic-parameters
22
--> tests/ui/reject_generics.rs:4:25
33
|
44
4 | struct ClassWithGenerics<A> {
55
| ^
66

7-
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.23.5/class.html#no-lifetime-parameters
7+
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.24.0/class.html#no-lifetime-parameters
88
--> tests/ui/reject_generics.rs:9:27
99
|
1010
9 | struct ClassWithLifetimes<'a> {

0 commit comments

Comments
 (0)