From 87a0e078c152f8b96485755712227505fd8d1e10 Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Tue, 20 Dec 2022 17:36:32 -0800 Subject: [PATCH] MAINT: Pin numpy to avoid errors due to expired scalar deprecations (#630) * MAINT: pin numpy and increment deepcell-toolbox version * Increment deepcell-toolbox minor version. * REL: increment patch number. --- deepcell/_version.py | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- setup.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deepcell/_version.py b/deepcell/_version.py index 8729d359..a9ac37be 100644 --- a/deepcell/_version.py +++ b/deepcell/_version.py @@ -27,7 +27,7 @@ __title__ = 'DeepCell' __description__ = 'Deep learning for single cell image segmentation' __url__ = 'https://github.com/vanvalenlab/deepcell-tf' -__version__ = '0.12.3' +__version__ = '0.12.4' __download_url__ = '{}/tarball/{}'.format(__url__, __version__) __author__ = 'The Van Valen Lab' __author_email__ = 'vanvalen@caltech.edu' diff --git a/pyproject.toml b/pyproject.toml index 30e08039..ba051090 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,5 +3,5 @@ requires = [ "wheel", "setuptools>=40.8.0", - "numpy>=1.16.6" + "numpy>=1.16.6,<1.24" ] diff --git a/requirements.txt b/requirements.txt index 80923755..bf52cb09 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.16.6 +numpy>=1.16.6,<1.24 pydot>=1.4.2,<2 scipy>=1.2.3,<2 scikit-image>=0.14.5 diff --git a/setup.py b/setup.py index 44809cc0..fee432b7 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ long_description=readme, long_description_content_type='text/markdown', install_requires=[ - 'numpy>=1.16.6', + 'numpy>=1.16.6,<1.24', 'pydot>=1.4.2,<2', 'scipy>=1.2.3,<2', 'scikit-image>=0.14.5', @@ -69,7 +69,7 @@ 'matplotlib', 'opencv-python-headless<5', 'deepcell-tracking~=0.6.1', - 'deepcell-toolbox~=0.11.2' + 'deepcell-toolbox~=0.12.0' ], extras_require={ 'tests': [