Skip to content

Commit

Permalink
Fix pylint-odoo installation
Browse files Browse the repository at this point in the history
Install version from OCA/pylint-odoo#329 with a more modern packaging method, avoiding errors with setuptools
  • Loading branch information
joao-p-marques authored and yajo committed Apr 20, 2021
1 parent d7b6e76 commit 68fd24e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion 11.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,13 @@ RUN mkdir -p auto/addons auto/geoip custom/src/private \
COPY qa /qa
RUN python -m venv --system-site-packages /qa/venv \
&& . /qa/venv/bin/activate \
# HACK: Upgrade pip: higher version needed to install pyproject.toml based packages
&& pip install -U pip \
&& pip install --no-cache-dir \
click \
coverage \
flake8 \
pylint-odoo \
git+https://github.com/OCA/pylint-odoo.git@refs/pull/329/head \
six \
&& npm install --loglevel error --prefix /qa 'eslint@<6' \
&& deactivate \
Expand Down
4 changes: 3 additions & 1 deletion 12.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ RUN mkdir -p auto/addons auto/geoip custom/src/private \
COPY qa /qa
RUN python -m venv --system-site-packages /qa/venv \
&& . /qa/venv/bin/activate \
# HACK: Upgrade pip: higher version needed to install pyproject.toml based packages
&& pip install -U pip \
&& pip install --no-cache-dir \
click \
coverage \
flake8 \
pylint-odoo \
git+https://github.com/OCA/pylint-odoo.git@refs/pull/329/head \
six \
&& npm install --loglevel error --prefix /qa 'eslint@<7' \
&& deactivate \
Expand Down

0 comments on commit 68fd24e

Please sign in to comment.