Skip to content

Commit

Permalink
Upgrade python version to 3.12 (#1015)
Browse files Browse the repository at this point in the history
* Upgrade python version to 3.12

* auto patch increment

---------

Co-authored-by: ras-rm-pr-bot <[email protected]>
  • Loading branch information
matthew-robinson-ons and ras-rm-pr-bot authored Dec 16, 2024
1 parent 50075d6 commit 2ad9f43
Show file tree
Hide file tree
Showing 7 changed files with 925 additions and 819 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
with:
fetch-depth: '0'
token: ${{ secrets.BOT_TOKEN }}
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Build
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim

RUN apt update && apt install -y build-essential curl
RUN pip install pipenv
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
url = "https://pypi.python.org/simple"

[requires]
python_version = "3.11"
python_version = "3.12"

[packages]
flask = "*"
Expand Down
1,728 changes: 917 additions & 811 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
User interface for Respondent Account Services

## Setup
Based on python 3.11
Based on python 3.12

Use [Pyenv](https://github.com/pyenv/pyenv) to manage installed Python versions

Expand Down
2 changes: 1 addition & 1 deletion _infra/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dockerfile specifically for kubernetes
FROM python:3.11-slim
FROM python:3.12-slim

RUN apt update && apt install -y build-essential curl gunicorn
RUN pip install pipenv
Expand Down
4 changes: 2 additions & 2 deletions _infra/helm/frontstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.5.34
version: 2.5.35

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.5.34
appVersion: 2.5.35

0 comments on commit 2ad9f43

Please sign in to comment.