]> git.openstreetmap.org Git - nominatim.git/blob - nominatim/version.py
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / nominatim / version.py
1 """
2 Version information for Nominatim.
3 """
4
5 # Version information: major, minor, patch level, database patch level
6 #
7 # The first three numbers refer to the last released version.
8 #
9 # The database patch level tracks important changes between releases
10 # and must always be increased when there is a change to the database or code
11 # that requires a migration.
12 #
13 # When adding a migration on the development branch, raise the patch level
14 # to 99 to make sure that the migration is applied when updating from a
15 # patch release to the next minor version. Patch releases usually shouldn't
16 # have migrations in them. When they are needed, then make sure that the
17 # migration can reapplied and set the migration version to the appropriate
18 # patch level when cherry-picking the commit with the migration.
19 #
20 # Released versions always have a database patch level of 0.
21 NOMINATIM_VERSION = (4, 0, 99, 1)
22
23 POSTGRESQL_REQUIRED_VERSION = (9, 5)
24 POSTGIS_REQUIRED_VERSION = (2, 2)