Skip to content

Commit

Permalink
Downgrade to Python 3.10 in favor of Django upgrades #1594
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Jun 10, 2024
1 parent 6caa13b commit c220a9c
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
python-version:
- '3.11' # @TODO: Bump me to 3.12 later
- '3.10' # @TODO: Bump me to 3.12 later
env:
# Do not log verbosely
DSMRREADER_LOGLEVEL: ERROR
Expand Down
5 changes: 3 additions & 2 deletions provisioning/container/Containerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
############################################################################

# Development app should run latest Python when possible.
ARG APP_PYTHON_VERSION="3.11"
ARG APP_PYTHON_VERSION="3.10"
# Docs should use whatever Python version ReadTheDocs runs.
ARG DOCS_PYTHON_VERSION="3.12"

Expand All @@ -20,7 +20,8 @@ RUN apk add --update \
mariadb-dev \
postgresql-client
ENV POETRY_VIRTUALENVS_IN_PROJECT=false
COPY ./src/pyproject.toml ./src/poetry.lock /app/
#COPY ./src/pyproject.toml ./src/poetry.lock /app/
COPY ./src/pyproject.toml /app/
RUN pip install poetry
RUN poetry self add poetry-plugin-export
RUN poetry install --no-root --with dev
Expand Down
42 changes: 40 additions & 2 deletions src/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = [


[tool.poetry.dependencies]
python = "^3.11 | ^3.12"
python = "^3.10 | ^3.11 | ^3.12"

coreapi = "^2.0"
crcmod = "^1.0"
Expand Down

0 comments on commit c220a9c

Please sign in to comment.