Skip to content

Commit

Permalink
Merge pull request Tecnativa#566 from ap-wtioit/master-fix_11_0_gems_…
Browse files Browse the repository at this point in the history
…github

[FIX] 11.0: use execjs <2.9.1
  • Loading branch information
pedrobaeza authored Sep 20, 2023
2 parents ee3919d + d33df7f commit f83cf41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
- run: pip install poetry
- name: Patch $PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
# override pyyaml to 5.3.1 as PIP_CONSTRAINT does not work for poetry
# to get rid of AttributeError: cython_sources when installing pyyaml
- run: poetry add pyyaml==5.3.1
- run: poetry install
# Build images
- run: poetry run ./hooks/build
Expand Down
3 changes: 2 additions & 1 deletion 11.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ RUN ln -s /usr/bin/nodejs /usr/local/bin/node \
&& rm -Rf ~/.npm /tmp/*

# Special case to get bootstrap-sass, required by Odoo for Sass assets
RUN gem install --no-rdoc --no-ri --no-update-sources autoprefixer-rails --version '<9.8.6' \
RUN gem install --no-rdoc --no-ri --no-update-sources execjs --version '<2.9.1' \
&& gem install --no-rdoc --no-ri --no-update-sources autoprefixer-rails --version '<9.8.6' \
&& gem install --no-rdoc --no-ri --no-update-sources bootstrap-sass --version '<3.4' \
&& rm -Rf ~/.gem /var/lib/gems/*/cache/

Expand Down

0 comments on commit f83cf41

Please sign in to comment.