Skip to content

Commit 62b1cce

Browse files
authored
Quick fix for werkzeug/flask incompatibility
1 parent fb34828 commit 62b1cce

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

environments/environment-Linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
- flask == 2.3.2
1616
- flask-cors == 4.0.0
1717
- flask_restx == 1.1.0
18+
- werkzeug < 3.0 # werkzeug 3.0 deprecates features used by flask 2.3.2. Remove this when updating flask.
1819
# For stability, NeuroConv is pinned at a commit just prior to breaking SpikeInterface compatibility
1920
- neuroconv @ git+https://github.com/catalystneuro/neuroconv.git@fa636458aa5c321f1c2c08f6e682b4a52d5a83f3#neuroconv[dandi,compressors,ecephys,ophys,behavior,text]
2021
# For stability, pinning SpikeInterface to a version that works with NeuroConv and with tutorial generation

environments/environment-MAC-apple-silicon.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies:
2121
- flask == 2.3.2
2222
- flask-cors == 4.0.0
2323
- flask_restx == 1.1.0
24+
- werkzeug < 3.0 # werkzeug 3.0 deprecates features used by flask 2.3.2. Remove this when updating flask.
2425
# NOTE: the NeuroConv wheel on PyPI includes sonpy which is not compatible with arm64, so build and install
2526
# NeuroConv from GitHub, which will remove the sonpy dependency when building from Mac arm64
2627
# For stability, NeuroConv is pinned at a commit just prior to breaking SpikeInterface compatibility

environments/environment-MAC-intel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies:
1818
- flask == 2.3.2
1919
- flask-cors == 4.0.0
2020
- flask_restx == 1.1.0
21+
- werkzeug < 3.0 # werkzeug 3.0 deprecates features used by flask 2.3.2. Remove this when updating flask.
2122
# For stability, NeuroConv is pinned at a commit just prior to breaking SpikeInterface compatibility
2223
- neuroconv @ git+https://github.com/catalystneuro/neuroconv.git@fa636458aa5c321f1c2c08f6e682b4a52d5a83f3#neuroconv[dandi,compressors,ecephys,ophys,behavior,text]
2324
# For stability, pinning SpikeInterface to a version that works with NeuroConv and with tutorial generation

environments/environment-Windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies:
1818
- flask == 2.3.2
1919
- flask-cors === 3.0.10
2020
- flask_restx == 1.1.0
21+
- werkzeug < 3.0 # werkzeug 3.0 deprecates features used by flask 2.3.2. Remove this when updating flask.
2122
# For stability, NeuroConv is pinned at a commit just prior to breaking SpikeInterface compatibility
2223
- neuroconv @ git+https://github.com/catalystneuro/neuroconv.git@fa636458aa5c321f1c2c08f6e682b4a52d5a83f3#neuroconv[dandi,compressors,ecephys,ophys,behavior,text]
2324
# For stability, pinning SpikeInterface to a version that works with NeuroConv and with tutorial generation

0 commit comments

Comments
 (0)