Coverage for adhoc-cicd-odoo-odoo / odoo / release.py: 100%
17 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-09 18:15 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-09 18:15 +0000
1# Part of Odoo. See LICENSE file for full copyright and licensing details.
3RELEASE_LEVELS = [ALPHA, BETA, RELEASE_CANDIDATE, FINAL] = ['alpha', 'beta', 'candidate', 'final']
4RELEASE_LEVELS_DISPLAY = {ALPHA: 'a',
5 BETA: 'b',
6 RELEASE_CANDIDATE: 'rc',
7 FINAL: ''}
9# version_info format: (MAJOR, MINOR, MICRO, RELEASE_LEVEL, SERIAL)
10# inspired by Python's own sys.version_info, in order to be
11# properly comparable using normal operators, for example:
12# (6,1,0,'beta',0) < (6,1,0,'candidate',1) < (6,1,0,'candidate',2)
13# (6,1,0,'candidate',2) < (6,1,0,'final',0) < (6,1,2,'final',0)
14# NOTE: during release, the MAJOR version can become an arbitrary string ('saas~xx')
15version_info = (19, 0, 0, FINAL, 0, '')
16series = serie = major_version = '.'.join(str(s) for s in version_info[:2])
17version = series + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '') + version_info[5]
19product_name = 'Odoo'
20description = 'Odoo Server'
21long_desc = '''Odoo is a complete ERP and CRM. The main features are accounting (analytic
22and financial), stock management, sales and purchases management, tasks
23automation, marketing campaigns, help desk, POS, etc. Technical features include
24a distributed server, an object database, a dynamic GUI,
25customizable reports, and XML-RPC interfaces.
26'''
27classifiers = """Development Status :: 5 - Production/Stable
28License :: OSI Approved :: GNU Lesser General Public License v3
30Programming Language :: Python
31"""
32url = 'https://www.odoo.com'
33author = 'OpenERP S.A.'
34author_email = 'info@odoo.com'
35license = 'LGPL-3'
37nt_service_name = "odoo-server-" + series.replace('~','-')
39MIN_PY_VERSION = (3, 10)
40MAX_PY_VERSION = (3, 13)
41MIN_PG_VERSION = 13