Skip to content

Commit 6f472a3

Browse files
authored
Merge pull request #51 from Leengit/tensorflow27
ENH: Update dependencies in setup.py, including allowing tensorflow 2.7.
2 parents 219a765 + b14330c commit 6f472a3

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/build-test-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- flake8-python-git-tag: "<4.0.0"
1515
- itk-python-git-tag: "==v5.2.1"
1616
- pytest-python-git-tag: "<7.0.0"
17-
- tensorflow-python-git-tag: "<2.7.0"
17+
- tensorflow-python-git-tag: ""
1818

1919
steps:
2020
- uses: actions/checkout@v2

histomics_stream/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Whole-slide image streamer for TensorFlow."""
22

3-
__version__ = "2.1.5"
3+
__version__ = "2.1.6"
44

55
"""
66

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="histomics_stream",
8-
version="2.1.5",
8+
version="2.1.6",
99
author="Lee Newberg",
1010
author_email="lee.newberg@kitware.com",
1111
description="A TensorFlow 2 package for reading whole slide images",
@@ -17,14 +17,15 @@
1717
"histomics_stream": "histomics_stream",
1818
},
1919
install_requires=[
20-
"tensorflow>=2.6.0,<2.7",
21-
"itk",
22-
"pillow",
20+
# tensorflow is not listed as a requirement because the user
21+
# will likely want to specify the version for compatibility
22+
# with the CUDA libraries, presence of GPUs, etc.
2323
"imagecodecs",
24+
"itk",
25+
"numpy",
2426
"openslide-python",
27+
"pillow",
2528
"zarr",
26-
"napari_lazy_openslide",
27-
"tifffile",
2829
],
2930
license="Apache Software License 2.0",
3031
keywords="histomics_stream",

0 commit comments

Comments
 (0)