Skip to content

Commit

Permalink
WIP: Check PySide6 and SciPy
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 7, 2025
1 parent 5930214 commit 0e4d5f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ dependencies:
- pyarrow
- pybv
- pymatreader
- PySide6 !=6.8.0,!=6.8.0.1
- PySide6 !=6.8.1,!=6.8.0,!=6.8.0.1
- python-neo
- python-picard
- pyvista >=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0
- pyvistaqt >=0.4
- qdarkstyle !=3.2.2
- qtpy
- scikit-learn
- scipy >=1.11
- scipy >=1.11,<1.15.0
- sip
- snirf
- statsmodels
Expand Down
4 changes: 3 additions & 1 deletion tools/hooks/update_environment_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def split_dep(dep):
# PySide6==6.7.0 only exists on PyPI, not conda-forge, so excluding it in
# `environment.yaml` breaks the solver
if package_name == "PySide6":
version_spec = version_spec.replace("!=6.7.0,", "")
version_spec = version_spec.replace("!=6.7.0,", "!=6.8.1,")
elif package_name == "scipy":
version_spec = f"{version_spec},<1.15.0"
# 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 0e4d5f5

Please sign in to comment.