diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2e7a8adc..01cf1705 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,7 +23,7 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements-dev.txt; fi - name: Install pylops run: | - git fetch --all --tags + git pull --tags python -m setuptools_scm pip install . - name: Test with pytest diff --git a/pyproject.toml b/pyproject.toml index 848c54c8..4deee5a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,9 @@ [build-system] -requires = ["setuptools>=60", "setuptools-scm>=8.0"] +requires = [ + "setuptools >= 65", + "setuptools_scm[toml]", + "wheel", +] build-backend = "setuptools.build_meta" [project]