Skip to content

Conversation

@kandersolar
Copy link
Member

  • [ ] Closes #xxxx
  • I am familiar with the contributing guidelines
  • [ ] Tests added
  • [ ] Updates entries in docs/sphinx/source/reference for API changes.
  • [ ] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • [ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

A couple pandas deprecation/future warnings have popped up. From: https://github.com/pvlib/pvlib-python/actions/runs/19341083174/job/55329373615

=============================== warnings summary ===============================
tests/iotools/test_sodapro.py:24
  /home/runner/work/pvlib-python/pvlib-python/tests/iotools/test_sodapro.py:24: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.
    index_monthly = pd.date_range('2020-01-01', periods=4, freq='1M')

tests/iotools/test_acis.py::test_get_acis_station_data
tests/iotools/test_acis.py::test_get_acis_station_data
  /home/runner/work/pvlib-python/pvlib-python/pvlib/iotools/acis.py:416: FutureWarning: Downcasting behavior in `replace` is deprecated and will be removed in a future version. To retain the old behavior, explicitly call `result.infer_objects(copy=False)`. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
    df = df.replace("M", np.nan)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

@kandersolar kandersolar added this to the v0.13.2 milestone Nov 20, 2025
@kandersolar kandersolar added the remote-data triggers --remote-data pytests label Nov 20, 2025
@kandersolar
Copy link
Member Author

test failures are unrelated (meteonorm issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

remote-data triggers --remote-data pytests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant