From 05ce37bd5c875c5f5c8599142a8b9d876a88a1bc Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Wed, 1 Jul 2026 14:46:20 +0200 Subject: [PATCH 1/2] Fix pyinstaller build for upcoming mpmath --- launcher.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/launcher.spec b/launcher.spec index 43f3d9df9..4bb2ecafe 100644 --- a/launcher.spec +++ b/launcher.spec @@ -97,6 +97,7 @@ hiddenimports = ( "PartSegCore.napari_io", "tzdata", "scipy._external.array_api_compat.numpy.fft", + "mpmath.libmp", ] + [x.module_name for x in imageio_known_plugins.values()] + [x for x in collect_submodules("skimage") if "tests" not in x] From c9e24a4c21b727a4d594f279a8900f8821b96e86 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Wed, 1 Jul 2026 15:20:06 +0200 Subject: [PATCH 2/2] exclude mpmath version --- launcher.spec | 1 - requirements/version_denylist.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher.spec b/launcher.spec index 4bb2ecafe..43f3d9df9 100644 --- a/launcher.spec +++ b/launcher.spec @@ -97,7 +97,6 @@ hiddenimports = ( "PartSegCore.napari_io", "tzdata", "scipy._external.array_api_compat.numpy.fft", - "mpmath.libmp", ] + [x.module_name for x in imageio_known_plugins.values()] + [x for x in collect_submodules("skimage") if "tests" not in x] diff --git a/requirements/version_denylist.txt b/requirements/version_denylist.txt index f07c6a824..80dd2a5f1 100644 --- a/requirements/version_denylist.txt +++ b/requirements/version_denylist.txt @@ -5,3 +5,4 @@ PySide6 != 6.4.3, !=6.5.0, !=6.5.1, !=6.5.1.1, !=6.5.2; python_version >= '3.10' npe2!=0.2.2 imageio != 2.22.1 pytest-qt!=4.5.0 +mpmath!=1.5.0a0