Merge pull request #2228 from PyO3/release-0.16.2

release: 0.16.2
This commit is contained in:
David Hewitt 2022-03-15 21:29:46 +00:00 committed by GitHub
commit 84b5a8ca96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 19 deletions

View file

@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.16.2] - 2022-03-15
### Packaging
- Warn when modules are imported on PyPy 3.7 versions older than PyPy 7.3.8, as they are known to have binary compatibility issues. [#2217](https://github.com/PyO3/pyo3/pull/2217)
@ -1098,7 +1100,8 @@ Yanked
- Initial release
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.16.1...HEAD
[Unreleased]: https://github.com/pyo3/pyo3/compare/v0.16.2...HEAD
[0.16.2]: https://github.com/pyo3/pyo3/compare/v0.16.1...v0.16.2
[0.16.1]: https://github.com/pyo3/pyo3/compare/v0.16.0...v0.16.1
[0.16.0]: https://github.com/pyo3/pyo3/compare/v0.15.1...v0.16.0
[0.15.1]: https://github.com/pyo3/pyo3/compare/v0.15.0...v0.15.1

View file

@ -1,6 +1,6 @@
[package]
name = "pyo3"
version = "0.16.1"
version = "0.16.2"
description = "Bindings to Python interpreter"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
readme = "README.md"
@ -19,10 +19,10 @@ libc = "0.2.62"
parking_lot = "0.11.0"
# ffi bindings to the python interpreter, split into a seperate crate so they can be used independently
pyo3-ffi = { path = "pyo3-ffi", version = "=0.16.1" }
pyo3-ffi = { path = "pyo3-ffi", version = "=0.16.2" }
# support crates for macros feature
pyo3-macros = { path = "pyo3-macros", version = "=0.16.1", optional = true }
pyo3-macros = { path = "pyo3-macros", version = "=0.16.2", optional = true }
indoc = { version = "1.0.3", optional = true }
unindent = { version = "0.1.4", optional = true }
@ -50,7 +50,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.61"
[build-dependencies]
pyo3-build-config = { path = "pyo3-build-config", version = "0.16.1", features = ["resolve-config"] }
pyo3-build-config = { path = "pyo3-build-config", version = "0.16.2", features = ["resolve-config"] }
[features]
default = ["macros", "pyproto"]

View file

@ -68,7 +68,7 @@ name = "string_sum"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.16.1", features = ["extension-module"] }
pyo3 = { version = "0.16.2", features = ["extension-module"] }
```
**`src/lib.rs`**
@ -132,7 +132,7 @@ Start a new project with `cargo new` and add `pyo3` to the `Cargo.toml` like th
```toml
[dependencies.pyo3]
version = "0.16.1"
version = "0.16.2"
features = ["auto-initialize"]
```

View file

@ -5,7 +5,7 @@ publish = false
edition = "2018"
[dev-dependencies]
pyo3 = { version = "0.16.1", path = "..", features = ["auto-initialize", "extension-module"] }
pyo3 = { version = "0.16.2", path = "..", features = ["auto-initialize", "extension-module"] }
[[example]]
name = "decorator"

View file

@ -1,4 +1,4 @@
variable::set("PYO3_VERSION", "0.16.1");
variable::set("PYO3_VERSION", "0.16.2");
file::rename(".template/Cargo.toml", "Cargo.toml");
file::rename(".template/pyproject.toml", "pyproject.toml");
file::rename(".template/tox.ini", "tox.ini");

View file

@ -1,4 +1,4 @@
variable::set("PYO3_VERSION", "0.16.1");
variable::set("PYO3_VERSION", "0.16.2");
file::rename(".template/Cargo.toml", "Cargo.toml");
file::rename(".template/pyproject.toml", "pyproject.toml");
file::rename(".template/tox.ini", "tox.ini");

View file

@ -1,4 +1,4 @@
variable::set("PYO3_VERSION", "0.16.1");
variable::set("PYO3_VERSION", "0.16.2");
file::rename(".template/Cargo.toml", "Cargo.toml");
file::rename(".template/setup.cfg", "setup.cfg");
file::rename(".template/tox.ini", "tox.ini");

View file

@ -1,4 +1,4 @@
variable::set("PYO3_VERSION", "0.16.1");
variable::set("PYO3_VERSION", "0.16.2");
file::rename(".template/Cargo.toml", "Cargo.toml");
file::rename(".template/tox.ini", "tox.ini");
file::delete(".template");

View file

@ -1,6 +1,6 @@
[package]
name = "pyo3-build-config"
version = "0.16.1"
version = "0.16.2"
description = "Build configuration for the PyO3 ecosystem"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]

View file

@ -1,6 +1,6 @@
[package]
name = "pyo3-ffi"
version = "0.16.1"
version = "0.16.2"
description = "Python-API bindings for the PyO3 ecosystem"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]
@ -35,4 +35,4 @@ abi3-py310 = ["abi3", "pyo3-build-config/abi3-py310"]
[build-dependencies]
pyo3-build-config = { path = "../pyo3-build-config", version = "0.16.1", features = ["resolve-config"] }
pyo3-build-config = { path = "../pyo3-build-config", version = "0.16.2", features = ["resolve-config"] }

View file

@ -1,6 +1,6 @@
[package]
name = "pyo3-macros-backend"
version = "0.16.1"
version = "0.16.2"
description = "Code generation for PyO3 package"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]
@ -16,7 +16,7 @@ edition = "2018"
[dependencies]
quote = { version = "1", default-features = false }
proc-macro2 = { version = "1", default-features = false }
pyo3-build-config = { path = "../pyo3-build-config", version = "0.16.1", features = ["resolve-config"] }
pyo3-build-config = { path = "../pyo3-build-config", version = "0.16.2", features = ["resolve-config"] }
[dependencies.syn]
version = "1"

View file

@ -1,6 +1,6 @@
[package]
name = "pyo3-macros"
version = "0.16.1"
version = "0.16.2"
description = "Proc macros for PyO3 package"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]
@ -22,4 +22,4 @@ pyproto = ["pyo3-macros-backend/pyproto"]
proc-macro2 = { version = "1", default-features = false }
quote = "1"
syn = { version = "1", features = ["full", "extra-traits"] }
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.16.1" }
pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.16.2" }