File tree 5 files changed +7
-9
lines changed
5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,8 @@ futures = "0.3.28"
161
161
opendal = { version = " >=0" , path = " ../../core" , features = [
162
162
" layers-blocking" ,
163
163
] }
164
- pyo3 = { version = " 0.21.2 " , features = [" abi3" , " abi3-py311" ] }
165
- pyo3-asyncio = { package = " pyo3-asyncio-0-21 " , version = " 0.21 " , features = [
164
+ pyo3 = { version = " 0.22.5 " , features = [" abi3" , " abi3-py311" ] }
165
+ pyo3-async-runtimes = { version = " 0.22.0 " , features = [
166
166
" tokio-runtime" ,
167
167
] }
168
168
tokio = " 1"
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ description = "Apache OpenDAL™ Python Binding"
29
29
license = { text = " Apache-2.0" }
30
30
name = " opendal"
31
31
readme = " README.md"
32
- # PyO3 doesn't support python 3.13 yet.
33
- # ref: https://github.com/apache/opendal/issues/4268
34
- requires-python = " >=3.11, < 3.13"
32
+ requires-python = " >=3.11"
35
33
36
34
[project .optional-dependencies ]
37
35
benchmark = [
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use pyo3::buffer::PyBuffer;
31
31
use pyo3:: exceptions:: PyIOError ;
32
32
use pyo3:: exceptions:: PyValueError ;
33
33
use pyo3:: prelude:: * ;
34
- use pyo3_asyncio :: tokio:: future_into_py;
34
+ use pyo3_async_runtimes :: tokio:: future_into_py;
35
35
use tokio:: sync:: Mutex ;
36
36
37
37
use crate :: * ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use std::sync::Arc;
20
20
use futures:: TryStreamExt ;
21
21
use pyo3:: exceptions:: PyStopAsyncIteration ;
22
22
use pyo3:: prelude:: * ;
23
- use pyo3_asyncio :: tokio:: future_into_py;
23
+ use pyo3_async_runtimes :: tokio:: future_into_py;
24
24
use tokio:: sync:: Mutex ;
25
25
26
26
use crate :: * ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ use std::time::Duration;
22
22
use pyo3:: prelude:: * ;
23
23
use pyo3:: types:: PyBytes ;
24
24
use pyo3:: types:: PyDict ;
25
- use pyo3_asyncio :: tokio:: future_into_py;
25
+ use pyo3_async_runtimes :: tokio:: future_into_py;
26
26
27
27
use crate :: * ;
28
28
@@ -32,7 +32,7 @@ fn build_operator(
32
32
) -> PyResult < ocore:: Operator > {
33
33
let mut op = ocore:: Operator :: via_iter ( scheme, map) . map_err ( format_pyerr) ?;
34
34
if !op. info ( ) . full_capability ( ) . blocking {
35
- let runtime = pyo3_asyncio :: tokio:: get_runtime ( ) ;
35
+ let runtime = pyo3_async_runtimes :: tokio:: get_runtime ( ) ;
36
36
let _guard = runtime. enter ( ) ;
37
37
op = op
38
38
. layer ( ocore:: layers:: BlockingLayer :: create ( ) . expect ( "blocking layer must be created" ) ) ;
You can’t perform that action at this time.
0 commit comments