Skip to content

Commit 5585240

Browse files
committed
release: 0.23.1
1 parent 64008e4 commit 5585240

File tree

15 files changed

+30
-25
lines changed

15 files changed

+30
-25
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
1010

1111
<!-- towncrier release notes start -->
1212

13+
## [0.23.1] - 2024-11-16
14+
15+
Re-release of 0.23.0 with fixes to docs.rs build.
16+
1317
## [0.23.0] - 2024-11-15
1418

1519
### Packaging
@@ -1996,7 +2000,8 @@ Yanked
19962000

19972001
- Initial release
19982002

1999-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.23.0...HEAD
2003+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.23.1...HEAD
2004+
[0.23.1]: https://github.com/pyo3/pyo3/compare/v0.23.0...v0.23.1
20002005
[0.23.0]: https://github.com/pyo3/pyo3/compare/v0.22.5...v0.23.0
20012006
[0.22.5]: https://github.com/pyo3/pyo3/compare/v0.22.4...v0.22.5
20022007
[0.22.4]: https://github.com/pyo3/pyo3/compare/v0.22.3...v0.22.4

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.0"
3+
version = "0.23.1"
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.0" }
24+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.23.1" }
2525

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

@@ -66,7 +66,7 @@ static_assertions = "1.1.0"
6666
uuid = {version = "1.10.0", features = ["v4"] }
6767

6868
[build-dependencies]
69-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.23.0", features = ["resolve-config"] }
69+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.23.1", features = ["resolve-config"] }
7070

7171
[features]
7272
default = ["macros"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ name = "string_sum"
7171
crate-type = ["cdylib"]
7272

7373
[dependencies]
74-
pyo3 = { version = "0.23.0", features = ["extension-module"] }
74+
pyo3 = { version = "0.23.1", features = ["extension-module"] }
7575
```
7676

7777
**`src/lib.rs`**
@@ -140,7 +140,7 @@ Start a new project with `cargo new` and add `pyo3` to the `Cargo.toml` like th
140140

141141
```toml
142142
[dependencies.pyo3]
143-
version = "0.23.0"
143+
version = "0.23.1"
144144
features = ["auto-initialize"]
145145
```
146146

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.23.0");
1+
variable::set("PYO3_VERSION", "0.23.1");
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.0");
1+
variable::set("PYO3_VERSION", "0.23.1");
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.0");
1+
variable::set("PYO3_VERSION", "0.23.1");
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.0");
1+
variable::set("PYO3_VERSION", "0.23.1");
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.0");
1+
variable::set("PYO3_VERSION", "0.23.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

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.0"
3+
version = "0.23.1"
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.0"
3+
version = "0.23.1"
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"]
@@ -41,7 +41,7 @@ generate-import-lib = ["pyo3-build-config/python3-dll-a"]
4141
paste = "1"
4242

4343
[build-dependencies]
44-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.0", features = ["resolve-config"] }
44+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.1", features = ["resolve-config"] }
4545

4646
[lints]
4747
workspace = true

pyo3-ffi/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ name = "string_sum"
4141
crate-type = ["cdylib"]
4242

4343
[dependencies.pyo3-ffi]
44-
version = "0.23.0"
44+
version = "0.23.1"
4545
features = ["extension-module"]
4646

4747
[build-dependencies]
4848
# This is only necessary if you need to configure your build based on
4949
# the Python version or the compile-time configuration for the interpreter.
50-
pyo3_build_config = "0.23.0"
50+
pyo3_build_config = "0.23.1"
5151
```
5252

5353
If you need to use conditional compilation based on Python version or how

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.0"
3+
version = "0.23.1"
44
description = "Code generation for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -16,7 +16,7 @@ edition = "2021"
1616
[dependencies]
1717
heck = "0.5"
1818
proc-macro2 = { version = "1.0.60", default-features = false }
19-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.0", features = ["resolve-config"] }
19+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.1", features = ["resolve-config"] }
2020
quote = { version = "1", default-features = false }
2121

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

2727
[build-dependencies]
28-
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.0" }
28+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.1" }
2929

3030
[lints]
3131
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.0"
3+
version = "0.23.1"
44
description = "Proc macros for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -21,7 +21,7 @@ experimental-async = ["pyo3-macros-backend/experimental-async"]
2121
proc-macro2 = { version = "1.0.60", default-features = false }
2222
quote = "1"
2323
syn = { version = "2", features = ["full", "extra-traits"] }
24-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.23.0" }
24+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.23.1" }
2525

2626
[lints]
2727
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.0"
6+
version = "0.23.1"
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.0/class.html#no-generic-parameters
1+
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.23.1/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.0/class.html#no-lifetime-parameters
7+
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.23.1/class.html#no-lifetime-parameters
88
--> tests/ui/reject_generics.rs:9:27
99
|
1010
9 | struct ClassWithLifetimes<'a> {

0 commit comments

Comments
 (0)