summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-08-25 14:05:16 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-08-25 19:34:00 -0400
commite14a8e3295d289e256bf236d0461034f35b7fcc3 (patch)
tree302c8ba9a6494fe86af690022bd428a9ee21347a
parent1ea3c783b6ceaf488e34f15c3ce97eabbc3ab4d3 (diff)
downloadsqlalchemy-e14a8e3295d289e256bf236d0461034f35b7fcc3.tar.gz
try out greenlet / cython on py311
I've updated jenkins to see what happens Change-Id: If71b3f6da98dacd21419e8ece2395bc5fd20d133
-rw-r--r--test/ext/asyncio/test_engine_py3k.py4
-rw-r--r--tox.ini4
2 files changed, 2 insertions, 6 deletions
diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py
index a54c39981..8e6fdee7d 100644
--- a/test/ext/asyncio/test_engine_py3k.py
+++ b/test/ext/asyncio/test_engine_py3k.py
@@ -1,4 +1,3 @@
-import asyncio
import inspect as stdlib_inspect
from sqlalchemy import Column
@@ -507,7 +506,8 @@ class AsyncEngineTest(EngineFixture):
@async_test
async def test_init_once_concurrency(self, async_engine):
async with async_engine.connect() as c1, async_engine.connect() as c2:
- await asyncio.wait([c1, c2])
+ eq_(await c1.scalar(select(1)), 1)
+ eq_(await c2.scalar(select(1)), 1)
@async_test
async def test_connect_ctxmanager(self, async_engine):
diff --git a/tox.ini b/tox.ini
index ec51a939c..3b2c1b674 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,10 +14,6 @@ deps=
pytest>=7.0.0rc1,<8
pytest-xdist
- # cython and greenlet both not working on 3.11
- # note cython not working for 3.11 at all right now
- git+https://github.com/sqlalchemyorg/greenlet/@fix_py311_cpp#egg=greenlet; python_version >= '3.11'
-
sqlite: .[aiosqlite]
sqlite_file: .[aiosqlite]
sqlite_file: .[sqlcipher]; python_version < '3.10'