Skip to content

Commit 22e0ec1

Browse files
authored
Merge pull request #69 from PyO3/kyle/chore-bump-0.27
Bump version to 0.27
2 parents 50b0d13 + 3338a51 commit 22e0ec1

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,21 @@ To see unreleased changes, please see the CHANGELOG on the main branch.
1010

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

13+
## [0.27.0] - 2025-10-20
14+
1315
- Avoid attaching to the runtime when cloning TaskLocals by using std::sync::Arc. [#62](https://github.com/PyO3/pyo3-async-runtimes/pull/62)
1416
- **Breaking**: Finalize the future without holding GIL inside async-std/tokio runtime.
1517
Trait `Runtime` now requires `spawn_blocking` function,
1618
`future_into_py` functions now require future return type to be `Send`.
1719
[#60](https://github.com/PyO3/pyo3-async-runtimes/pull/60)
1820
- Change pyo3 `downcast` calls to `cast` calls [#65](https://github.com/PyO3/pyo3-async-runtimes/pull/65)
1921
- Use `pyo3::intern!` for method calls and `getattr` calls [#66](https://github.com/PyO3/pyo3-async-runtimes/pull/66)
22+
- Fix missing LICENSE file in macros crate by @musicinmybrain in https://github.com/PyO3/pyo3-async-runtimes/pull/63
23+
- Bump to pyo3 0.27. [#68](https://github.com/PyO3/pyo3-async-runtimes/pull/68)
2024

2125
## [0.26.0] - 2025-09-02
2226

23-
- Bump to pyo3 0.26. [#54](https://github.com/PyO3/pyo3-async-runtimes/pull/54)
27+
- Bump to pyo3 0.26. [#54](https://github.com/PyO3/pyo3-async-runtimes/pull/54)
2428

2529
## [0.25.0] - 2025-05-14
2630

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pyo3-async-runtimes"
33
description = "PyO3 bridges from Rust runtimes to Python's Asyncio library"
4-
version = "0.26.0"
4+
version = "0.27.0"
55
authors = [
66
"Andrew J Westlake <[email protected]>",
77
"David Hewitt <[email protected]>",
@@ -121,7 +121,7 @@ inventory = { version = "0.3", optional = true }
121121
once_cell = "1.14"
122122
pin-project-lite = "0.2"
123123
pyo3 = "0.27"
124-
pyo3-async-runtimes-macros = { path = "pyo3-async-runtimes-macros", version = "=0.26.0", optional = true }
124+
pyo3-async-runtimes-macros = { path = "pyo3-async-runtimes-macros", version = "=0.27.0", optional = true }
125125

126126
[dev-dependencies]
127127
pyo3 = { version = "0.27", features = ["macros"] }

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
5050
```toml
5151
# Cargo.toml dependencies
5252
[dependencies]
53-
pyo3 = { version = "0.26" }
54-
pyo3-async-runtimes = { version = "0.26", features = ["attributes", "async-std-runtime"] }
53+
pyo3 = { version = "0.27" }
54+
pyo3-async-runtimes = { version = "0.27", features = ["attributes", "async-std-runtime"] }
5555
async-std = "1.13"
5656
```
5757

@@ -80,8 +80,8 @@ attribute.
8080
```toml
8181
# Cargo.toml dependencies
8282
[dependencies]
83-
pyo3 = { version = "0.26" }
84-
pyo3-async-runtimes = { version = "0.26", features = ["attributes", "tokio-runtime"] }
83+
pyo3 = { version = "0.27" }
84+
pyo3-async-runtimes = { version = "0.27", features = ["attributes", "tokio-runtime"] }
8585
tokio = "1.40"
8686
```
8787

@@ -126,17 +126,17 @@ For `async-std`:
126126

127127
```toml
128128
[dependencies]
129-
pyo3 = { version = "0.26", features = ["extension-module"] }
130-
pyo3-async-runtimes = { version = "0.26", features = ["async-std-runtime"] }
129+
pyo3 = { version = "0.27", features = ["extension-module"] }
130+
pyo3-async-runtimes = { version = "0.27", features = ["async-std-runtime"] }
131131
async-std = "1.13"
132132
```
133133

134134
For `tokio`:
135135

136136
```toml
137137
[dependencies]
138-
pyo3 = { version = "0.26", features = ["extension-module"] }
139-
pyo3-async-runtimes = { version = "0.26", features = ["tokio-runtime"] }
138+
pyo3 = { version = "0.27", features = ["extension-module"] }
139+
pyo3-async-runtimes = { version = "0.27", features = ["tokio-runtime"] }
140140
tokio = "1.40"
141141
```
142142

@@ -430,8 +430,8 @@ name = "my_async_module"
430430
crate-type = ["cdylib"]
431431

432432
[dependencies]
433-
pyo3 = { version = "0.26", features = ["extension-module"] }
434-
pyo3-async-runtimes = { version = "0.26", features = ["tokio-runtime"] }
433+
pyo3 = { version = "0.27", features = ["extension-module"] }
434+
pyo3-async-runtimes = { version = "0.27", features = ["tokio-runtime"] }
435435
async-std = "1.13"
436436
tokio = "1.40"
437437
```
@@ -462,7 +462,7 @@ $ maturin develop && python3
462462
🔗 Found pyo3 bindings
463463
🐍 Found CPython 3.8 at python3
464464
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
465-
Python 3.8.8 (default, Apr 13 2021, 19:58:26)
465+
Python 3.8.8 (default, Apr 13 2021, 19:58:27)
466466
[GCC 7.3.0] :: Anaconda, Inc. on linux
467467
Type "help", "copyright", "credits" or "license" for more information.
468468
>>> import asyncio
@@ -490,8 +490,8 @@ event loop before we can install the `uvloop` policy.
490490
```toml
491491
[dependencies]
492492
async-std = "1.13"
493-
pyo3 = "0.26"
494-
pyo3-async-runtimes = { version = "0.26", features = ["async-std-runtime"] }
493+
pyo3 = "0.27"
494+
pyo3-async-runtimes = { version = "0.27", features = ["async-std-runtime"] }
495495
```
496496

497497
```rust no_run

pyo3-async-runtimes-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-async-runtimes-macros"
33
description = "Proc Macro Attributes for `pyo3-async-runtimes`"
4-
version = "0.26.0"
4+
version = "0.27.0"
55
authors = [
66
"Andrew J Westlake <[email protected]>",
77
"David Hewitt <[email protected]>",

0 commit comments

Comments
 (0)