From 6a6ee71e4fce1cacd9f93a215ac51d9335333d96 Mon Sep 17 00:00:00 2001 From: fehiepsi Date: Tue, 19 Feb 2019 00:15:32 -0500 Subject: [PATCH 1/3] clean up requirements --- docs/requirements.txt | 5 +---- setup.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 5e34d75cf3..80d231b36e 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,9 +1,6 @@ sphinx sphinx_rtd_theme -numpy>=1.7 contextlib2 -cloudpickle>=0.3.1 graphviz>=0.8 -observations>=0.1.4 opt_einsum>=2.3.2 -tqdm>=4.25 +tqdm>=4.28 diff --git a/setup.py b/setup.py index 09fc7343dc..5c074cd67a 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ EXTRAS_REQUIRE = [ 'jupyter>=1.0.0', 'matplotlib>=1.3', + 'numpy>=1.7', 'observations>=0.1.4', 'pillow', 'torchvision', @@ -83,7 +84,6 @@ # add them to `docs/requirements.txt` 'contextlib2', 'graphviz>=0.8', - 'numpy>=1.7', 'opt_einsum>=2.3.2', 'six>=1.10.0', 'torch>=1.0.0', From b25c7068ffe3b13f597ff19a4b2417583821cd2d Mon Sep 17 00:00:00 2001 From: fehiepsi Date: Tue, 19 Feb 2019 10:00:15 -0500 Subject: [PATCH 2/3] revert numpy requirement --- docs/requirements.txt | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 80d231b36e..2ff09f42ed 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,5 +2,6 @@ sphinx sphinx_rtd_theme contextlib2 graphviz>=0.8 +numpy>=1.7 opt_einsum>=2.3.2 tqdm>=4.28 diff --git a/setup.py b/setup.py index 5c074cd67a..09fc7343dc 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,6 @@ EXTRAS_REQUIRE = [ 'jupyter>=1.0.0', 'matplotlib>=1.3', - 'numpy>=1.7', 'observations>=0.1.4', 'pillow', 'torchvision', @@ -84,6 +83,7 @@ # add them to `docs/requirements.txt` 'contextlib2', 'graphviz>=0.8', + 'numpy>=1.7', 'opt_einsum>=2.3.2', 'six>=1.10.0', 'torch>=1.0.0', From 1a7961520c49df7fb6c97bb31a608d1a2491b635 Mon Sep 17 00:00:00 2001 From: fehiepsi Date: Tue, 19 Feb 2019 14:35:18 -0500 Subject: [PATCH 3/3] require numpy and observations --- docs/requirements.txt | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index 2ff09f42ed..28cfa53799 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,6 @@ sphinx_rtd_theme contextlib2 graphviz>=0.8 numpy>=1.7 +observations>=0.1.4 opt_einsum>=2.3.2 tqdm>=4.28 diff --git a/setup.py b/setup.py index 09fc7343dc..3f2c1f31ad 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ # add them to `docs/requirements.txt` 'contextlib2', 'graphviz>=0.8', + # numpy is necessary for some functionality of PyTorch 'numpy>=1.7', 'opt_einsum>=2.3.2', 'six>=1.10.0',