#5357 fix: dialect 'postgres://' deprecated in sqlalchemy
Merged by ngompa. Opened by wombelix.
wombelix/pagure fix_sqlalchemy_dialects_postgres_error  into  master

Download 5357.patch

using sqlalchemy dialect 'postgres://' instead 'postgresql://' caused deprecation warnings till v1.3 and throws 'NoSuchModuleError' errors since v1.4.
unsupported dialect replaced in pagure sample config and documentation

error with sqlalchemy 1.4:

sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres

further reading:
https://stackoverflow.com/questions/62688256/sqlalchemy-exc-nosuchmoduleerror-cant-load-plugin-sqlalchemy-dialectspostgre#comment129785757_64698899
https://github.com/sqlalchemy/sqlalchemy/issues/6083#issuecomment-801478013

Pull-Request has been merged by ngompa

Metadata