forked from hans/Nominatim
Merge pull request #3897 from lonvia/test-psycopg-33
Allow psycopg 3.3 back
This commit is contained in:
@@ -15,7 +15,7 @@ classifiers = [
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
"psycopg<3.3",
|
||||
"psycopg != 3.3.0",
|
||||
"python-dotenv",
|
||||
"jinja2",
|
||||
"pyYAML>=5.1",
|
||||
|
||||
@@ -197,7 +197,7 @@ class Configuration:
|
||||
if dsn.startswith('pgsql:'):
|
||||
return dict((p.split('=', 1) for p in dsn[6:].split(';')))
|
||||
|
||||
return conninfo_to_dict(dsn)
|
||||
return conninfo_to_dict(dsn) # type: ignore
|
||||
|
||||
def get_import_style_file(self) -> Path:
|
||||
""" Return the import style file as a path object. Translates the
|
||||
|
||||
Reference in New Issue
Block a user