Skip to content

Commit 4ba880d

Browse files
committed
update to py3 0.16
1 parent ca168df commit 4ba880d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pyo3-asyncio"
33
description = "PyO3 utilities for Python's Asyncio library"
4-
version = "0.15.0"
4+
version = "0.16.0"
55
authors = ["Andrew J Westlake <[email protected]>"]
66
readme = "README.md"
77
keywords = ["pyo3", "python", "ffi", "async", "asyncio"]
@@ -102,16 +102,16 @@ harness = false
102102
required-features = ["tokio-runtime", "testing"]
103103

104104
[dependencies]
105-
clap = { version = "2.33", optional = true }
105+
clap = { version = "3.1.5", optional = true }
106106
futures = "0.3"
107-
inventory = "0.1"
107+
inventory = "0.2"
108108
once_cell = "1.5"
109109
pin-project-lite = "0.2"
110-
pyo3 = "0.15"
111-
pyo3-asyncio-macros = { path = "pyo3-asyncio-macros", version = "=0.15.0", optional = true }
110+
pyo3 = "0.16"
111+
pyo3-asyncio-macros = { path = "pyo3-asyncio-macros", version = "=0.16.0", optional = true }
112112

113113
[dev-dependencies]
114-
pyo3 = { version = "0.15", features = ["macros"] }
114+
pyo3 = { version = "0.16", features = ["macros"] }
115115

116116
[dependencies.async-std]
117117
version = "1.10"

pyo3-asyncio-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pyo3-asyncio-macros"
33
description = "Proc Macro Attributes for PyO3 Asyncio"
4-
version = "0.15.0"
4+
version = "0.16.0"
55
authors = ["Andrew J Westlake <[email protected]>"]
66
readme = "../README.md"
77
keywords = ["pyo3", "python", "ffi", "async", "asyncio"]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ pub fn into_future_with_locals(
677677
match rx.await {
678678
Ok(item) => item,
679679
Err(_) => Python::with_gil(|py| {
680-
Err(PyErr::from_instance(
680+
Err(PyErr::from_value(
681681
asyncio(py)?.call_method0("CancelledError")?,
682682
))
683683
}),

0 commit comments

Comments
 (0)