Merge branch 'nntp' into 'master'
[mailman.git] / src / mailman / version.py
blobdf56a8fa7bb97da126b84c69e84147f076371a7e
1 # Copyright (C) 1998-2023 by the Free Software Foundation, Inc.
3 # This file is part of GNU Mailman.
5 # GNU Mailman is free software: you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option)
8 # any later version.
10 # GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 # more details.
15 # You should have received a copy of the GNU General Public License along with
16 # GNU Mailman. If not, see <https://www.gnu.org/licenses/>.
18 """Mailman version strings."""
20 # Mailman version.
21 __version__ = '3.3.10b1'
22 VERSION = __version__
23 CODENAME = 'Tom Sawyer'
25 # And as a hex number in the manner of PY_VERSION_HEX.
26 ALPHA = 0xa
27 BETA = 0xb # noqa: E221
28 GAMMA = 0xc
29 # Release candidates.
30 RC = GAMMA # noqa: E221
31 FINAL = 0xf
33 MAJOR_REV = 3
34 MINOR_REV = 3
35 MICRO_REV = 9
36 REL_LEVEL = FINAL
37 # At most 15 beta releases!
38 REL_SERIAL = 1
40 HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) |
41 (REL_LEVEL << 4) | (REL_SERIAL << 0)) # noqa: E221
44 # queue/*.pck schema version number.
45 QFILE_SCHEMA_VERSION = 3
47 # Printable version string used by command line scripts.
48 MAILMAN_VERSION = 'GNU Mailman ' + VERSION
49 MAILMAN_VERSION_FULL = MAILMAN_VERSION + ' (' + CODENAME + ')'