This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4f1996dba8 fix: add plain postgres alias (#21045)
4f1996dba8 is described below
commit 4f1996dba8e35ee958048b726750247ec8e518aa
Author: Beto Dealmeida <[email protected]>
AuthorDate: Wed Aug 10 18:07:31 2022 -0700
fix: add plain postgres alias (#21045)
---
setup.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index ba16a2e58f..311d33e81e 100644
--- a/setup.py
+++ b/setup.py
@@ -64,10 +64,11 @@ setup(
zip_safe=False,
entry_points={
"console_scripts": ["superset=superset.cli.main:superset"],
- # the `postgres+psycopg2://` scheme was removed in SQLAlchemy 1.4, add
an alias here
- # to prevent breaking existing databases
+ # the `postgres` and `postgres+psycopg2://` schemes were removed in
SQLAlchemy 1.4
+ # add an alias here to prevent breaking existing databases
"sqlalchemy.dialects": [
- "postgres.psycopg2=sqlalchemy.dialects.postgresql:dialect"
+ "postgres.psycopg2 = sqlalchemy.dialects.postgresql:dialect",
+ "postgres = sqlalchemy.dialects.postgresql:dialect",
],
},
install_requires=[