Skip to content

Commit c000ab9

Browse files
committed
release: 0.22.6
1 parent 02b8dfe commit c000ab9

File tree

14 files changed

+30
-23
lines changed

14 files changed

+30
-23
lines changed

CHANGELOG.md

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

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

13+
## [0.22.6] - 2024-11-05
14+
15+
### Fixed
16+
17+
- Fix detection of freethreaded Python 3.13t added in PyO3 0.22.2; freethreaded is not yet supported (support coming soon in 0.23). [#4684](https://github.com/PyO3/pyo3/pull/4684)
18+
1319
## [0.22.5] - 2024-10-15
1420

1521
### Fixed
@@ -1901,7 +1907,8 @@ Yanked
19011907

19021908
- Initial release
19031909

1904-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.22.5...HEAD
1910+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.22.6...HEAD
1911+
[0.22.6]: https://github.com/pyo3/pyo3/compare/v0.22.5...v0.22.6
19051912
[0.22.5]: https://github.com/pyo3/pyo3/compare/v0.22.4...v0.22.5
19061913
[0.22.4]: https://github.com/pyo3/pyo3/compare/v0.22.3...v0.22.4
19071914
[0.22.3]: https://github.com/pyo3/pyo3/compare/v0.22.2...v0.22.3

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.22.5"
3+
version = "0.22.6"
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.22.5" }
24+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.22.6" }
2525

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

@@ -64,7 +64,7 @@ futures = "0.3.28"
6464
static_assertions = "1.1.0"
6565

6666
[build-dependencies]
67-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.22.5", features = ["resolve-config"] }
67+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.22.6", features = ["resolve-config"] }
6868

6969
[features]
7070
default = ["macros"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ name = "string_sum"
6868
crate-type = ["cdylib"]
6969

7070
[dependencies]
71-
pyo3 = { version = "0.22.5", features = ["extension-module"] }
71+
pyo3 = { version = "0.22.6", features = ["extension-module"] }
7272
```
7373

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

138138
```toml
139139
[dependencies.pyo3]
140-
version = "0.22.5"
140+
version = "0.22.6"
141141
features = ["auto-initialize"]
142142
```
143143

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.22.5");
1+
variable::set("PYO3_VERSION", "0.22.6");
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.22.5");
1+
variable::set("PYO3_VERSION", "0.22.6");
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.22.5");
1+
variable::set("PYO3_VERSION", "0.22.6");
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.22.5");
1+
variable::set("PYO3_VERSION", "0.22.6");
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.22.5");
1+
variable::set("PYO3_VERSION", "0.22.6");
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.22.5"
3+
version = "0.22.6"
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.22.5"
3+
version = "0.22.6"
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.22.5", features = ["resolve-config"] }
44+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.22.6", features = ["resolve-config"] }
4545

4646
[lints]
4747
workspace = true

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.22.5"
3+
version = "0.22.6"
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.22.5", features = ["resolve-config"] }
19+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.22.6", 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.22.5" }
28+
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.22.6" }
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.22.5"
3+
version = "0.22.6"
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 @@ gil-refs = ["pyo3-macros-backend/gil-refs"]
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.22.5" }
25+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.22.6" }
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.22.5"
6+
version = "0.22.6"
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.22.5/class.html#no-generic-parameters
1+
error: #[pyclass] cannot have generic parameters. For an explanation, see https://pyo3.rs/v0.22.6/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.22.5/class.html#no-lifetime-parameters
7+
error: #[pyclass] cannot have lifetime parameters. For an explanation, see https://pyo3.rs/v0.22.6/class.html#no-lifetime-parameters
88
--> tests/ui/reject_generics.rs:9:27
99
|
1010
9 | struct ClassWithLifetimes<'a> {

0 commit comments

Comments
 (0)