]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/version.py
add Python package configuration
[nominatim.git] / nominatim / version.py
index aef85300aaee1aff069bfa28f456d00bb2dbb0ea..2ece2d795ab90112f64b9c4ad3dc7a4999b4cb7d 100644 (file)
@@ -33,12 +33,17 @@ class NominatimVersion(NamedTuple):
     def __str__(self) -> str:
         return f"{self.major}.{self.minor}.{self.patch_level}-{self.db_patch_level}"
 
+    def release_version(self) -> str:
+        """ Return the release version in semantic versioning format.
 
-NOMINATIM_VERSION = NominatimVersion(4, 3, 0, 0)
+            The release version does not include the database patch version.
+        """
+        return f"{self.major}.{self.minor}.{self.patch_level}"
+
+NOMINATIM_VERSION = NominatimVersion(4, 4, 99, 1)
 
 POSTGRESQL_REQUIRED_VERSION = (9, 6)
 POSTGIS_REQUIRED_VERSION = (2, 2)
-HSTORE_REQUIRED_VERSION = (1, 3)
 
 # Cmake sets a variable @GIT_HASH@ by executing 'git --log'. It is not run
 # on every execution of 'make'.