Skip to content

Commit

Permalink
Upgrade to python 3.11 (#19)
Browse files Browse the repository at this point in the history
* Upgrade to python 3.11

* Updated github action

* pinned python-pipenv image to 3.11
  • Loading branch information
KieranWardle authored Jan 17, 2024
1 parent 3e09b86 commit 611de04
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
username: _json_key
password: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}

- name: Set up Python "3.10"
- name: Set up Python "3.11"
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install Dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG python_pipenv_build_image=europe-west2-docker.pkg.dev/ons-ci-rm/docker/python-pipenv:3.10
ARG python_pipenv_build_image=europe-west2-docker.pkg.dev/ons-ci-rm/docker/python-pipenv:3.11
FROM ${python_pipenv_build_image} as build

ENV PIPENV_VENV_IN_PROJECT=1
Expand All @@ -8,7 +8,7 @@ COPY Pipfile* /app/

RUN /root/.local/bin/pipenv sync

FROM python:3.10.6-slim@sha256:ddfe4839f1516d0484944e07ea22200ede3d48828ecbf1f68eec1a9a06b79406
FROM python:3.11.7-slim@sha256:89c610d12fe12b3e06f35d070f79e57cf14e2bd89c071435ee3678419b691603

RUN groupadd -g 984 respondenthome && useradd -r -u 984 -g respondenthome respondenthome

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pytest = "*"
pytest-cov = "*"

[requires]
python_version = "3.10"
python_version = "3.11"
4 changes: 2 additions & 2 deletions Pipfile.lock

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

0 comments on commit 611de04

Please sign in to comment.