[IMP] requirements: drop support for py3.7

All major systems (debian stable, ubuntu lts, windows) support py3.8
and all dependencies used by Odoo come with wheels for that version.
Most developers at Odoo SA uses 3.8 already and runbot is using ubuntu
jammy (which comes with py3.10) to test the current 16.0/master.

closes odoo/odoo#119492

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
Julien Castiaux
2023-04-26 19:49:10 +02:00
parent b1772094b1
commit 44d60e3e7e
3 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ __path__ = [
]
import sys
assert sys.version_info > (3, 7), "Outdated python version detected, Odoo requires Python >= 3.7 to run."
assert sys.version_info > (3, 8), "Outdated python version detected, Odoo requires Python >= 3.8 to run."
#----------------------------------------------------------
# Running mode flags (gevent, prefork)
+7 -12
View File
@@ -6,16 +6,13 @@ cryptography==3.4.8
decorator==4.4.2
docutils==0.16
ebaysdk==2.1.5
freezegun==0.3.11; python_version < '3.8'
freezegun==0.3.15; python_version >= '3.8'
freezegun==0.3.15
geoip2==2.9.0
gevent==1.5.0 ; python_version == '3.7'
gevent==20.9.0 ; python_version > '3.7' and python_version <= '3.9'
gevent==21.8.0 ; python_version > '3.9' and python_version <= '3.10' # (Jammy)
gevent==20.9.0 ; python_version <= '3.9'
gevent==21.8.0 ; python_version == '3.10' # (Jammy)
gevent==22.10.2; python_version > '3.10'
greenlet==0.4.15 ; python_version == '3.7'
greenlet==0.4.17 ; python_version > '3.7' and python_version <= '3.9'
greenlet==1.1.2 ; python_version > '3.9' and python_version <= '3.10' # (Jammy)
greenlet==0.4.17 ; python_version <= '3.9'
greenlet==1.1.2 ; python_version == '3.10' # (Jammy)
greenlet==2.0.2 ; python_version > '3.10'
idna==2.10
Jinja2==2.11.3 ; python_version <= '3.10' # min version = 2.10.1 (Focal - with security backports)
@@ -34,8 +31,7 @@ Pillow==9.4.0 ; python_version > '3.10'
polib==1.1.0
psutil==5.8.0 ; python_version <= '3.10'
psutil==5.9.4 ; python_version > '3.10'
psycopg2==2.7.7 ; sys_platform != 'win32' and python_version < '3.8'
psycopg2==2.8.6 ; sys_platform != 'win32' and python_version >= '3.8'and python_version <= '3.10'
psycopg2==2.8.6 ; sys_platform != 'win32' and python_version <= '3.10'
psycopg2==2.8.6 ; sys_platform == 'win32' and python_version < '3.10'
psycopg2==2.9.5 ; python_version > '3.10' or ( sys_platform == 'win32' and python_version == '3.10')
pydot==1.4.2
@@ -58,8 +54,7 @@ urllib3==1.26.5 # indirect / min version = 1.25.8 (Focal with security backports
vobject==0.9.6.1
Werkzeug==0.16.1 ; python_version <= '3.9'
Werkzeug==2.0.2 ; python_version > '3.9' # (Jammy)
xlrd==1.1.0; python_version < '3.8'
xlrd==1.2.0; python_version >= '3.8'
xlrd==1.2.0
XlsxWriter==1.1.2
xlwt==1.3.*
zeep==4.0.0
+1 -1
View File
@@ -62,7 +62,7 @@ setup(
'xlwt',
'zeep',
],
python_requires='>=3.7',
python_requires='>=3.8',
extras_require={
'ldap': ['python-ldap'],
},