From c11873fe243820202e8ebe9cf21104757e60e863 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sun, 3 Sep 2023 22:03:28 +0200 Subject: [PATCH] Python 3.12: Update `pip` and `setuptools` --- .github/workflows/tests.yml | 5 +++-- Makefile | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5798d6a..57f07a6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,9 +48,10 @@ jobs: cache: 'pip' cache-dependency-path: 'setup.py' - - name: Install program + - name: Setup Project run: | - pip install --editable=.[test] + pip install pip 'setuptools>=64' --upgrade + pip install --editable='.[test]' - name: Run tests run: | diff --git a/Makefile b/Makefile index 2a1b4ba..555d139 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ $(eval isort := $(venvpath)/bin/isort) # Setup Python virtualenv setup-virtualenv: @test -e $(python) || python3 -m venv $(venvpath) + @(pip) install --upgrade setuptools # -------