Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ReadTheDocs configuration #395

Merged
merged 6 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 ReadTehDocs 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")
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
Loading