From: Marten van Kerkwijk Date: Sat, 24 Dec 2016 22:06:08 +0000 (-0500) Subject: Ensure NUMPY_LT_1_12 works for beta prerelease. X-Git-Tag: archive/raspbian/2.0.2-2+rpi1~1^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b6872bd5559e11a16866ed72f9cbd749965e3062;p=python-astropy.git Ensure NUMPY_LT_1_12 works for beta prerelease. Pull request: https://github.com/astropy/astropy/pull/5646 Gbp-Pq: Name Ensure-NUMPY_LT_1_12-works-for-beta-prerelease.patch --- diff --git a/astropy/utils/compat/numpycompat.py b/astropy/utils/compat/numpycompat.py index fbdd029..bda721f 100644 --- a/astropy/utils/compat/numpycompat.py +++ b/astropy/utils/compat/numpycompat.py @@ -21,7 +21,7 @@ NUMPY_LT_1_9_1 = not minversion('numpy', '1.9.1') NUMPY_LT_1_10 = not minversion('numpy', '1.10.0') NUMPY_LT_1_10_4 = not minversion('numpy', '1.10.4') NUMPY_LT_1_11 = not minversion('numpy', '1.11.0') -NUMPY_LT_1_12 = not minversion('numpy', '1.12dev') +NUMPY_LT_1_12 = not minversion('numpy', '1.12') def _monkeypatch_unicode_mask_fill_values():