From d30dd648de94c47383d573deb8260df5cb9efe65 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 26 Jun 2024 10:48:32 -0400 Subject: [PATCH 1/4] bump pvlib upper bound from 0.11 to 0.12 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index aa684c81..691c5d73 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ 'h5py >= 2.8.0', 'plotly>=4.0.0', 'xgboost >= 1.3.3', - 'pvlib >= 0.7.0, <0.11.0', + 'pvlib >= 0.7.0, <0.12.0', 'scikit-learn >= 0.22.0', ] From ae4b0acf5e4c857993fae2f2d7828fcadd319461 Mon Sep 17 00:00:00 2001 From: Michael Deceglie Date: Wed, 3 Jul 2024 13:23:18 -0600 Subject: [PATCH 2/4] update change log --- docs/sphinx/source/changelog/pending.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sphinx/source/changelog/pending.rst b/docs/sphinx/source/changelog/pending.rst index 4a26052d..dd369d2e 100644 --- a/docs/sphinx/source/changelog/pending.rst +++ b/docs/sphinx/source/changelog/pending.rst @@ -22,6 +22,7 @@ Bug fixes Requirements ------------ * Specified versions in ``requirements.txt`` and ``docs/notebook_requirements.txt`` have been updated (:pull:`412`) +* Increase maximum version of pvlib to 0.12 (:pull:`423`) Deprecations ------------ From ac81e08df59a3853dc0a478a0d51328ddb37b237 Mon Sep 17 00:00:00 2001 From: Michael Deceglie Date: Wed, 3 Jul 2024 13:57:28 -0600 Subject: [PATCH 3/4] update change log with <0.12 --- docs/sphinx/source/changelog/pending.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/changelog/pending.rst b/docs/sphinx/source/changelog/pending.rst index dd369d2e..5916bcbf 100644 --- a/docs/sphinx/source/changelog/pending.rst +++ b/docs/sphinx/source/changelog/pending.rst @@ -22,7 +22,7 @@ Bug fixes Requirements ------------ * Specified versions in ``requirements.txt`` and ``docs/notebook_requirements.txt`` have been updated (:pull:`412`) -* Increase maximum version of pvlib to 0.12 (:pull:`423`) +* Increase maximum version of pvlib to <0.12 (:pull:`423`) Deprecations ------------ From 449cca9360672f9b4599ce4124507f289d0041fb Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 3 Jul 2024 16:09:06 -0400 Subject: [PATCH 4/4] availability test: pin altitude to zero --- rdtools/test/availability_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdtools/test/availability_test.py b/rdtools/test/availability_test.py index 2b6608c2..d022752c 100644 --- a/rdtools/test/availability_test.py +++ b/rdtools/test/availability_test.py @@ -53,7 +53,7 @@ def power_data(request): # a few days of clearsky irradiance for creating a plausible power signal times = pd.date_range('2019-01-01', '2019-01-05 23:59', freq='15min', tz='US/Eastern') - location = pvlib.location.Location(40, -80) + location = pvlib.location.Location(40, -80, altitude=0) # use haurwitz to avoid dependency on `tables` clearsky = location.get_clearsky(times, model='haurwitz')