From 364df19138e6895ab467a1b24efb562b3dbc5f7d Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Fri, 17 Nov 2023 16:11:49 -0800 Subject: [PATCH] ci: use pip install -e rather than setup.py to pick up build reqs --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97ee61f9..a885960c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,8 +28,7 @@ jobs: run: | pip install ruff pytest black mpi4py pyinstrument psutil pytest-lazy-fixture pip install -r requirements.txt - python setup.py develop - pip install .[compression] + pip install -e .[compression] - name: Run ruff (flake8 and pydocstyle) run: ruff check . @@ -64,7 +63,7 @@ jobs: pip install zarr==2.11.3 pip install mpi4py numcodecs>=0.7.3 bitshuffle pip install pytest pytest-lazy-fixture - python setup.py develop + pip install -e . - name: Run serial tests run: pytest --doctest-modules caput/ @@ -97,7 +96,7 @@ jobs: run: | pip install -r requirements.txt pip install -r doc/requirements.txt - python setup.py develop + pip install -e . - name: Build sphinx docs run: sphinx-build -W -b html doc/ doc/_build/html