Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation Tips #1962

Merged
merged 15 commits into from
Sep 13, 2023
Merged
33 changes: 33 additions & 0 deletions .github/workflows/installation-tips-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Creates Conda Install for Installation Tips

on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0" # Weekly at noon UTC on Sundays

jobs:
installation-tips-testing:
name: Build Conda Env on ${{ matrix.os }} OS
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
label: linux_dandi
- os: macos-latest
label: mac
- os: windows-latest
label: windows
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Test Conda Environment Creation
uses: conda-incubator/[email protected]
with:
environment-file: ./installations_tips/full_spikeinterface_environment_${{ matrix.label }}.yml
4 changes: 2 additions & 2 deletions installation_tips/check_your_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def _clean():
try:
func()
done = '...OK'
except:
done = '...Fail'
except Exception as err:
done = f'...Fail, Error: {err}'
print(label, done)

if platform.system() == "Windows":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.9
- python=3.10
- pip>=21.0
- mamba
# numpy 1.22 break numba which break tridesclous
- numpy<1.22
# joblib 1.2 is breaking hdbscan
- joblib=1.1
- joblib
- tqdm
- matplotlib
- h5py
Expand All @@ -31,12 +29,11 @@ dependencies:
- ipympl
- pip:
- ephyviewer
- neo>=0.11
- elephant>=0.10.0
- neo>=0.12
- probeinterface>=0.2.11
- MEArec>=1.8
- spikeinterface[full, widgets]
- spikeinterface-gui
- tridesclous>=1.6.6.1
- tridesclous>=1.6.8
- spyking-circus>=1.1.0
# - phy==2.0b5
17 changes: 7 additions & 10 deletions installation_tips/full_spikeinterface_environment_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.9
- python=3.10
- pip>=21.0
# numpy 1.21 break numba which break tridesclous
- numpy<1.22
# joblib 1.2 is breaking hdbscan
- joblib=1.1
- numpy
- joblib
- tqdm
- matplotlib
- h5py
Expand All @@ -30,13 +28,12 @@ dependencies:
- pip:
# - PyQt5
- ephyviewer
- neo>=0.11
- elephant>=0.10.0
- neo>=0.12
- probeinterface>=0.2.11
- MEArec>=1.8
- spikeinterface[full, widgets]
- spikeinterface-gui
- tridesclous>=1.6.6.1
- tridesclous>=1.6.8
# - phy==2.0b5
- mountainsort4>=1.0.0
- mountainsort5>=0.3.0
# - mountainsort4>=1.0.0 isosplit5 fails on pip install for mac
# - mountainsort5>=0.3.0
12 changes: 5 additions & 7 deletions installation_tips/full_spikeinterface_environment_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.9
- python=3.10
- pip>=21.0
# numpy 1.21 break numba which break tridesclous
- numpy<1.22
# joblib 1.2 is breaking hdbscan
- joblib=1.1
- numpy
- joblib
- tqdm
- matplotlib
- h5py
Expand All @@ -26,11 +25,10 @@ dependencies:
- ipympl
- pip:
- ephyviewer
- neo>=0.11
- elephant>=0.10.0
- neo>=0.12
- probeinterface>=0.2.11
- MEArec>=1.8
- spikeinterface[full, widgets]
- spikeinterface-gui
- tridesclous>=1.6.6.1
- tridesclous>=1.6.8
# - phy==2.0b5