]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Limit AsyncAdaptedQueue to Python 3.7
authorFederico Caselli <cfederico87@gmail.com>
Sun, 24 Jan 2021 19:49:06 +0000 (14:49 -0500)
committerFederico Caselli <cfederico87@gmail.com>
Sun, 24 Jan 2021 20:20:11 +0000 (21:20 +0100)
commit43a27f1da849501ae15f0c39ac67cb00e2e80718
treedda33bd7f08c716f44e10c6e17d8a66c5d6b88a6
parent2df6eb140b4feb86d7cc99c0c976d1b22eb6e25b
Limit AsyncAdaptedQueue to Python 3.7

Tests here are failing for python 3.6 due to the lack
of asyncio.run().   It seems to be non-trivial to vendor
a working version of this in Python 3.6 as the tests here
are running it in alternate threads.

The python documentation imports everything directly from the
asyncio package, and it seems that py < 3.8 does not have the
asyncio.exception module

Closes: #5865
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5865
Pull-request-sha: 35cc1fa3f6ff962676f571ae30851f4b4d96762a

Change-Id: I9398c9fb2aa87f3228ce2f59277de732091bd541
lib/sqlalchemy/util/queue.py
test/base/test_concurrency_py3k.py