Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization fixes #30

Merged
merged 37 commits into from
Aug 8, 2021
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1dd3f63
Fixed async-std parity with tokio when the rust future panics
May 27, 2021
91896b8
Fixed several warnings after async-std panic parity fix
May 27, 2021
bc0f5e8
Changed conversions to accept any event loop, library no longer cache…
Jul 2, 2021
8a7aec8
Removed unnecessary lifetime on create_future
Jul 2, 2021
849fae1
Changed return type of local_future_into_py back to &PyAny
Jul 2, 2021
d4b57d2
Merged in async-std-panic-parity
Jul 2, 2021
b0972d9
Added with_loop suffix to functions with explicit event_loop parameters
Jul 2, 2021
5806195
Added implicit event loop parameter variants for the into_future conv…
Jul 2, 2021
9c4be34
Changed get_task_event_loop implementations to return None if called …
Jul 2, 2021
8c49ffd
Added new try_init/try_close get_cached_event_loop behaviour
Jul 3, 2021
536ac93
Changed into_coroutine back to using cached event loop, 0.14 equivale…
Jul 3, 2021
1306765
Added 0.13 into_future back in, makes use of get_cached_event_loop
Jul 3, 2021
2d315cf
Made tokio initialization lazy, current thread scheduler init is a li…
Jul 7, 2021
d16c75b
Added deprecation attributes to the 0.13 API calls, made event_loop p…
Jul 7, 2021
9ab2dce
Changed some names so that the 0.13 API is not broken and the naming …
Jul 7, 2021
f47b8f8
Deprecated run_forever, made run_forever tests work without deprecate…
Jul 7, 2021
8de1197
Got tests working with get_running_loop to ensure that the semantics …
Jul 7, 2021
4fffe01
Minor naming change, fixed some docs / generic impls, made async-std …
Jul 14, 2021
8b1b493
Changed get_running_loop to use asyncio.get_running_loop when availab…
Jul 14, 2021
c61ef22
Fixed crates.io badge
Jul 15, 2021
d800b90
Bumped pyo3 version to 0.14, fixed misc problems due to the auto-init…
Aug 3, 2021
ebbde13
Merged invalid-state-fix changes
Aug 6, 2021
1c4f520
Added test for running asyncio.run multiple times, found new issue th…
Aug 6, 2021
211b9d1
Merge branch 'master' of https://github.com/awestlake87/pyo3-asyncio …
Aug 6, 2021
0ffcea7
Merged in lazy tokio initialization
Aug 6, 2021
27ad604
Added PyO3 guide to README
Aug 7, 2021
ca89b5c
Added a section about Event Loop references and thread-awareness to t…
Aug 7, 2021
9daa361
Made some README changes after proofread on GitHub
Aug 7, 2021
390a785
Added example for non-standard Python event loops
Aug 7, 2021
cbeb41a
Merge branch 'master' of https://github.com/awestlake87/pyo3-asyncio …
Aug 7, 2021
4399932
Reordered README a bit to include the Quickstart in the Primer, docum…
Aug 7, 2021
c79cbc3
Forgot to add bash as language for traceback error to satisfy rustdoc
Aug 7, 2021
140db44
Added the migration guide to the README
Aug 8, 2021
dd6f2cc
Added a small note about supporting v0.13 API through v0.15
Aug 8, 2021
56eb606
Restructured the docs a bit, integrated changes from PyO3 guide PR
Aug 8, 2021
9244cc4
Changed Additional Information links to point to gh-pages docs instea…
Aug 8, 2021
f167f30
Added links to the migration guide on every deprecation note
Aug 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pyo3-asyncio"
description = "PyO3 utilities for Python's Asyncio library"
version = "0.13.5"
version = "0.14.0"
authors = ["Andrew J Westlake <awestlake87@yahoo.com>"]
readme = "README.md"
keywords = ["pyo3", "python", "ffi", "async", "asyncio"]
Expand Down Expand Up @@ -89,8 +89,11 @@ futures = "0.3"
inventory = "0.1"
lazy_static = "1.4"
once_cell = "1.5"
pyo3 = "0.13"
pyo3-asyncio-macros = { path = "pyo3-asyncio-macros", version = "=0.13.5", optional = true }
pyo3 = "0.14"
pyo3-asyncio-macros = { path = "pyo3-asyncio-macros", version = "=0.14.0", optional = true }

[dev-dependencies]
pyo3 = { version = "0.14", features = ["macros"] }

[dependencies.async-std]
version = "1.9"
Expand Down
Loading