diff --git a/.python-version b/.python-version index bd28b9c..2c07333 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9 +3.11 diff --git a/Dockerfile b/Dockerfile index eb65e6d..811089e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # The builder image, used to build the virtual environment -FROM python:3.9-bookworm as builder +FROM python:3.11-buster as builder RUN apt-get update && \ apt-get install -y libkrb5-dev libsasl2-dev libldap2-dev libssl-dev && \ @@ -22,7 +22,7 @@ RUN poetry install --no-root && \ rm -rf $POETRY_CACHE_DIR # The runtime image, used to just run the code provided its virtual environment -FROM python:3.9-slim-bookworm as runtime +FROM python:3.11-slim-buster as runtime RUN apt-get update && \ apt-get install -y libldap2-dev krb5-user libxml2 --no-install-recommends && \ rm -rf /var/lib/apt/lists/* diff --git a/poetry.lock b/poetry.lock index 2a6b142..70856dd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -202,12 +202,12 @@ pyasn1_modules = ">=0.1.5" [[package]] name = "uwsgi" -version = "2.0.18" +version = "2.0.22" description = "The uWSGI server" optional = false python-versions = "*" files = [ - {file = "uwsgi-2.0.18.tar.gz", hash = "sha256:4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583"}, + {file = "uwsgi-2.0.22.tar.gz", hash = "sha256:4cc4727258671ac5fa17ab422155e9aaef8a2008ebb86e4404b66deaae965db2"}, ] [[package]] @@ -242,5 +242,5 @@ locale = ["Babel (>=1.3)"] [metadata] lock-version = "2.0" -python-versions = "~3.9" -content-hash = "616abf1d52f6061fb3883ceba7ca4b824caedb1f9e354e5bfe4171a7a83d04b9" +python-versions = "~3.11" +content-hash = "43c28130d297e78b025890027b0c147309f3b61b93b458cc9e5bbfa92bb982c6" diff --git a/pyproject.toml b/pyproject.toml index a2848c6..18ceceb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [] readme = "README.md" [tool.poetry.dependencies] -python = "~3.9" +python = "~3.11" Flask = "1.1.1" Flask-WTF = "0.14.2" itsdangerous = "1.1.0" @@ -14,7 +14,7 @@ Jinja2 = "2.10.3" kerberos = "1.3.0" MarkupSafe = "1.1.1" python-ldap = "3.2.0" -uWSGI = "2.0.18" +uWSGI = "^2.0" Werkzeug = "0.16.0" WTForms = "2.2.1"