Skip to content

Commit

Permalink
CI: Try fix deps #1196
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jun 10, 2024
1 parent bcc9c38 commit 8451ff0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:

- name: Install dependencies
run: |
cp ./src/pyproject.toml .
cp ./src/poetry.lock .
pip install --upgrade pip poetry
poetry config virtualenvs.in-project true
poetry check
poetry self add poetry-plugin-export
poetry install --no-root --with dev
- name: Check flake8
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx==5.3.0
sphinx-rtd-theme==2.0.0
sphinx-autobuild==2024.2.4
sphinx-intl==2.1.0
sphinx-rtd-theme==2.0.0
3 changes: 1 addition & 2 deletions provisioning/container/Containerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ RUN apk add --update \
mariadb-dev \
postgresql-client
ENV POETRY_VIRTUALENVS_IN_PROJECT=false
COPY ./src/pyproject.toml ./src/poetry.lock /app/
RUN pip install poetry
RUN poetry self add poetry-plugin-export
RUN poetry install --no-root --with dev
RUN poetry install --no-root --with dev --without docs
EXPOSE 8000
ENTRYPOINT poetry run python manage.py runserver 0.0.0.0:8000

Expand Down
6 changes: 3 additions & 3 deletions src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ pytest-django = "^4.0"
pytest-xdist = "^3.0"
mysqlclient = "^2.0"
safety = "^2.0"
sphinx = "^4.0"
sphinx-autobuild = "^2021.0"
sphinx = "^4.0 || ^5.0"
sphinx-autobuild = "^2021.0 ||^2024.0"
sphinx-intl = "^2.0"
sphinx-rtd-theme = "^1.0"
sphinx-rtd-theme = "^1.0 || ^2.0"
mypy = "^1.0"
types-pytz = "^2023.0"
types-requests = "^2.0"
Expand Down

0 comments on commit 8451ff0

Please sign in to comment.