From 08bb02baaf95a4eb3692fe4cc09fca299d073df7 Mon Sep 17 00:00:00 2001 From: rly Date: Wed, 3 Apr 2024 11:12:58 -0700 Subject: [PATCH 1/2] Fix issue importing scipy.special._cdflib in build --- nwb-guide.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nwb-guide.spec b/nwb-guide.spec index 67ba79cb4..eed83761b 100644 --- a/nwb-guide.spec +++ b/nwb-guide.spec @@ -12,7 +12,12 @@ from PyInstaller.utils.hooks import collect_all datas = [('./paths.config.json', '.'), ('./package.json', '.')] binaries = [] -hiddenimports = [ 'email_validator', *collect_submodules('scipy.special.cython_special'), *os.path.join(os.path.dirname(scipy.__file__), '.libs')] +hiddenimports = [ + 'email_validator', + *collect_submodules('scipy.special.cython_special'), + *collect_submodules('scipy.special._cdflib'), + *os.path.join(os.path.dirname(scipy.__file__), '.libs') +] datas += collect_data_files('jsonschema_specifications') tmp_ret = collect_all('dandi') From 0033ac6cd3a0843276001bd9fa76677c4831e96a Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Wed, 3 Apr 2024 14:32:50 -0400 Subject: [PATCH 2/2] try removing pin --- environments/environment-Windows.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/environments/environment-Windows.yml b/environments/environment-Windows.yml index 4066ffefd..fc1e15850 100644 --- a/environments/environment-Windows.yml +++ b/environments/environment-Windows.yml @@ -22,4 +22,3 @@ dependencies: - pytest == 7.2.2 - pytest-cov == 4.1.0 - scikit-learn == 1.4.0 - - scipy == 1.12.0