Skip to content

Commit 53b98db

Browse files
authored
Merge pull request #3290 from davidhewitt/0.19.1-changelog
update main for 0.19.1
2 parents 0e9c041 + 7d357ad commit 53b98db

File tree

27 files changed

+46
-33
lines changed

27 files changed

+46
-33
lines changed

CHANGELOG.md

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

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

13+
## [0.19.1] - 2023-07-03
14+
15+
### Packaging
16+
17+
- Extend range of supported versions of `hashbrown` optional dependency to include version 0.14 [#3258](https://github.com/PyO3/pyo3/pull/3258)
18+
- Extend range of supported versions of `indexmap` optional dependency to include version 2. [#3277](https://github.com/PyO3/pyo3/pull/3277)
19+
- Support PyPy 3.10. [#3289](https://github.com/PyO3/pyo3/pull/3289)
20+
21+
### Added
22+
23+
- Add `pyo3::types::PyFrozenSetBuilder` to allow building a `PyFrozenSet` item by item. [#3156](https://github.com/PyO3/pyo3/pull/3156)
24+
- Add support for converting to and from Python's `ipaddress.IPv4Address`/`ipaddress.IPv6Address` and `std::net::IpAddr`. [#3197](https://github.com/PyO3/pyo3/pull/3197)
25+
- Add support for `num-bigint` feature in combination with `abi3`. [#3198](https://github.com/PyO3/pyo3/pull/3198)
26+
- Add `PyErr_GetRaisedException()`, `PyErr_SetRaisedException()` to FFI definitions for Python 3.12 and later. [#3248](https://github.com/PyO3/pyo3/pull/3248)
27+
- Add `Python::with_pool` which is a safer but more limited alternative to `Python::new_pool`. [#3263](https://github.com/PyO3/pyo3/pull/3263)
28+
- Add `PyDict::get_item_with_error` on PyPy. [#3270](https://github.com/PyO3/pyo3/pull/3270)
29+
- Allow `#[new]` methods may to return `Py<Self>` in order to return existing instances. [#3287](https://github.com/PyO3/pyo3/pull/3287)
30+
31+
### Fixed
32+
33+
- Fix conversion of classes implementing `__complex__` to `Complex` when using `abi3` or PyPy. [#3185](https://github.com/PyO3/pyo3/pull/3185)
34+
- Stop suppressing unrelated exceptions in `PyAny::hasattr`. [#3271](https://github.com/PyO3/pyo3/pull/3271)
35+
- Fix memory leak when creating `PySet` or `PyFrozenSet` or returning types converted into these internally, e.g. `HashSet` or `BTreeSet`. [#3286](https://github.com/PyO3/pyo3/pull/3286)
36+
37+
1338
## [0.19.0] - 2023-05-31
1439

1540
### Packaging
@@ -1478,7 +1503,8 @@ Yanked
14781503

14791504
- Initial release
14801505

1481-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.19.0...HEAD
1506+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.19.1...HEAD
1507+
[0.19.1]: https://github.com/pyo3/pyo3/compare/v0.19.0...v0.19.1
14821508
[0.19.0]: https://github.com/pyo3/pyo3/compare/v0.18.3...v0.19.0
14831509
[0.18.3]: https://github.com/pyo3/pyo3/compare/v0.18.2...v0.18.3
14841510
[0.18.2]: https://github.com/pyo3/pyo3/compare/v0.18.1...v0.18.2

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.19.0"
3+
version = "0.19.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 @@ parking_lot = ">= 0.11, < 0.13"
2121
memoffset = "0.9"
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.19.0" }
24+
pyo3-ffi = { path = "pyo3-ffi", version = "=0.19.1" }
2525

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

@@ -57,7 +57,7 @@ rust_decimal = { version = "1.8.0", features = ["std"] }
5757
widestring = "0.5.1"
5858

5959
[build-dependencies]
60-
pyo3-build-config = { path = "pyo3-build-config", version = "0.19.0", features = ["resolve-config"] }
60+
pyo3-build-config = { path = "pyo3-build-config", version = "0.19.1", features = ["resolve-config"] }
6161

6262
[features]
6363
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.19.0", features = ["extension-module"] }
71+
pyo3 = { version = "0.19.1", 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.19.0"
140+
version = "0.19.1"
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.19.0", path = "..", features = ["auto-initialize", "extension-module"] }
8+
pyo3 = { version = "0.19.1", 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.19.0");
1+
variable::set("PYO3_VERSION", "0.19.1");
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.19.0");
1+
variable::set("PYO3_VERSION", "0.19.1");
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.19.0");
1+
variable::set("PYO3_VERSION", "0.19.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");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
variable::set("PYO3_VERSION", "0.19.0");
1+
variable::set("PYO3_VERSION", "0.19.1");
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.19.0");
1+
variable::set("PYO3_VERSION", "0.19.1");
22
file::rename(".template/Cargo.toml", "Cargo.toml");
33
file::delete(".template");

newsfragments/3156.added.md

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

newsfragments/3185.fixed.md

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

newsfragments/3197.added.md

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

newsfragments/3198.added.md

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

newsfragments/3248.added.md

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

newsfragments/3258.packaging.md

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

newsfragments/3263.added.md

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

newsfragments/3270.added.md

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

newsfragments/3271.fixed.md

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

newsfragments/3277.packaging.md

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

newsfragments/3286.fixed.md

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

newsfragments/3287.added.md

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

newsfragments/3289.packaging.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.19.0"
3+
version = "0.19.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

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.19.0"
3+
version = "0.19.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"]
@@ -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.19.0", features = ["resolve-config"] }
41+
pyo3-build-config = { path = "../pyo3-build-config", version = "0.19.1", 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.19.0"
3+
version = "0.19.1"
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.19.0"
3+
version = "0.19.1"
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 = "2", features = ["full", "extra-traits"] }
25-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.19.0" }
25+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.19.1" }

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.19.0"
23+
version = "0.19.1"
2424
start_string = "<!-- towncrier release notes start -->\n"
2525
template = ".towncrier.template.md"
2626
title_format = "## [{version}] - {project_date}"

0 commit comments

Comments
 (0)