-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from juglab/napari4.18
Napari4.18
- Loading branch information
Showing
5 changed files
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Test environments | ||
|
||
These environments are used to test the code with different versions of TF in linux. | ||
They will fail on a macOS machine. | ||
|
||
See the [documentation](https://juglab.github.io/napari-n2v/installation.html) for | ||
installation steps. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: np-n2v | ||
channels: | ||
- conda-forge | ||
- nvidia | ||
- defaults | ||
dependencies: | ||
- python=3.9 | ||
- cudatoolkit=11.3 | ||
- cudnn=8.1 | ||
- pip | ||
- pip: | ||
- tensorflow<2.12 | ||
- "napari[all]" | ||
- napari-n2v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: np-n2v | ||
channels: | ||
- conda-forge | ||
- nvidia | ||
- defaults | ||
dependencies: | ||
- python=3.11 | ||
- cudatoolkit=11.8.0 | ||
- pip | ||
- pip: | ||
- nvidia-cudnn-cu11==8.6.0.163 | ||
- tensorflow==2.13.* | ||
- "napari[all]" | ||
- napari-n2v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = napari-n2v | ||
version = 0.1.0 | ||
version = 0.1.1 | ||
author = Tom Burke, Joran Deschamps | ||
author_email = [email protected] | ||
url = https://github.com/juglab/napari-n2v | ||
|
@@ -47,33 +47,18 @@ install_requires = | |
napari_time_slicer >= 0.4.9 | ||
|
||
# Also compatibility with napari-workflows | ||
# TODO: it might be better to refactor the napari-workflow code to another repo that would call napari-n2 so that | ||
# TODO: the dependencies would be a bit more relaxed. | ||
# TODO: pin napari to <=0.4.15? vispy<=0.9.6? | ||
# pin napari and vispy because | ||
# https://github.com/napari/napari/issues/4415 | ||
# https://github.com/napari/napari/issues/4708 | ||
napari<=0.4.15 | ||
vispy<=0.9.6 | ||
magicgui | ||
napari | ||
qtpy | ||
pyqtgraph | ||
|
||
# fix to prevent failing tests | ||
# see https://github.com/napari/napari/pull/5168 | ||
# and https://github.com/napari/napari/commit/c42e5ee2d1afd1f26944de3c0657e7bbc813b7d1 | ||
imageio>=2.5.0,!=2.11.0,!=2.22.1 | ||
|
||
# tensorflow | ||
tensorflow>=2.7.0; platform_system!="Darwin" or platform_machine!="arm64" | ||
tensorflow>=2.10.0; platform_system!="Darwin" or platform_machine!="arm64" | ||
tensorflow-macos; platform_system=="Darwin" and platform_machine=="arm64" | ||
tensorflow-metal; platform_system=="Darwin" and platform_machine=="arm64" | ||
|
||
# protobuf is a dependency of TensorFlow but the latest versions (>3.20) generate | ||
# errors with npe2. As of TensorFlow 2.10, protobuf<3.20 and >=3.9.2 is enforced. | ||
# Here we set the requirements to be compatible with TF2.8 to TF2.10. | ||
protobuf<3.20,>=3.9.2 | ||
|
||
[options.extras_require] | ||
testing = | ||
pytest # https://docs.pytest.org/en/latest/contents.html | ||
|