From 243ec771de1b49ac854bc3bd7d1cea22f4b77cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 19 Nov 2023 12:50:40 +0100 Subject: [PATCH] Require python 3.12 Probably not strictly necessary but I don't want to test with many versions. --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10eb297..734846f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.10", "3.11" ] + python-version: ["3.12"] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/Dockerfile b/Dockerfile index 79c1870..dd2ebe0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10 +FROM python:3.12 LABEL maintainer="Stéphane Bidoul" diff --git a/pyproject.toml b/pyproject.toml index 42038d4..cb0fdc3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ dependencies = [ "sse-starlette", "uvicorn", ] +requires-python = "==3.12.*" dynamic = ["version", "description"] [project.optional-dependencies]