diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 317f0b0c..70f288f1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10",] + python-version: ["3.10", "3.11"] # TODO: also run on macos-latest pending docker/colima issue os: [ubuntu-latest] @@ -84,7 +84,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" cache: "pip" cache-dependency-path: "pyproject.toml" - name: Install dependencies @@ -101,7 +101,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" cache: "pip" cache-dependency-path: "pyproject.toml" - name: Install dependencies diff --git a/Dockerfile.api b/Dockerfile.api index 26906556..ec336ecc 100644 --- a/Dockerfile.api +++ b/Dockerfile.api @@ -1,11 +1,11 @@ -FROM python:3.10-slim AS base +FROM python:3.11-slim AS base ENV COLANDR_APP_DIR /app RUN mkdir -p ${COLANDR_APP_DIR} WORKDIR ${COLANDR_APP_DIR} RUN apt update \ - && apt install -y gcc git \ + && apt install -y g++ git \ && apt clean \ && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man diff --git a/Dockerfile.worker b/Dockerfile.worker index f9f107a3..302fefe4 100644 --- a/Dockerfile.worker +++ b/Dockerfile.worker @@ -1,11 +1,11 @@ -FROM python:3.10-slim AS base +FROM python:3.11-slim AS base ENV COLANDR_APP_DIR /app RUN mkdir -p ${COLANDR_APP_DIR} WORKDIR ${COLANDR_APP_DIR} RUN apt update \ - && apt install -y gcc git \ + && apt install -y g++ git \ && apt clean \ && rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man @@ -25,4 +25,4 @@ COPY . . CMD ["celery", "--app=make_celery.celery_app", "worker", "--loglevel=info"] -#CMD ["tail", "-f", "/dev/null"] \ No newline at end of file +#CMD ["tail", "-f", "/dev/null"] diff --git a/pyproject.toml b/pyproject.toml index e76cff52..27032faa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] dependencies = [ "alembic~=1.13.0",