From 6832df3cfb25bf59a8c6b05453c3381ef5349e59 Mon Sep 17 00:00:00 2001 From: kvrigor Date: Tue, 10 Sep 2024 11:42:26 +0200 Subject: [PATCH 1/2] Add --no-cache-dir to ensure h5py is never installed from cache --- .github/workflows/continuous-integration.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 6181f9861..e692c7448 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -142,7 +142,7 @@ jobs: export CC="mpicc" export HDF5_MPI="ON" python -m pip install -r requirements.txt - python -m pip install -r requirements_extra.txt --no-build-isolation + python -m pip install -r requirements_extra.txt --no-build-isolation --no-cache-dir python -m pip list - name: Check parallel h5py installation diff --git a/README.md b/README.md index c35348982..e6fb46bfb 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ export HDF5_MPI="ON" python3 -m pip install --upgrade pip python3 -m pip install -r requirements.txt -python3 -m pip install -r requirements_extra.txt --no-build-isolation +python3 -m pip install -r requirements_extra.txt --no-build-isolation --no-cache-dir ``` At this point the Psydac library may be installed in **standard mode**, which copies the relevant files to the correct locations of the virtual environment, or in **development mode**, which only installs symbolic links to the Psydac directory. The latter mode allows one to effect the behavior of Psydac by modifying the source files. From e0e47475efdf9f2c6bfad65454e8d43c849fda27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaman=20G=C3=BC=C3=A7l=C3=BC?= Date: Thu, 12 Sep 2024 15:53:07 +0200 Subject: [PATCH 2/2] Run tests on Linux with all Python versions --- .github/workflows/continuous-integration.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e692c7448..5f7d53af8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -19,9 +19,9 @@ jobs: python-version: [ 3.9, '3.10', '3.11', '3.12' ] isMerge: - ${{ github.event_name == 'push' && github.ref == 'refs/heads/devel' }} - exclude: - - { isMerge: false, python-version: '3.10' } - - { isMerge: false, python-version: '3.11' } + #exclude: + # - { isMerge: false, python-version: '3.10' } + # - { isMerge: false, python-version: '3.11' } include: - os: macos-latest python-version: '3.10'