Bump numpy requirement to 1.7.2

This commit is contained in:
Stefan van der Walt
2016-01-28 11:24:29 -08:00
parent 772dc48337
commit 31b6adb778
3 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
Build Requirements
------------------
* `Python >= 2.6 <http://python.org>`__
* `Numpy >= 1.6.1 <http://numpy.scipy.org/>`__
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
* `Cython >= 0.21 <http://www.cython.org/>`__
* `Six >=1.4 <https://pypi.python.org/pypi/six>`__
* `SciPy >=0.9 <http://scipy.org>`__
@@ -9,7 +9,7 @@ Build Requirements
Runtime requirements
--------------------
* `Python >= 2.6 <http://python.org>`__
* `Numpy >= 1.6.1 <http://numpy.scipy.org/>`__
* `Numpy >= 1.7.2 <http://numpy.scipy.org/>`__
* `SciPy >= 0.9 <http://scipy.org>`__
* `Matplotlib >= 1.1.0 <http://matplotlib.sf.net>`__
* `NetworkX >= 1.8 <https://networkx.github.io>`__
+1 -1
View File
@@ -1,5 +1,5 @@
matplotlib>=1.1.0
numpy>=1.6.1
numpy>=1.7.2
scipy>=0.9.0
six>=1.4
networkx>=1.8
+2 -3
View File
@@ -25,9 +25,8 @@ _supported_types = (np.bool_, np.bool8,
np.int8, np.int16, np.int32, np.int64,
np.float32, np.float64)
if np.__version__ >= "1.6.0":
dtype_range[np.float16] = (-1, 1)
_supported_types += (np.float16, )
dtype_range[np.float16] = (-1, 1)
_supported_types += (np.float16, )
def dtype_limits(image, clip_negative=True):