Skip to content

Commit

Permalink
MAINT: Skip problematic version
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Nov 1, 2024
1 parent 4a61d42 commit 8cace5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
- nilearn
- numba
- numpy >=1.23,<3
- openmeeg >=2.5.5
- openmeeg =2.5.12=*_1
- packaging
- pandas
- pillow
Expand Down
3 changes: 3 additions & 0 deletions tools/hooks/update_environment_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ def split_dep(dep):
# `environment.yaml` breaks the solver
if package_name == "PySide6":
version_spec = version_spec.replace("!=6.7.0,", "")
# openmeeg 2.5.12=*_2 is broken, so pin to 2.5.12=*_1
if package_name == "openmeeg":
version_spec = "=2.5.12=*_1"
# rstrip output line in case `version_spec` == ""
line = f" - {package_name} {version_spec}".rstrip()
# use pip for packages needing e.g. `platform_system` or `python_version` triaging
Expand Down

0 comments on commit 8cace5a

Please sign in to comment.