Skip to content

Commit f120eb4

Browse files
committed
release: 0.13.2
1 parent 83f71d8 commit f120eb4

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

CHANGELOG.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,25 @@ PyO3 versions, please see the [migration guide](https://pyo3.rs/master/migration
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.13.2] - 2021-01-26
9+
### Packaging
10+
- Lower minimum supported Rust version to 1.41. [#1421](https://github.com/PyO3/pyo3/pull/1421)
11+
912
### Added
10-
- Add unsafe API `with_embedded_python_interpreter` to initalize a Python interpreter, execute a closure, and finalize the interpreter. [#1355](https://github.com/PyO3/pyo3/pull/1355)
11-
- Add `serde` feature to support `Serialize/Deserialize` for `Py<T>`. [#1366](https://github.com/PyO3/pyo3/pull/1366)
13+
- Add unsafe API `with_embedded_python_interpreter` to initalize a Python interpreter, execute a closure, and finalize the interpreter. [#1355](https://github.com/PyO3/pyo3/pull/1355)
14+
- Add `serde` feature which provides implementations of `Serialize` and `Deserialize` for `Py<T>`. [#1366](https://github.com/PyO3/pyo3/pull/1366)
1215
- Add FFI definition `_PyCFunctionFastWithKeywords` on Python 3.7 and up. [#1384](https://github.com/PyO3/pyo3/pull/1384)
1316
- Add `PyDateTime::new_with_fold()` method. [#1398](https://github.com/PyO3/pyo3/pull/1398)
1417

1518
### Changed
16-
- `prepare_freethreaded_python` will no longer register an `atexit` handler to call `Py_Finalize`. [#1355](https://github.com/PyO3/pyo3/pull/1355)
17-
- Mark FFI definitions `PyMarshal_WriteObjectToString`, `PyMarshal_ReadObjectFromString` as available in limited API.
18-
- Mark FFI definitions `PyListObject` and those from `funcobject.h` as requiring non-limited API. [#1387](https://github.com/PyO3/pyo3/pull/1387)
19-
- Fix typo in FFI definition `PyFunction_Code` to `PyFunction_GetCode`. [#1387](https://github.com/PyO3/pyo3/pull/1387)
19+
- `prepare_freethreaded_python` will no longer register an `atexit` handler to call `Py_Finalize`. This resolves a number of issues with incompatible C extensions causing crashes at finalization. [#1355](https://github.com/PyO3/pyo3/pull/1355)
2020
- Mark `PyLayout::py_init`, `PyClassDict::clear_dict`, and `opt_to_pyobj` safe, as they do not perform any unsafe operations. [#1404](https://github.com/PyO3/pyo3/pull/1404)
2121

2222
### Fixed
2323
- Fix support for using `r#raw_idents` as argument names in pyfunctions. [#1383](https://github.com/PyO3/pyo3/pull/1383)
24-
- Fix unqualified `Result` usage in `pyobject_native_type_base`. [#1402](https://github.com/PyO3/pyo3/pull/1402)
25-
- Fix build on systems where the default Python encoding is not UTF-8. [#1405](https://github.com/PyO3/pyo3/pull/1405)
24+
- Fix typo in FFI definition for `PyFunction_GetCode` (was incorrectly `PyFunction_Code`). [#1387](https://github.com/PyO3/pyo3/pull/1387)
25+
- Fix FFI definitions `PyMarshal_WriteObjectToString` and `PyMarshal_ReadObjectFromString` as available in limited API. [#1387](https://github.com/PyO3/pyo3/pull/1387)
26+
- Fix FFI definitions `PyListObject` and those from `funcobject.h` as requiring non-limited API. [#1387](https://github.com/PyO3/pyo3/pull/1387)
2627

2728
## [0.13.1] - 2021-01-10
2829
### Added
@@ -613,7 +614,8 @@ Yanked
613614
### Added
614615
- Initial release
615616

616-
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.13.1...HEAD
617+
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.13.2...HEAD
618+
[0.13.2]: https://github.com/pyo3/pyo3/compare/v0.13.1...v0.13.2
617619
[0.13.1]: https://github.com/pyo3/pyo3/compare/v0.13.0...v0.13.1
618620
[0.13.0]: https://github.com/pyo3/pyo3/compare/v0.12.4...v0.13.0
619621
[0.12.4]: https://github.com/pyo3/pyo3/compare/v0.12.3...v0.12.4

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3"
3-
version = "0.13.1"
3+
version = "0.13.2"
44
description = "Bindings to Python interpreter"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
readme = "README.md"
@@ -26,7 +26,7 @@ num-bigint = { version = "0.3", optional = true }
2626
num-complex = { version = "0.3", optional = true }
2727
# must stay at 0.1.x for Rust 1.41 compatibility
2828
paste = { version = "0.1.18", optional = true }
29-
pyo3-macros = { path = "pyo3-macros", version = "=0.13.1", optional = true }
29+
pyo3-macros = { path = "pyo3-macros", version = "=0.13.2", optional = true }
3030
unindent = { version = "0.1.4", optional = true }
3131
hashbrown = { version = "0.9", optional = true }
3232
serde = {version = "1.0", optional = true}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ name = "string_sum"
5353
crate-type = ["cdylib"]
5454

5555
[dependencies.pyo3]
56-
version = "0.13.1"
56+
version = "0.13.2"
5757
features = ["extension-module"]
5858
```
5959

@@ -105,7 +105,7 @@ use it to run Python code, add `pyo3` to your `Cargo.toml` like this:
105105

106106
```toml
107107
[dependencies.pyo3]
108-
version = "0.13.1"
108+
version = "0.13.2"
109109
features = ["auto-initialize"]
110110
```
111111

pyo3-macros-backend/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros-backend"
3-
version = "0.13.1"
3+
version = "0.13.2"
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyo3-macros"
3-
version = "0.13.1"
3+
version = "0.13.2"
44
description = "Proc macros for PyO3 package"
55
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
66
keywords = ["pyo3", "python", "cpython", "ffi"]
@@ -16,4 +16,4 @@ proc-macro = true
1616
[dependencies]
1717
quote = "1"
1818
syn = { version = "1", features = ["full", "extra-traits"] }
19-
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.13.1" }
19+
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.13.2" }

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//! crate-type = ["cdylib"]
5858
//!
5959
//! [dependencies.pyo3]
60-
//! version = "0.13.1"
60+
//! version = "0.13.2"
6161
//! features = ["extension-module"]
6262
//! ```
6363
//!
@@ -120,7 +120,7 @@
120120
//!
121121
//! ```toml
122122
//! [dependencies.pyo3]
123-
//! version = "0.13.1"
123+
//! version = "0.13.2"
124124
//! features = ["auto-initialize"]
125125
//! ```
126126
//!

0 commit comments

Comments
 (0)