From a7f3b22b1bf4764d6892a898063a4700c0ddb8ae Mon Sep 17 00:00:00 2001 From: Anna Shamray Date: Fri, 21 Jun 2024 15:59:53 +0200 Subject: [PATCH] :heavy_plus_sign: [#379] add Python3.11 to CI and docs --- .github/workflows/ci.yml | 2 +- .github/workflows/code-quality.yml | 4 ++-- Dockerfile | 2 +- INSTALL.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31157bad..db2064d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - uses: actions/setup-node@v4 with: node-version: '18' diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 2af193f9..75d6fed5 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - uses: isort/isort-action@v1 with: requirementsFiles: requirements/dev.txt @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | pip install -r requirements/dev.txt diff --git a/Dockerfile b/Dockerfile index 7a043135..f82901c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,7 +45,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libgdal-dev \ && rm -rf /var/lib/apt/lists/* -COPY --from=backend-build /usr/local/lib/python3.10 /usr/local/lib/python3.10 +COPY --from=backend-build /usr/local/lib/python3.11 /usr/local/lib/python3.11 COPY --from=backend-build /usr/local/bin/uwsgi /usr/local/bin/uwsgi COPY --from=backend-build /usr/local/bin/celery /usr/local/bin/celery diff --git a/INSTALL.rst b/INSTALL.rst index 69a23416..4542a611 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -18,7 +18,7 @@ Prerequisites You need the following libraries and/or programs: -* `Python`_ 3.10 or above +* `Python`_ 3.11 or above * Python `Virtualenv`_ and `Pip`_ * `PostgreSQL`_ 12 or above with PostGIS extension * `Node.js`_