fix: make a new entrypoint for deprecated postgres dialect (#20895)
* make a new entrypoint for deprecated postgres dialect * Update setup.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
This commit is contained in:
parent
06d05394c2
commit
4d29d16b64
5
setup.py
5
setup.py
|
|
@ -64,6 +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
|
||||
"sqlalchemy.dialects": [
|
||||
"postgres.psycopg2=sqlalchemy.dialects.postgresql:dialect"
|
||||
],
|
||||
},
|
||||
install_requires=[
|
||||
"backoff>=1.8.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue