Skip to content

Conversation

@katemartian
Copy link
Collaborator

@katemartian katemartian commented Sep 23, 2025

@katemartian katemartian marked this pull request as draft September 23, 2025 18:27
shell: cmd
run: |
venv\Scripts\python -m pip install --upgrade pip
venv\Scripts\pip install --constraint Deploy\constraints\pins.txt h5py pyinstaller suite2p
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to be suite2p==0.14.4

Because of this PR: MouseLand/suite2p@be8830d#diff-201e3e4b116e5c43900968776b7d6c708708c22c8436c8e5488b48327f212fd6R181

Someone is doing a PR to fix that problem MouseLand/suite2p#1195

Comment on lines 39 to 59
for dyn_pkg, dest in [
('llvmlite', os.path.join('Library', 'bin')),
('scipy', os.path.join('scipy', '.libs')),
('h5py', '.'),
('SimpleITK', '.'),
('cv2', '.'),
]:
try:
binaries += collect_dynamic_libs(dyn_pkg, destdir=dest)
except ImportError:
pass

conda_prefix = os.environ.get('MINIAN_CONDA_PREFIX') or os.environ.get('CONDA_PREFIX')
if conda_prefix:
library_bin = Path(conda_prefix) / 'Library' / 'bin'
if library_bin.is_dir():
dll_patterns = [
'hdf*.dll',
'hdf5*.dll',
]
seen = set()
Copy link
Collaborator

@4D42 4D42 Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I comments the hdf5 stuff like that

for dyn_pkg, dest in [
    ('llvmlite', os.path.join('Library', 'bin')),
    ('scipy', os.path.join('scipy', '.libs')),
   # ('h5py', '.'),
    ('SimpleITK', '.'),
    ('cv2', '.'),
]:
    try:
        binaries += collect_dynamic_libs(dyn_pkg, destdir=dest)
    except ImportError:
        pass

conda_prefix = os.environ.get('MINIAN_CONDA_PREFIX') or os.environ.get('CONDA_PREFIX')
if conda_prefix:
    library_bin = Path(conda_prefix) / 'Library' / 'bin'
    if library_bin.is_dir():
        dll_patterns = [
            # 'hdf*.dll',
            # 'hdf5*.dll',
        ]
        seen = set()

Everything work. I don't have the hdf5 error anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works with Github Actions?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test the Github actions. Some how I don't have the right to edit this file and push it :(

@katemartian
Copy link
Collaborator Author

@kapilseh @4D42 all release should work now! -- ready for re-test/re-review

@katemartian katemartian requested a review from 4D42 November 6, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants