You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/tasks.py", line 490, in wait_forreturn fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/.../PycharmProjects/sandbox/main.py", line 20, in <module>
loop.run_until_complete(go())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_completereturn future.result()
^^^^^^^^^^^^^^^
File "/Users/.../PycharmProjects/sandbox/main.py", line 9, in goasyncwith aiopg.create_pool(dsn) as pool:
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/utils.py", line 82, in __aenter__self._obj =awaitself._coro
^^^^^^^^^^^^^^^^
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/pool.py", line 300, in from_pool_fillawaitself._fill_free_pool(False)
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/pool.py", line 336, in _fill_free_pool
conn =await connect(
^^^^^^^^^^^^^^
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/connection.py", line 1225, in _connectawaitself._poll(self._waiter, self._timeout) # type:ignore^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/connection.py", line 884, in _pollraise exc
File "/Users/.../Library/Caches/pypoetry/virtualenvs/sandbox-N2CgpaeM-py3.11/lib/python3.11/site-packages/aiopg/connection.py", line 881, in _pollawait asyncio.wait_for(self._waiter, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/tasks.py", line 492, in wait_forraise exceptions.TimeoutError() from exc
TimeoutError
Python Version
$ python --versionPython 3.11.4
aiopg Version
$ python -m pip show aiopg1.4.0
OS
MacOS Apple M3 Pro Sonoma 14.6.1
Additional context
Docker version 27.3.1
Postgres docker image version - postgres:14
Code of Conduct
I agree to follow the aio-libs Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
Using version aiopg="1.4.0", I can not execute example code from README.md.
To Reproduce
Expected behavior
Pool successfully creates and sql query executes
Logs/tracebacks
Python Version
aiopg Version
OS
MacOS Apple M3 Pro Sonoma 14.6.1
Additional context
Code of Conduct
The text was updated successfully, but these errors were encountered: