Skip to content

Commit

Permalink
🔧 Make Python 10 and pip<24 is used to allow deps to be installed.
Browse files Browse the repository at this point in the history
joeribekker committed Sep 20, 2024

Verified

This commit was signed with the committer’s verified signature.
fpapon François Papon
1 parent c009dc3 commit 7ee45e9
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -48,6 +48,7 @@ jobs:
- name: Install dependencies
run: |
pip install "pip<24" -U
pip install -r requirements/setuptools.txt
pip install -r requirements/ci.txt
13 changes: 9 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -11,10 +11,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
pip install "pip<24" -U
pip install -r requirements/ci.txt
- uses: isort/[email protected]
with:
requirementsFiles: requirements/ci.txt
sortPaths: "src"
configuration: '--check-only --diff'

@@ -26,9 +29,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
pip install "pip<24" -U
pip install -r requirements/ci.txt
- name: Run black
run: |
@@ -42,9 +46,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install dependencies
run: |
pip install "pip<24" -U
pip install -r requirements/ci.txt
- name: Run flake8
run: |
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Ensure we use the latest version of pip
RUN pip install pip -U
RUN pip install "pip<24" -U
COPY ./requirements /app/requirements
RUN pip install -r requirements/setuptools.txt
RUN pip install -r requirements/production.txt

0 comments on commit 7ee45e9

Please sign in to comment.