Skip to content

python3.8/site-packages/httpcore/_backends/anyio.py:198: RuntimeWarning: coroutine 'current_time' was never awaited return float(anyio.current_time()) #1776

Discussion options

You must be logged in to vote

Looks like you've got an out-of-date version of anyio installed there. (I think you've got version 2.x installed, while the latest versions of httpcore expect 3.x)

Not clear why that'd be occurring, since httpcore does pin to anyio 3.* in it's setup.py. Perhaps some manual installing/uninstalling of packages accidentally got things into a broken state.

You'd be able to resolve this by making sure that you update each of httpx, httpcore, anyio to the latest versions.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pltnk
Comment options

Answer selected by tomchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1768 on July 28, 2021 13:39.