summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2021-01-13 13:15:52 -0500
committerFederico Caselli <cfederico87@gmail.com>2021-01-13 19:20:33 +0100
commitb04dcbd7bc2c4e160f0fc5b5a4a97dea1bb227e7 (patch)
tree16b6668d94b4b376b95b17c9fc0c0abb8019bec4 /setup.cfg
parent0a41f9bea6602c52c59af0f7b572308b2c2b27ab (diff)
downloadsqlalchemy-b04dcbd7bc2c4e160f0fc5b5a4a97dea1bb227e7.tar.gz
update aiomysql extra to match asyncpg, also dedupe asyncio extras
<!-- Provide a general summary of your proposed changes in the Title field above --> ### Description currently the asyncio extra-deps are duplicated between every async driver (or it seems they are supposed to be). This updates all async drivers to depend on the `sqlalchemy[asyncio]` extra using the `%(asyncio)s` shorthand ### Checklist <!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once) --> This pull request is: - [ ] A documentation / typographical error fix - Good to go, no issue or tests are needed - [ ] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. **Have a nice day!** Closes: #5830 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5830 Pull-request-sha: 9146e5f1391015b284fd96def8c04e36a7c985d2 Change-Id: I1865cc67b4cdf9f73a7effbfcb86cf2c1f824644
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index 99c0b13cd..792a35d6e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -43,7 +43,7 @@ install_requires =
[options.extras_require]
asyncio =
- greenlet;python_version>="3"
+ greenlet!=0.4.17;python_version>="3"
mssql = pyodbc
mssql_pymssql = pymssql
mssql_pyodbc = pyodbc
@@ -60,14 +60,16 @@ oracle =
postgresql = psycopg2>=2.7
postgresql_pg8000 = pg8000>=1.16.6
postgresql_asyncpg =
+ %(asyncio)s
asyncpg;python_version>="3"
- greenlet;python_version>="3"
postgresql_psycopg2binary = psycopg2-binary
postgresql_psycopg2cffi = psycopg2cffi
pymysql =
pymysql;python_version>="3"
pymysql<1;python_version<"3"
-aiomysql = aiomysql
+aiomysql =
+ %(asyncio)s
+ aiomysql;python_version>="3"
[egg_info]
tag_build = dev