Skip to content

optimise dev env: use pre-built binaries and align with setup.py#1410

Open
qin-yu wants to merge 2 commits intoMouseLand:mainfrom
qin-yu:qy/update-env
Open

optimise dev env: use pre-built binaries and align with setup.py#1410
qin-yu wants to merge 2 commits intoMouseLand:mainfrom
qin-yu:qy/update-env

Conversation

@qin-yu
Copy link
Contributor

@qin-yu qin-yu commented Feb 24, 2026

Hi @mrariden, this PR updates environment.yml to make the development setup more robust.

  1. pip install cellpose[gui] can fail on HPC systems because PyQt and other compiled dependencies are built from source. I encountered this on the Crick HPC cluster, and similar issues have appeared in past discussions. I therefore moved as many compiled dependencies as possible to conda-forge to rely on pre-built binaries and avoid toolchain-related failures. This also fixes imagecodecs build failures on macOS.
  2. Added missing dependencies such as superqt.
  3. Updated some package pins to better align with setup.py and the README.

Tested on Francis Crick Institute HPC cluster (Rocky Linux, no build tools) and macOS (Apple Silicon).

…etup.py

Switch from pip to conda-forge for complex dependencies to avoid compilation
failures. Update Python to >=3.9,<3.12 and add missing packages.

Enables development setup on HPC clusters and systems without build tools.
@qin-yu
Copy link
Contributor Author

qin-yu commented Feb 25, 2026

#1411 passed all checks.

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.03%. Comparing base (f2e2950) to head (a515211).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1410   +/-   ##
=======================================
  Coverage   42.03%   42.03%           
=======================================
  Files          16       16           
  Lines        3771     3771           
=======================================
  Hits         1585     1585           
  Misses       2186     2186           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant