From d6dda8767ebef72dab9f9cf0eccd0e4138526390 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Tue, 18 Jun 2024 11:39:00 -0400 Subject: [PATCH 1/2] upgrade to python 3.12 --- .python-version | 2 +- Dockerfile | 4 ++-- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.python-version b/.python-version index b6d8b76..455808f 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11.8 +3.12.4 diff --git a/Dockerfile b/Dockerfile index 1258eac..b4ce493 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.8-slim-bullseye as build +FROM python:3.12.4-slim-bookworm as build RUN set -x \ && python3 -m venv /opt/conveyor @@ -22,7 +22,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \ install -r /tmp/requirements.txt -FROM python:3.11.8-slim-bullseye +FROM python:3.12.4-slim-bookworm ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 diff --git a/tox.ini b/tox.ini index ec6e900..2071b0e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py311 +envlist = py312 skipsdist = True [testenv] From 9007453573a43ba51842d7899613427ce3b6a8aa Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Tue, 18 Jun 2024 11:40:45 -0400 Subject: [PATCH 2/2] upgrade dependencies closes #27 closes #28 closes #29 --- requirements.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index 56815be..4f3f262 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # pip-compile --allow-unsafe --output-file=requirements.txt requirements.in # -aiobotocore==2.12.1 +aiobotocore==2.13.0 # via -r requirements.in -aiohttp==3.9.3 +aiohttp==3.9.5 # via # -r requirements.in # aiobotocore @@ -16,15 +16,15 @@ aiosignal==1.3.1 # via aiohttp attrs==23.2.0 # via aiohttp -botocore==1.34.51 +botocore==1.34.106 # via aiobotocore frozenlist==1.4.1 # via # aiohttp # aiosignal -gunicorn==21.2.0 +gunicorn==22.0.0 # via -r requirements.in -idna==3.6 +idna==3.7 # via yarl jmespath==1.0.1 # via botocore @@ -32,7 +32,7 @@ multidict==6.0.5 # via # aiohttp # yarl -packaging==23.2 +packaging==24.1 # via # -r requirements.in # gunicorn @@ -40,7 +40,7 @@ python-dateutil==2.9.0.post0 # via botocore six==1.16.0 # via python-dateutil -urllib3==2.0.7 +urllib3==2.2.2 # via botocore wrapt==1.16.0 # via aiobotocore