Bump version to 0.9.1

This commit is contained in:
kngwyu 2020-03-23 18:55:24 +09:00
parent 3b8af93aea
commit 4759358acb
8 changed files with 16 additions and 13 deletions

View File

@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Unreleased
## [0.9.1]
### Fixed
* Error messages for `#[pyclass]`. [#826](https://github.com/PyO3/pyo3/pull/826)
* `FromPyObject` implementation for `PySequence`. [#827](https://github.com/PyO3/pyo3/pull/827)
## [0.9.0]

View File

@ -1,6 +1,6 @@
[package]
name = "pyo3"
version = "0.9.0"
version = "0.9.1"
description = "Bindings to Python interpreter"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
readme = "README.md"
@ -27,7 +27,7 @@ num-complex = { version = "0.2", optional = true }
num-traits = "0.2.8"
parking_lot = { version = "0.10", features = ["nightly"] }
paste = "0.1.6"
pyo3cls = { path = "pyo3cls", version = "=0.9.0" }
pyo3cls = { path = "pyo3cls", version = "=0.9.1" }
unindent = "0.1.4"
[dev-dependencies]

View File

@ -50,7 +50,7 @@ name = "string_sum"
crate-type = ["cdylib"]
[dependencies.pyo3]
version = "0.9.0"
version = "0.9.1"
features = ["extension-module"]
```
@ -95,7 +95,7 @@ Add `pyo3` to your `Cargo.toml` like this:
```toml
[dependencies]
pyo3 = "0.9.0"
pyo3 = "0.9.1"
```
Example program displaying the value of `sys.version` and the current user name:

View File

@ -44,7 +44,7 @@ name = "string_sum"
crate-type = ["cdylib"]
[dependencies.pyo3]
version = "0.9.0"
version = "0.9.1"
features = ["extension-module"]
```
@ -90,7 +90,7 @@ use it to run Python code, add `pyo3` to your `Cargo.toml` like this:
```toml
[dependencies]
pyo3 = "0.9.0"
pyo3 = "0.9.1"
```
Example program displaying the value of `sys.version` and the current user name:

View File

@ -1,6 +1,6 @@
[package]
name = "pyo3-derive-backend"
version = "0.9.0"
version = "0.9.1"
description = "Code generation for PyO3 package"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]

View File

@ -323,7 +323,7 @@ fn parse_method_attributes(
} else if name.is_ident("init") || name.is_ident("__init__") {
return Err(syn::Error::new_spanned(
name,
"#[init] is disabled from PyO3 0.9.0",
"#[init] is disabled since PyO3 0.9.0",
));
} else if name.is_ident("call") || name.is_ident("__call__") {
res = Some(FnType::FnCall)
@ -363,7 +363,7 @@ fn parse_method_attributes(
} else if path.is_ident("init") {
return Err(syn::Error::new_spanned(
path,
"#[init] is disabled from PyO3 0.9.0",
"#[init] is disabled since PyO3 0.9.0",
));
} else if path.is_ident("call") {
res = Some(FnType::FnCall)

View File

@ -1,6 +1,6 @@
[package]
name = "pyo3cls"
version = "0.9.0"
version = "0.9.1"
description = "Proc macros for PyO3 package"
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
keywords = ["pyo3", "python", "cpython", "ffi"]
@ -16,4 +16,4 @@ proc-macro = true
[dependencies]
quote = "1"
syn = { version = "1", features = ["full", "extra-traits"] }
pyo3-derive-backend = { path = "../pyo3-derive-backend", version = "=0.9.0" }
pyo3-derive-backend = { path = "../pyo3-derive-backend", version = "=0.9.1" }

View File

@ -52,7 +52,7 @@
//! crate-type = ["cdylib"]
//!
//! [dependencies.pyo3]
//! version = "0.9.0"
//! version = "0.9.1"
//! features = ["extension-module"]
//! ```
//!
@ -109,7 +109,7 @@
//!
//! ```toml
//! [dependencies]
//! pyo3 = "0.9.0"
//! pyo3 = "0.9.1"
//! ```
//!
//! Example program displaying the value of `sys.version`: