Skip to content

Commit

Permalink
Merge branch 'consolidated_dependencies' into dependabot/pip/pillow-1…
Browse files Browse the repository at this point in the history
…0.0.1
  • Loading branch information
mdeceglie committed Nov 2, 2023
2 parents 9aef74a + 83de2ba commit ed3067a
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "3.7"

python:
version: "3.7"
install:
- method: pip
path: .
Expand Down
4 changes: 2 additions & 2 deletions docs/notebook_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ prometheus-client==0.3.0
prompt-toolkit==3.0.30
ptyprocess==0.6.0
pycparser==2.20
Pygments==2.7.4
Pygments==2.15.0
pyzmq==22.2.1
qtconsole==4.3.1
Send2Trash==1.8.0
Expand All @@ -48,7 +48,7 @@ soupsieve==2.3.2.post1
terminado==0.8.3
testpath==0.3.1
tinycss2==1.1.1
tornado==6.1
tornado==6.3.3
traitlets==5.0.0
wcwidth==0.1.7
webencodings==0.5.1
Expand Down
1 change: 1 addition & 0 deletions docs/sphinx/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
RdTools Change Log
==================
.. include:: changelog/pending.rst
.. include:: changelog/v2.1.6.rst
.. include:: changelog/v2.1.5.rst
.. include:: changelog/v2.1.4.rst
Expand Down
16 changes: 16 additions & 0 deletions docs/sphinx/source/changelog/pending.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
*******
Pending
*******

Requirements
------------
* Limit pandas version to <2.1 (:pull:`395`)

Documentation
-------------
* Update ReadTheDocs configuration (:pull:`395`)

Contributors
------------
* Michael Deceglie (:ghuser:`mdeceglie`)
* Kevin Anderson (:ghuser:`kandersolar`)
2 changes: 1 addition & 1 deletion rdtools/test/interpolate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ def test_interpolate_warning(test_df, df_target_index, df_expected_result):
with pytest.warns(None) as record:
interpolate(test_df, df_target_index, pd.to_timedelta('15 minutes'),
warning_threshold=0.5)
if record:
if 'Fraction of excluded data' in ';'.join([str(x.message) for x in record.list]):
pytest.fail("normalize.interpolate raised a warning about "
"excluded data even though the threshold was high")
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cached-property==1.5.2
certifi==2022.12.7
certifi==2023.7.22
chardet==4.0.0
cycler==0.10.0
fonttools==4.37.1
Expand All @@ -18,7 +18,7 @@ pvlib==0.9.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2019.3
requests==2.25.1
requests==2.31.0
retrying==1.3.3
scikit-learn==1.0.2
scipy==1.7.2
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
INSTALL_REQUIRES = [
'matplotlib >= 3.0.0',
'numpy >= 1.17.3',
'pandas >= 1.3.0',
# pandas restricted to <2.1 until
# https://github.com/pandas-dev/pandas/issues/55794
# is resolved
'pandas >= 1.3.0, <2.1',
'statsmodels >= 0.11.0',
'scipy >= 1.2.0',
'h5py >= 2.8.0',
Expand Down

0 comments on commit ed3067a

Please sign in to comment.