Skip to content

Commit

Permalink
build: fix Github Action specific pip
Browse files Browse the repository at this point in the history
Use specific version of pip to fix the GitHub Action build.
  • Loading branch information
igobranco committed Jul 12, 2024
1 parent 939b1d4 commit 0ae8073
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,18 @@ jobs:
path: ecommerce

- name: Use Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip' # caching pip dependencies


- name: Install specific pip version
# Requested celery==4.4.7 from https://files.......... (from -r ecommerce/requirements/dev.txt (line 73)) has invalid metadata: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier
# pytz (>dev)
# ~^
# Please use pip<24.1 if you need to use this version.
run: pip install "pip<24.1"

- name: Install ecommerce pip requirements
run: pip install -r ecommerce/requirements/dev.txt

Expand Down

0 comments on commit 0ae8073

Please sign in to comment.