diff --git a/.github/workflows/installation-tips-test.yml b/.github/workflows/installation-tips-test.yml new file mode 100644 index 0000000000..0e522e6baa --- /dev/null +++ b/.github/workflows/installation-tips-test.yml @@ -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/setup-miniconda@v2.2.0 + with: + environment-file: ./installations_tips/full_spikeinterface_environment_${{ matrix.label }}.yml diff --git a/installation_tips/check_your_install.py b/installation_tips/check_your_install.py index 20809ec6c0..2b13a941cd 100644 --- a/installation_tips/check_your_install.py +++ b/installation_tips/check_your_install.py @@ -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": diff --git a/installation_tips/full_spikeinterface_environment_linux_dandi.yml b/installation_tips/full_spikeinterface_environment_linux_dandi.yml index d402f6805f..2ed176b16c 100755 --- a/installation_tips/full_spikeinterface_environment_linux_dandi.yml +++ b/installation_tips/full_spikeinterface_environment_linux_dandi.yml @@ -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 @@ -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 diff --git a/installation_tips/full_spikeinterface_environment_mac.yml b/installation_tips/full_spikeinterface_environment_mac.yml index 8b872981aa..7ce4a149cc 100755 --- a/installation_tips/full_spikeinterface_environment_mac.yml +++ b/installation_tips/full_spikeinterface_environment_mac.yml @@ -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 @@ -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 diff --git a/installation_tips/full_spikeinterface_environment_windows.yml b/installation_tips/full_spikeinterface_environment_windows.yml index 8c793edcb1..38c26e6a78 100755 --- a/installation_tips/full_spikeinterface_environment_windows.yml +++ b/installation_tips/full_spikeinterface_environment_windows.yml @@ -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 @@ -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