From 8fb75bba6ecf91581850c84d563ed68162183bb1 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Wed, 4 Dec 2019 13:45:43 -0800 Subject: [PATCH 1/3] update to numpy-1.12.0 --- ci/requirements-py35-min.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/requirements-py35-min.yml b/ci/requirements-py35-min.yml index 325083499c..fc39936c05 100644 --- a/ci/requirements-py35-min.yml +++ b/ci/requirements-py35-min.yml @@ -13,5 +13,5 @@ dependencies: - pytz - requests - pip: - - numpy==1.10.4 + - numpy==1.12.0 - pandas==0.18.1 diff --git a/setup.py b/setup.py index a492b695e8..ca18970d82 100755 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ MAINTAINER_EMAIL = 'holmgren@email.arizona.edu' URL = 'https://github.com/pvlib/pvlib-python' -INSTALL_REQUIRES = ['numpy >= 1.10.4', +INSTALL_REQUIRES = ['numpy >= 1.12.0', 'pandas >= 0.18.1', 'pytz', 'requests'] From 69f6da278ae0d8f4ea76dee3a59500012cb21320 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Mon, 9 Dec 2019 10:06:49 -0800 Subject: [PATCH 2/3] update what's new to require numpy >= 1.12.0 --- docs/sphinx/source/whatsnew/v0.7.0.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.7.0.rst b/docs/sphinx/source/whatsnew/v0.7.0.rst index 6de109c500..fe84e0bdb7 100644 --- a/docs/sphinx/source/whatsnew/v0.7.0.rst +++ b/docs/sphinx/source/whatsnew/v0.7.0.rst @@ -8,7 +8,7 @@ recommend all users of v0.6.3 upgrade to this release after checking API compatibility notes. **Python 2.7 support ended on June 1, 2019.** (:issue:`501`) -**Minimum numpy version is now 1.10.4. Minimum pandas version is now 0.18.1.** +**Minimum numpy version is now 1.12.0. Minimum pandas version is now 0.18.1.** API Breaking Changes ~~~~~~~~~~~~~~~~~~~~ @@ -30,7 +30,7 @@ API Changes with Deprecations - `temperature.sapm_cell` returns only the cell temperature, whereas the old `pvsystem.sapm_celltemp` returned a `DataFrame` with both cell and module temperatures. - Created `temperature.sapm_module` to return module temperature using the SAPM temperature model. - - Changed the order of arguments for`pvsystem.sapm_celltemp`, + - Changed the order of arguments for `pvsystem.sapm_celltemp`, `pvsystem.pvsyst_celltemp` and `PVSystem.sapm_celltemp` to be consistent among cell temperature model functions. - Removed `model` as a kwarg from `temperature.sapm_cell` and @@ -187,6 +187,10 @@ Removal of prior version deprecations * Removed `ModelChain.singlediode` method. * Removed `ModelChain.prepare_inputs` clearsky assumption when no irradiance data was provided. + +Requirements +~~~~~~~~~~~~ +* pvlib now requires numpy >= 1.12.0, released in 2017. (:issue:`830`) Contributors ~~~~~~~~~~~~ @@ -202,3 +206,4 @@ Contributors * Joseph Ranalli (:ghuser:`jranalli`) * Tony Lorenzo (:ghuser:`alorenzo175`) * Todd Karin (:ghuser:`toddkarin`) +* Mark Mikofski (:ghuser:`mikofski`) From 79e728aee94b9a3eea69e5cc8c22496c83a31b82 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Mon, 9 Dec 2019 12:15:13 -0800 Subject: [PATCH 3/3] update both pandas and numpy requirements paint the bikeshed white: https://imgs.xkcd.com/comics/timeline_of_bicycle_design.png --- docs/sphinx/source/whatsnew/v0.7.0.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.7.0.rst b/docs/sphinx/source/whatsnew/v0.7.0.rst index fe84e0bdb7..dcd802fd33 100644 --- a/docs/sphinx/source/whatsnew/v0.7.0.rst +++ b/docs/sphinx/source/whatsnew/v0.7.0.rst @@ -8,7 +8,7 @@ recommend all users of v0.6.3 upgrade to this release after checking API compatibility notes. **Python 2.7 support ended on June 1, 2019.** (:issue:`501`) -**Minimum numpy version is now 1.12.0. Minimum pandas version is now 0.18.1.** +**Minimum numpy version is now 1.12.0. Minimum pandas version is now 0.18.1.** (:issue:`830`, :issue:`748`) API Breaking Changes ~~~~~~~~~~~~~~~~~~~~ @@ -190,7 +190,8 @@ Removal of prior version deprecations Requirements ~~~~~~~~~~~~ -* pvlib now requires numpy >= 1.12.0, released in 2017. (:issue:`830`) +* numpy minimum increased to v1.12.0, released in 2017. (:issue:`830`) +* pandas minimum increased to v1.18.1, released in 2016. (:issue:`748`) Contributors ~~~~~~~~~~~~