From eaabc76701e4cb667c3ad2ee11f57ac62bb7eaa8 Mon Sep 17 00:00:00 2001 From: nennigb Date: Thu, 3 Oct 2024 09:13:25 +0200 Subject: [PATCH] Limite setuptools in ci-windows.yml. --- .github/workflows/ci-windows.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index c17308b..321e415 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -19,7 +19,7 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: activate-environment: polsys_env - python-version: 3.8 + python-version: 3.11 auto-activate-base: false miniconda-version: "latest" auto-update-conda: true @@ -35,7 +35,9 @@ jobs: - name: Build shell: bash -l {0} run: | - # Ignore `pyproject.toml` to avoid conda/pip mix in numpy version + # Limit setuptools version because of numpy.distutils + python -m pip install setuptools==60.0.0 + # Ignore `pyproject.toml` to avoid conda/pip mix in numpy version python -m pip install -e . --no-use-pep517 # Show f2py compiler info for debug f2py -c --help-fcompiler