From bd9363524890a043bb4431b205aaaad6d2894f4e Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Wed, 4 Mar 2026 11:51:59 -0500 Subject: [PATCH] Upgrade PyInstaller from 6.7.0 to 6.14.2 PyInstaller 6.11.0 modernized the numpy hook for numpy 1.24-2.x, and 6.14.1 added numpy 2.3.0 compatibility. This fixes the ModuleNotFoundError for numpy._core._exceptions when bundling with numpy 2.x. Also removes the pyinstaller-hooks-contrib==2024.6 pin on Windows, as PyInstaller 6.14.2 bundles compatible hooks that handle pydantic v2. Co-Authored-By: Claude Opus 4.6 --- environments/environment-MAC-apple-silicon.yml | 2 +- environments/environment-MAC-intel.yml | 2 +- environments/environment-Windows.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/environments/environment-MAC-apple-silicon.yml b/environments/environment-MAC-apple-silicon.yml index 32706a986..91b604adf 100644 --- a/environments/environment-MAC-apple-silicon.yml +++ b/environments/environment-MAC-apple-silicon.yml @@ -14,7 +14,7 @@ dependencies: - pip - pip: - setuptools==70.0.0 - - PyInstaller==6.7.0 + - PyInstaller==6.14.2 - chardet == 5.1.0 - configparser == 6.0.0 - flask == 2.3.2 diff --git a/environments/environment-MAC-intel.yml b/environments/environment-MAC-intel.yml index 0802c33dc..19f301be4 100644 --- a/environments/environment-MAC-intel.yml +++ b/environments/environment-MAC-intel.yml @@ -10,7 +10,7 @@ dependencies: - pip - pip: - setuptools==70.0.0 - - PyInstaller==6.7.0 + - PyInstaller==6.14.2 - chardet == 5.1.0 - configparser == 6.0.0 - flask == 2.3.2 diff --git a/environments/environment-Windows.yml b/environments/environment-Windows.yml index 5d300c3cd..3662a2534 100644 --- a/environments/environment-Windows.yml +++ b/environments/environment-Windows.yml @@ -10,8 +10,7 @@ dependencies: - pip - pip: - setuptools==70.0.0 - - PyInstaller==6.7.0 - - pyinstaller-hooks-contrib == 2024.6 # Fix needed for pydantic v2; otherwise imports pydantic.compiled + - PyInstaller==6.14.2 - chardet == 5.1.0 - configparser == 6.0.0 - flask == 2.3.2