Skip to content

Commit 5cdc133

Browse files
committed
release: 0.18.3
1 parent a8dd453 commit 5cdc133

File tree

20 files changed

+38
-26
lines changed

20 files changed

+38
-26
lines changed

CHANGELOG.md

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

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

13+
## [0.18.3] - 2023-04-13
14+
15+
### Added
16+
17+
- Add `GILProtected<T>` to mediate concurrent access to a value using Python's global interpreter lock (GIL). [#2975](https://github.com/PyO3/pyo3/pull/2975)
18+
- Support `PyASCIIObject` / `PyUnicode` and associated methods on big-endian architectures. [#3015](https://github.com/PyO3/pyo3/pull/3015)
19+
- Add FFI definition `_PyDict_Contains_KnownHash()` for CPython 3.10 and up. [#3088](https://github.com/PyO3/pyo3/pull/3088)
20+
21+
### Fixed
22+
23+
- Fix compile error for `#[pymethods]` and `#[pyfunction]` called "output". [#3022](https://github.com/PyO3/pyo3/pull/3022)
24+
- Fix compile error in generated code for magic methods implemented as a `#[staticmethod]`. [#3055](https://github.com/PyO3/pyo3/pull/3055)
25+
- Fix `is_instance` for `PyDateTime` (would incorrectly check for a `PyDate`). [#3071](https://github.com/PyO3/pyo3/pull/3071)
26+
- Fix upstream deprecation of `PyUnicode_InternImmortal` since Python 3.10. [#3071](https://github.com/PyO3/pyo3/pull/3087)
27+
28+
1329
## [0.18.2] - 2023-03-24
1430

1531
### Packaging
@@ -37,6 +53,7 @@ To see unreleased changes, please see the [CHANGELOG on the main branch guide](h
3753
- Fix `non_snake_case` lint on generated code in `#[pyfunction]` macro. [#2993](https://github.com/PyO3/pyo3/pull/2993)
3854
- Fix some FFI definitions for the upcoming PyPy 3.10 release. [#3031](https://github.com/PyO3/pyo3/pull/3031)
3955

56+
4057
## [0.18.1] - 2023-02-07
4158

4259
### Added
@@ -1419,7 +1436,8 @@ Yanked
14191436

14201437
- Initial release
14211438

1422-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.18.2...HEAD
1439+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.18.3...HEAD
1440+
[0.18.3]: https://github.com/pyo3/pyo3/compare/v0.18.2...v0.18.3
14231441
[0.18.2]: https://github.com/pyo3/pyo3/compare/v0.18.1...v0.18.2
14241442
[0.18.1]: https://github.com/pyo3/pyo3/compare/v0.18.0...v0.18.1
14251443
[0.18.0]: https://github.com/pyo3/pyo3/compare/v0.17.3...v0.18.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.18.2"
3+
version = "0.18.3"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -20,10 +20,10 @@ parking_lot = ">= 0.11, < 0.13"
2020
memoffset = "0.8"
2121

2222
# ffi bindings to the python interpreter, split into a separate crate so they can be used independently
23-
pyo3-ffi = { path = "pyo3-ffi", version = "=0.18.2" }
23+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.18.3" }
2424

2525
# support crates for macros feature
26-
pyo3-macros = { path = "pyo3-macros", version = "=0.18.2", optional = true }
26+
pyo3-macros = { path = "pyo3-macros", version = "=0.18.3", optional = true }
2727
indoc = { version = "1.0.3", optional = true }
2828
unindent = { version = "0.1.4", optional = true }
2929

@@ -56,7 +56,7 @@ rayon = "1.0.2"
5656
widestring = "0.5.1"
5757

5858
[build-dependencies]
59-
pyo3-build-config = { path = "pyo3-build-config", version = "0.18.2", features = ["resolve-config"] }
59+
pyo3-build-config = { path = "pyo3-build-config", version = "0.18.3", features = ["resolve-config"] }
6060

6161
[features]
6262
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.18.2", features = ["extension-module"] }
71+
pyo3 = { version = "0.18.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.18.2"
140+
version = "0.18.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 = "2018"
66

77
[dev-dependencies]
8-
pyo3 = { version = "0.18.2", path = "..", features = ["auto-initialize", "extension-module"] }
8+
pyo3 = { version = "0.18.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.18.2");
1+
variable::set("PYO3_VERSION", "0.18.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.18.2");
1+
variable::set("PYO3_VERSION", "0.18.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.18.2");
1+
variable::set("PYO3_VERSION", "0.18.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.18.2");
1+
variable::set("PYO3_VERSION", "0.18.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,3 +1,3 @@
1-
variable::set("PYO3_VERSION", "0.18.2");
1+
variable::set("PYO3_VERSION", "0.18.3");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::delete(".template");

newsfragments/2975.added.md

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

newsfragments/3015.added.md

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

newsfragments/3022.fixed.md

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

newsfragments/3055.fixed.md

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

newsfragments/3071.fixed.md

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

newsfragments/3088.added.md

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

pyo3-build-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-build-config"
3-
version = "0.18.2"
3+
version = "0.18.3"
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-ffi"
3-
version = "0.18.2"
3+
version = "0.18.3"
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"]
@@ -38,4 +38,4 @@ generate-import-lib = ["pyo3-build-config/python3-dll-a"]
3838

3939

4040
[build-dependencies]
41-
pyo3-build-config = { path = "../pyo3-build-config", version = "0.18.2", features = ["resolve-config"] }
41+
pyo3-build-config = { path = "../pyo3-build-config", version = "0.18.3", features = ["resolve-config"] }

pyo3-macros-backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros-backend"
3-
version = "0.18.2"
3+
version = "0.18.3"
44
description = "Code generation for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]

pyo3-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros"
3-
version = "0.18.2"
3+
version = "0.18.3"
44
description = "Proc macros for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -22,4 +22,4 @@ abi3 = ["pyo3-macros-backend/abi3"]
2222
proc-macro2 = { version = "1", default-features = false }
2323
quote = "1"
2424
syn = { version = "1.0.56", features = ["full", "extra-traits"] }
25-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.18.2" }
25+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.18.3" }

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exclude = '''
2020

2121
[tool.towncrier]
2222
filename = "CHANGELOG.md"
23-
version = "0.18.2"
23+
version = "0.18.3"
2424
start_string = "<!-- towncrier release notes start -->\n"
2525
template = ".towncrier.template.md"
2626
title_format = "## [{version}] - {project_date}"

0 commit comments

Comments
 (0)