Skip to content

Commit

Permalink
set upper limit to mkl version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gertjanvanzwieten committed Nov 16, 2023
1 parent c8f47a3 commit 258afac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 258afac

Please sign in to comment.