Skip to content

Commit d511349

Browse files
authored
Merge pull request #22 from akretion/add-18-light
add odoo 18.0 light support
2 parents 59a305f + a2af2e5 commit d511349

File tree

5 files changed

+125
-0
lines changed

5 files changed

+125
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- ODOOVERSION: "16.0"
2020
- ODOOVERSION: "16.0-light"
2121
- ODOOVERSION: "17.0-light"
22+
- ODOOVERSION: "18.0-light"
2223
steps:
2324
- uses: actions/checkout@v2
2425
- name: Set up Docker Buildx

18.0-light/Dockerfile

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
FROM ghcr.io/acsone/odoo-bedrock:18.0-py312-noble-latest
2+
ARG PYTHONBIN=python3.12
3+
MAINTAINER Akretion
4+
5+
# syntax = docker/dockerfile:1.4
6+
7+
# List from https://github.com/camptocamp/docker-odoo-project/blob/master/16.0/Dockerfile
8+
ENV BUILD_PACKAGE \
9+
build-essential \
10+
gcc \
11+
${PYTHONBIN}-dev \
12+
libevent-dev \
13+
libfreetype6-dev \
14+
libxml2-dev \
15+
libxslt1-dev \
16+
libsasl2-dev \
17+
libldap2-dev \
18+
libssl-dev \
19+
libjpeg-dev \
20+
libpng-dev \
21+
zlib1g-dev \
22+
git \
23+
# Additionnal dep from Ak
24+
po4a \
25+
libpq-dev \
26+
postgresql-client
27+
28+
RUN --mount=type=cache,target=/var/cache/apt \
29+
apt-get update \
30+
&& apt-get install -y --no-install-recommends $BUILD_PACKAGE
31+
32+
COPY 18.0-light/base_requirements.txt /tmp/base_requirements.txt
33+
RUN pip install --no-cache-dir -r /tmp/base_requirements.txt
34+
35+
COPY 18.0-light/ak_requirements.txt /tmp/ak_requirements.txt
36+
RUN pip install --no-cache-dir -r /tmp/ak_requirements.txt
37+
38+
CMD ["odoo"]

18.0-light/ak_requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
click-odoo-contrib
2+
git+https://github.com/oca/openupgradelib.git@master
3+
odoo_test_helper #==2.0.2

18.0-light/base_requirements.txt

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
Babel==2.10.3 ; python_version >= '3.11'
2+
chardet==5.2.0 ; python_version >= '3.11'
3+
cryptography==42.0.8 ; python_version >= '3.12' # (Noble) min 41.0.7, pinning 42.0.8 for security fixes
4+
decorator==5.1.1 ; python_version >= '3.11'
5+
docutils==0.20.1 ; python_version >= '3.11'
6+
ebaysdk==2.1.5
7+
freezegun==1.2.1 ; python_version >= '3.11'
8+
geoip2==2.9.0
9+
gevent==24.2.1 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
10+
greenlet==3.0.3 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble)
11+
idna==3.6 ; python_version >= '3.12'
12+
Jinja2==3.1.2 ; python_version > '3.10'
13+
libsass==0.22.0 ; python_version >= '3.11' # (Noble) Mostly to have a wheel package
14+
lxml==5.2.1; python_version >= '3.12' # (Noble - removed html clean)
15+
lxml-html-clean; python_version >= '3.12' # (Noble - removed from lxml, unpinned for futur security patches)
16+
MarkupSafe==2.1.5 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
17+
num2words==0.5.13 ; python_version >= '3.12'
18+
ofxparse==0.21
19+
passlib==1.7.4 # min version = 1.7.2 (Focal with security backports)
20+
Pillow==10.2.0 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
21+
polib==1.1.1
22+
psutil==5.9.8 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
23+
psycopg2==2.9.9 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
24+
pydot==1.4.2
25+
pyopenssl==24.1.0 ; python_version >= '3.12' # (Noble) min 23.2.0, pinned for compatibility with cryptography==42.0.8 and security patches
26+
PyPDF2==2.12.1 ; python_version > '3.10'
27+
pyserial==3.5
28+
python-dateutil==2.8.2 ; python_version >= '3.11'
29+
python-ldap==3.4.4 ; sys_platform != 'win32' and python_version >= '3.12' # (Noble) Mostly to have a wheel package
30+
python-stdnum==1.19 ; python_version >= '3.11'
31+
pytz # no version pinning to avoid OS perturbations
32+
pyusb==1.2.1
33+
qrcode==7.4.2 ; python_version >= '3.11'
34+
reportlab==4.1.0 ; python_version >= '3.12' # (Noble) Mostly to have a wheel package
35+
requests==2.31.0 ; python_version >= '3.11' # (Noble)
36+
rjsmin==1.2.0 ; python_version >= '3.11'
37+
rl-renderPM==4.0.3 ; sys_platform == 'win32' and python_version >= '3.12' # Needed by reportlab 4.1.0 but included in deb package
38+
urllib3==2.0.7 ; python_version >= '3.12' # (Noble) Compatibility with cryptography
39+
vobject==0.9.6.1
40+
Werkzeug==3.0.1 ; python_version >= '3.12' # (Noble) Avoid deprecation warnings
41+
xlrd==2.0.1 ; python_version >= '3.12'
42+
XlsxWriter==3.1.9 ; python_version >= '3.12'
43+
xlwt==1.3.0
44+
zeep==4.2.1 ; python_version >= '3.11'
45+
setuptools==73.0.1
46+
47+
# Not part of official requirements, but used by some addons
48+
# colorama==0.3.9
49+
gdata==2.0.18
50+
html5lib==1.1
51+
odfpy==1.4.1
52+
pyinotify==0.9.6
53+
simplejson==3.19.3
54+
55+
56+
# test / lint
57+
# those libs and their dependencies are unpinned
58+
# to always test with the last version of it
59+
flake8
60+
pytest==8.3.2
61+
pluggy
62+
coverage
63+
pytest-odoo>=0.4.7
64+
pytest-cov>=2.10.0
65+
watchdog
66+
67+
# Library dependency
68+
argh==0.31.3
69+
atomicwrites==1.4.1
70+
attrs==24.2.0
71+
beautifulsoup4==4.12.3
72+
future==1.0.0
73+
mccabe==0.7.0
74+
more-itertools==10.4.0
75+
pbr==6.0.0
76+
pexpect==4.9.0
77+
ptyprocess==0.7.0
78+
py==1.11.0
79+
pycodestyle==2.12.1
80+
pyflakes==3.2.0
81+
unicodecsv==0.14.1
82+
wrapt==1.16.0

HISTORY.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* 26/09/2024 Add 18.0-light
12
* 10/07/2023 *Major change* v14 is now python 3.8
23
* 10/07/2023 Add v14-light
34
* 10/07/2023 v16-light remove dead file and add ak_requirements

0 commit comments

Comments
 (0)