From b170f3b083f7ca2571d697dd3a02b11474df541e Mon Sep 17 00:00:00 2001 From: mrava87 Date: Thu, 5 Oct 2023 21:19:38 +0300 Subject: [PATCH] minor: change setuptools version --- .github/workflows/build.yaml | 2 +- pyproject.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f01ddc96..761a9cb8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,7 +22,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip setuptools pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements-dev.txt; fi - name: Install pylops diff --git a/pyproject.toml b/pyproject.toml index 8fd8d67e..fc49b73e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ [build-system] -requires = ["setuptools", "setuptools-scm"] +requires = [ + "setuptools >= 65", + "setuptools_scm[toml]", + "wheel", +] build-backend = "setuptools.build_meta"