]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/version.py
export UsageError and Configuration in api directly
[nominatim.git] / src / nominatim_db / version.py
index 82ae17e9ee4e0ba59c0617e0616b2bafbf391bbe..34e3b432e37e4623c52ab1fece54078f62ccd1ab 100644 (file)
@@ -9,9 +9,13 @@ Version information for Nominatim.
 """
 from typing import Optional
 
-from nominatim_core.version import NominatimVersion, parse_version
+# See also https://github.com/PyCQA/pylint/issues/6006
+# pylint: disable=useless-import-alias,unused-import
 
-NOMINATIM_VERSION = NominatimVersion(4, 4, 99, 1)
+from nominatim_core.version import (NominatimVersion as NominatimVersion,
+                                    parse_version as parse_version)
+
+NOMINATIM_VERSION = parse_version('4.4.99-1')
 
 POSTGRESQL_REQUIRED_VERSION = (9, 6)
 POSTGIS_REQUIRED_VERSION = (2, 2)