From a6abe982b8f46b095339c6ed341f1b3793f3a9ba Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Wed, 27 Nov 2024 09:33:30 +0000 Subject: [PATCH] ci: Use --no-build-isolation to instal cgat As [suggested](https://github.com/cgat-developers/cgat-apps/issues/134#issuecomment-2497400890) attempting to install dependencies (and in one instance `IsoSLAM` itself) with the `--no-build-isolation` flag in the hope that NumPy is correctly detected by `cgat` when it is built and installed. --- .github/workflows/sphinx_docs_to_gh_pages.yaml | 2 +- .github/workflows/tests.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sphinx_docs_to_gh_pages.yaml b/.github/workflows/sphinx_docs_to_gh_pages.yaml index 7550757..f8d0521 100644 --- a/.github/workflows/sphinx_docs_to_gh_pages.yaml +++ b/.github/workflows/sphinx_docs_to_gh_pages.yaml @@ -24,7 +24,7 @@ jobs: python-version: 3.11 - name: Installing the Documentation requirements run: | - pip3 install .[docs] + pip3 install --no-build-isolation .[docs] - name: Running Sphinx to gh-pages Action # Uncomment if only tagged releases are to have documentation built # if: startsWith(github.ref, 'refs/tags') diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 08eebc6..09fd4fb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,8 +42,8 @@ jobs: virtualenv --upgrade-embed-wheels pip install numpy pip show numpy - pip install cgatcore - pip install cgat + pip install --no-build-isolation cgatcore + pip install --no-build-isolation cgat pip install -e .[tests] - name: Test with pytest run: |