Skip to content

Commit 0025c6c

Browse files
Merge pull request #693 from Tecnativa/fix-doodba-18-19-error
[FIX] Pin setuptools < 82 on Odoo 18 and 19
2 parents e4566d6 + d518208 commit 0025c6c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

18.0.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ RUN build_deps=" \
148148
# need to upgrade setuptools, since the fixes for CVE-2024-6345 rolled out in base images we get errors "error: invalid command 'bdist_wheel'"
149149
# We need setuptools lower than 82 as odoo uses pkg_resources and it was removed in 82.0.0
150150
&& pip install --upgrade "setuptools<82" \
151-
&& pip install --upgrade setuptools \
152151
&& pip install -r requirements.txt \
153152
'websocket-client~=0.56' \
154153
astor \

19.0.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ RUN build_deps=" \
146146
# cbor2==5.4.2 no longer builds as pkg_resources is removed, and 5.4.6 is already pre-built
147147
&& sed -i -E "s/(cbor2==)5\.4\.2( ; python_version < '3.12')/\15.4.6\2/" requirements.txt \
148148
# need to upgrade setuptools, since the fixes for CVE-2024-6345 rolled out in base images we get errors "error: invalid command 'bdist_wheel'"
149-
&& pip install --upgrade setuptools \
149+
&& pip install --upgrade "setuptools<82" \
150150
&& pip install -r requirements.txt \
151151
'websocket-client~=0.56' \
152152
astor \

0 commit comments

Comments
 (0)