From 63c1b1e1d78b9a16a6b2505d878cfb802116b112 Mon Sep 17 00:00:00 2001 From: Askaholic Date: Sat, 18 May 2019 11:16:22 -0800 Subject: [PATCH 1/2] Fix __aiter__. This breaks compatibility with python < 3.5.2 --- aiomysql/sa/result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiomysql/sa/result.py b/aiomysql/sa/result.py index faeaff56..f34d3ff9 100644 --- a/aiomysql/sa/result.py +++ b/aiomysql/sa/result.py @@ -447,7 +447,7 @@ async def scalar(self): else: return None - async def __aiter__(self): + def __aiter__(self): return self async def __anext__(self): From 76b4349918016209c2e2553b273b456aaf6ff045 Mon Sep 17 00:00:00 2001 From: Askaholic Date: Mon, 20 May 2019 21:30:46 -0800 Subject: [PATCH 2/2] [#386] Update dependencies in docs --- README.rst | 2 +- docs/index.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 27550761..388252e1 100644 --- a/README.rst +++ b/README.rst @@ -115,7 +115,7 @@ Requirements .. _Python: https://www.python.org -.. _asyncio: http://docs.python.org/3.4/library/asyncio.html +.. _asyncio: http://docs.python.org/3.5/library/asyncio.html .. _aiopg: https://github.com/aio-libs/aiopg .. _PyMySQL: https://github.com/PyMySQL/PyMySQL .. _Tornado-MySQL: https://github.com/PyMySQL/Tornado-MySQL diff --git a/docs/index.rst b/docs/index.rst index 4a258224..303fdf3c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -7,7 +7,7 @@ Welcome to aiomysql's documentation! ==================================== .. _GitHub: https://github.com/aio-libs/aiomysql -.. _asyncio: http://docs.python.org/3.4/library/asyncio.html +.. _asyncio: http://docs.python.org/3.5/library/asyncio.html .. _aiopg: https://github.com/aio-libs/aiopg .. _Tornado-MySQL: https://github.com/PyMySQL/Tornado-MySQL .. _aio-libs: https://github.com/aio-libs @@ -105,7 +105,7 @@ coverage reports. Dependencies ------------ -- Python 3.3 and :mod:`asyncio` or Python 3.4+ +- Python 3.5.3+ - :term:`PyMySQL` - aiomysql.sa requires :term:`sqlalchemy`.