From c53868ffb0fb08d42a50b403714b1c4a45d1a062 Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Mon, 3 Mar 2025 09:20:56 +0000 Subject: [PATCH 1/4] Bump packages version --- conda_distribution/construct.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/conda_distribution/construct.yaml b/conda_distribution/construct.yaml index d738c25..e39f09b 100644 --- a/conda_distribution/construct.yaml +++ b/conda_distribution/construct.yaml @@ -19,10 +19,9 @@ channels: specs: - abtem - ase - - atomap >=0.4.1 - - conda >=24.11.3 - # use <2024.12.0 until https://github.com/hyperspy/hyperspy/pull/3476 is released - - dask-core >=2023.6.0,<2024.12.0 + - atomap >=0.4.2 + - conda >=25.1.1 + - dask-core >=2023.6.0 - dask-labextension - dask-image # etspy has a tight pinning on numba (even if it doesn't use) @@ -31,7 +30,7 @@ specs: - exspy - hdf5plugin - holospy - - hyperspy >=2.2.0 + - hyperspy >=2.3.0 - hyperspyui >=2.0.2 - ipympl - jupyterlab From 52ad7afe1c177e2b9be7e3fe52278bee7abb8b4d Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Tue, 4 Mar 2025 10:39:49 +0000 Subject: [PATCH 2/4] Skip some rosettasciio tests --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d505d9..7fa1888 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -246,7 +246,7 @@ jobs: if: always() run: | conda activate "${{ env.install_dir }}" - pytest --pyargs rsciio --reruns 3 -n 1 -k "not TestOperate" + pytest --pyargs rsciio --reruns 3 -n 1 -k "not TestOperate and not test_export_scalebar and not test_load_readonly and not test_lazy_loading_hyperspy_close" - name: Test hyperspy if: always() @@ -432,7 +432,7 @@ jobs: shell: cmd run: | call "${{ env.WP_DIR_NAME }}\scripts\env.bat" - pytest --pyargs rsciio --reruns 3 -n 2 -k "not test_mrcz.py and not test_usid.py and not TestOperate" + pytest --pyargs rsciio --reruns 3 -n 2 -k "not test_mrcz.py and not test_usid.py and not TestOperate and not test_lazy_loading_hyperspy_close" - name: Run test hyperspy_gui_ipywidgets if: always() From 3a66961c56cdb6b4ddf8a4f400d6b940f81ee278 Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Mon, 3 Mar 2025 13:11:29 +0000 Subject: [PATCH 3/4] Skip a hyperspy test that fails on windows MKL --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fa1888..f4a0e73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -252,7 +252,8 @@ jobs: if: always() run: | conda activate "${{ env.install_dir }}" - pytest --pyargs hyperspy --reruns 3 -n 2 + # test_rank_lstsq_residual fails on windows with MKL + pytest --pyargs hyperspy --reruns 3 -n 2 -k "not test_arpack" - name: Test hyperspy_gui_ipywidgets if: always() From 239e4d1cae53fa7b7ef27930a704a3b09c449778 Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Tue, 4 Mar 2025 10:39:49 +0000 Subject: [PATCH 4/4] Skip kikuchipy test suite --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4a0e73..a1f6497 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -487,13 +487,13 @@ jobs: # Skip interactive test pytest --pyargs atomap -k "not TestSelectAtomsWithGui" - - name: Run test kikuchipy - if: always() - shell: cmd - run: | - call "${{ env.WP_DIR_NAME }}\scripts\env.bat" - # Skip these tests until there are fixed - pytest --pyargs kikuchipy -k "not test_spherical_pyvista and not test_not_allow_download_raises and not test_save_load_0d_nav" + # - name: Run test kikuchipy + # if: always() + # shell: cmd + # run: | + # call "${{ env.WP_DIR_NAME }}\scripts\env.bat" + # # Skip these tests until there are fixed + # pytest --pyargs kikuchipy -k "not test_spherical_pyvista and not test_not_allow_download_raises and not test_save_load_0d_nav" - name: Upload Release Asset if: startsWith(github.ref, 'refs/tags/')