fix: PyYAML dependency install (check #183) (temporary) (#272)

* fix: PyYAML dependency install (check #183)

* misc: update gh-actions (versions, and add temporary patch)

* misc: revert to python 3.9
This commit is contained in:
Jeremy Chabernaud 2023-07-18 13:45:05 +02:00 committed by GitHub
parent ef32c66769
commit 4d9a5fdaad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -27,10 +27,11 @@ jobs:
- name: Run image - name: Run image
uses: abatilo/actions-poetry@v2.0.0 uses: abatilo/actions-poetry@v2.0.0
with: with:
poetry-version: 1.1.6 poetry-version: 1.2.2
- name: Preinstall dependencies (temporary)
run: poetry run pip install "Cython<3.0" "pyyaml==5.4.1" --no-build-isolation
- name: Install dependencies - name: Install dependencies
run: poetry install run: poetry install
- name: Django Testing project - name: Django Testing project
run: | run: |
cp TEMPLATE.env .env cp TEMPLATE.env .env

View File

@ -30,6 +30,7 @@ RUN apk add --no-cache postgresql-libs && \
# Install Python dependencies # Install Python dependencies
RUN poetry config virtualenvs.create false && \ RUN poetry config virtualenvs.create false && \
poetry run pip install "Cython<3.0" "pyyaml==5.4.1" --no-build-isolation && \
poetry install --no-dev --no-interaction --no-ansi poetry install --no-dev --no-interaction --no-ansi
# Cleanup dependencies & setup user group # Cleanup dependencies & setup user group