From 955bf5edfd393ceedb8934f61d4b374c6afa733f Mon Sep 17 00:00:00 2001 From: Judith Bernett Date: Mon, 13 Jan 2025 13:29:15 +0100 Subject: [PATCH] new dockerfile with updated python and poetry version --- Dockerfile | 8 ++++---- docs/conf.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6bb902c..b23f278 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,9 @@ # https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0 # The builder image, used to build the virtual environment -FROM python:3.10-buster as builder +FROM python:3.11-buster as builder -RUN pip install poetry==1.8.4 +RUN pip install poetry==2.0.0 # POETRY_CACHE_DIR: When removing the cache folder, make sure this is done in the same RUN command. If it’s done in a # separate RUN command, the cache will still be part of the previous Docker layer (the one containing poetry install ) @@ -25,13 +25,13 @@ RUN touch README.md RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR # The runtime image, used to run the code -FROM python:3.10-slim-buster as runtime +FROM python:3.11-slim-buster as runtime LABEL image.author.name="Judith Bernett" LABEL image.author.email="judith.bernett@tum.de" # Copy installed dependencies from the builder image -COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages +COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages COPY --from=builder /usr/local/bin /usr/local/bin # Copy all relevant code diff --git a/docs/conf.py b/docs/conf.py index cd7d4f9..1baa605 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,9 +56,9 @@ # the built documents. # # The short X.Y version. -version = "1.1.0" +version = "1.1.1" # The full version, including alpha/beta/rc tags. -release = "1.1.0" +release = "1.1.1" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index 177a436..8447a56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "drevalpy" -version = "1.1.0" +version = "1.1.1" description = "Drug response evaluation of cancer cell line drug response models in a fair setting" authors = ["DrEvalPy development team"] license = "GPL-3.0"