diff --git a/docs/sphinx/source/changelog/pending.rst b/docs/sphinx/source/changelog/pending.rst index 4a26052d..5916bcbf 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 ------------ 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') diff --git a/setup.py b/setup.py index 74e389d0..d7a493cb 100755 --- 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', 'arch >= 4.11', 'filterpy >= 1.4.2'