From 258afac5655e98c05d9b3709efa6324dc977cde6 Mon Sep 17 00:00:00 2001 From: Gertjan van Zwieten Date: Thu, 16 Nov 2023 11:53:32 +0100 Subject: [PATCH] set upper limit to mkl version MKL version 2024.0.0 that appeared on PyPi on Nov 14, 2023, triggers an as yet unexplained WinError exception on Windows. This patch limits the dependency to the most recent version before it, which is 2023.2.1 released Oct 19, 2023, until these problems are resolved. --- .github/workflows/test.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 261d50b67..d55085698 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -99,7 +99,7 @@ jobs: - name: Configure MKL if: ${{ matrix.matrix-backend == 'mkl' }} run: | - python -um pip install --upgrade --upgrade-strategy eager mkl + python -um pip install --upgrade --upgrade-strategy eager 'mkl<2024' python -um devtools.gha.configure_mkl - name: Test run: python -um coverage run -m unittest discover -b -q -t . -s tests diff --git a/pyproject.toml b/pyproject.toml index 2e039fdea..68d6f6e8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ [project.optional-dependencies] docs = ["Sphinx>=1.8"] export_mpl = ["matplotlib>=1.3", "pillow>2.6"] -matrix_mkl = ["mkl"] +matrix_mkl = ["mkl<2024"] matrix_scipy = ["scipy>=0.13"] import_gmsh = ["meshio"]