Merge pull request #3897 from lonvia/test-psycopg-33

Allow psycopg 3.3 back
This commit is contained in:
Sarah Hoffmann
2025-12-04 17:10:55 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"psycopg<3.3",
"psycopg != 3.3.0",
"python-dotenv",
"jinja2",
"pyYAML>=5.1",

View File

@@ -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