diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index cc736f75..e9aa43c3 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -21,10 +21,10 @@ jobs: --health-retries 5 steps: - uses: actions/checkout@v4 - - name: Python 3.12 Setup + - name: Python 3.13 Setup uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Install dependencies run: | sudo apt-get update diff --git a/README.md b/README.md index 4390078d..d04e5c5e 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ You'll need to replace `police-data-trust-api-1` with the name of the container docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c0cf******** police-data-trust-api "/bin/sh -c '/wait &…" About a minute ago Up About a minute 0.0.0.0:5001->5001/tcp police-data-trust-api-1 -5e6f******** postgres:16 "docker-entrypoint.s…" 3 days ago Up About a minute 0.0.0.0:5432->5432/tcp police-data-trust-db-1 +5e6f******** postgres:17 "docker-entrypoint.s…" 3 days ago Up About a minute 0.0.0.0:5432->5432/tcp police-data-trust-db-1 dacd******** police-data-trust-web "docker-entrypoint.s…" 3 days ago Up About a minute 0.0.0.0:3000->3000/tcp police-data-trust-web-1 ``` diff --git a/docs/src/setup.md b/docs/src/setup.md index 5bc45f59..975addc3 100644 --- a/docs/src/setup.md +++ b/docs/src/setup.md @@ -12,7 +12,7 @@ Install all of the following programs onto your computer: **Required:** -- [Python 3.12](https://www.python.org/downloads/) +- [Python 3.13](https://www.python.org/downloads/) - [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) (first time setup guide [here](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup)) - [Postgres](https://www.postgresql.org/) _(see installation instructions below)_ - _(OSX only)_ [Homebrew](https://brew.sh/) diff --git a/requirements/Dockerfile b/requirements/Dockerfile index d1f26a80..c032d156 100644 --- a/requirements/Dockerfile +++ b/requirements/Dockerfile @@ -2,7 +2,7 @@ # requirements, so this image starts with the same image as the database # containers and installs the same version of python as the api containers -FROM postgres:16 as base +FROM postgres:17 as base RUN apt-get update && apt-get install -y \ make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \ @@ -15,7 +15,7 @@ SHELL ["bash", "-lc"] RUN curl https://pyenv.run | bash && \ echo 'export PATH="$HOME/.pyenv/shims:$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc -ENV PYTHON_VERSION=3.12.5 +ENV PYTHON_VERSION=3.13.0 RUN pyenv install ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION} RUN pip install -U pip-tools diff --git a/runtime.txt b/runtime.txt index 8a7cba52..dae7fec9 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.12.5 +python-3.13.0