From ca235a745a8d3352b9a62986ec88e218bb0daae1 Mon Sep 17 00:00:00 2001 From: Henrik Stranneheim Date: Thu, 7 Mar 2024 16:02:53 +0100 Subject: [PATCH] feat(python): Update (#96) ### Changed - Update to python 3.11 --- .github/workflows/black.yml | 2 +- Dockerfile | 3 +-- setup.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index c49d2e7..e7f3863 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Set up Black uses: psf/black@stable diff --git a/Dockerfile b/Dockerfile index ddef77c..156948d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ -FROM python:3.10-slim-bullseye +FROM docker.io/library/python:3.11-slim-bullseye as base -LABEL base_image="python:3.10-slim" LABEL about.home="https://github.com/Clinical-Genomics/genotype-api" LABEL about.tags="CG Core database and API" diff --git a/setup.py b/setup.py index 6adc575..fcf739b 100644 --- a/setup.py +++ b/setup.py @@ -29,5 +29,5 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - python_requires=">=3.10", + python_requires=">=3.11", )