From 27a84d23455cde5ab9c8b9f6277030787e652d2c Mon Sep 17 00:00:00 2001 From: offa Date: Thu, 19 Oct 2023 12:03:14 +0000 Subject: [PATCH] Fix Python 3.12 build (#1263) --- Dockerfile.qa | 1 + tox.ini | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.qa b/Dockerfile.qa index bbb1a9dd9..310c015dd 100644 --- a/Dockerfile.qa +++ b/Dockerfile.qa @@ -57,6 +57,7 @@ RUN apt-get clean WORKDIR /atlassian-python-api COPY requirements.txt . COPY requirements-dev.txt . +RUN python3 -m pip install --no-cache-dir --upgrade setuptools RUN python3 -m pip install --no-cache-dir --upgrade pip RUN python3 -m pip install --no-cache-dir --upgrade wheel RUN python3 -m pip install --no-cache-dir -r requirements-dev.txt diff --git a/tox.ini b/tox.ini index c07580686..00a00c6a4 100644 --- a/tox.ini +++ b/tox.ini @@ -23,9 +23,7 @@ basepython = python3 exclude = __pycache__ skip_install = true deps = - importlib-metadata<=4.13.0 flake8 - flake8-no-fstring commands = flake8 {[base]linting_targets} [testenv:pylint]