Skip to content

Commit 901f54b

Browse files
committed
release: 0.20.3
1 parent 2329862 commit 901f54b

17 files changed

Lines changed: 34 additions & 24 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
1010

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

13+
## [0.20.3] - 2024-02-23
14+
15+
### Packaging
16+
17+
- Add `portable-atomic` dependency. [#3619](https://github.com/PyO3/pyo3/pull/3619)
18+
- Check maximum version of Python at build time and for versions not yet supported require opt-in to the `abi3` stable ABI by the environment variable `PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1`. [#3821](https://github.com/PyO3/pyo3/pull/3821)
19+
20+
### Fixed
21+
22+
- Use `portable-atomic` to support platforms without 64-bit atomics. [#3619](https://github.com/PyO3/pyo3/pull/3619)
23+
- Fix compilation failure with `either` feature enabled without `experimental-inspect` enabled. [#3834](https://github.com/PyO3/pyo3/pull/3834)
24+
1325
## [0.20.2] - 2024-01-04
1426

1527
### Packaging
@@ -1628,7 +1640,8 @@ Yanked
16281640

16291641
- Initial release
16301642

1631-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.20.2...HEAD
1643+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.20.3...HEAD
1644+
[0.20.3]: https://github.com/pyo3/pyo3/compare/v0.20.2...v0.20.3
16321645
[0.20.2]: https://github.com/pyo3/pyo3/compare/v0.20.1...v0.20.2
16331646
[0.20.1]: https://github.com/pyo3/pyo3/compare/v0.20.0...v0.20.1
16341647
[0.20.0]: https://github.com/pyo3/pyo3/compare/v0.19.2...v0.20.0

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.20.2"
3+
version = "0.20.3"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -22,10 +22,10 @@ memoffset = "0.9"
2222
portable-atomic = "1.0"
2323

2424
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
25-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.20.2" }
25+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.20.3" }
2626

2727
# support crates for macros feature
28-
pyo3-macros = { path = "pyo3-macros", version = "=0.20.2", optional = true }
28+
pyo3-macros = { path = "pyo3-macros", version = "=0.20.3", optional = true }
2929
indoc = { version = "2.0.1", optional = true }
3030
unindent = { version = "0.2.1", optional = true }
3131

@@ -58,7 +58,7 @@ rayon = "1.6.1"
5858
widestring = "0.5.1"
5959

6060
[build-dependencies]
61-
pyo3-build-config = { path = "pyo3-build-config", version = "=0.20.2", features = ["resolve-config"] }
61+
pyo3-build-config = { path = "pyo3-build-config", version = "=0.20.3", features = ["resolve-config"] }
6262

6363
[features]
6464
default = ["macros"]

README.md

Lines changed: 2 additions & 2 deletions
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.20.2", features = ["extension-module"] }
71+
pyo3 = { version = "0.20.3", 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.20.2"
140+
version = "0.20.3"
141141
features = ["auto-initialize"]
142142
```
143143

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ publish = false
55
edition = "2021"
66

77
[dev-dependencies]
8-
pyo3 = { version = "0.20.2", path = "..", features = ["auto-initialize", "extension-module"] }
8+
pyo3 = { version = "0.20.3", path = "..", features = ["auto-initialize", "extension-module"] }
99

1010
[[example]]
1111
name = "decorator"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.20.2");
1+
variable::set("PYO3_VERSION", "0.20.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.20.2");
1+
variable::set("PYO3_VERSION", "0.20.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.20.2");
1+
variable::set("PYO3_VERSION", "0.20.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/plugin_api/Cargo.toml", "plugin_api/Cargo.toml");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.20.2");
1+
variable::set("PYO3_VERSION", "0.20.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/setup.cfg", "setup.cfg");
44
file::delete(".template");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.20.2");
1+
variable::set("PYO3_VERSION", "0.20.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::rename(".template/pyproject.toml", "pyproject.toml");
44
file::delete(".template");

newsfragments/3619.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)