Skip to content

Remove pvlib restriction and add python 3.13 support#467

Merged
martin-springer merged 41 commits intodevelopmentfrom
pvlib_requirements
Feb 4, 2026
Merged

Remove pvlib restriction and add python 3.13 support#467
martin-springer merged 41 commits intodevelopmentfrom
pvlib_requirements

Conversation

@martin-springer
Copy link
Collaborator

@martin-springer martin-springer commented Nov 4, 2025

Remove pvlib version restriction and add Python 3.13 support

This PR removes the upper version restriction on pvlib to allow rdtools to work with newer pvlib versions, adds Python 3.13 support, and deprecates Python 3.9.

Changes

Requirements:

  • Removed pvlib upper version restriction in setup.py (was pvlib >= 0.11.0, <0.12.0, now just pvlib)
  • Updated pvlib version in requirements.txt from 0.11.0 to 0.13.1
  • Added pandas upper version restriction in setup.py: pandas >= 1.4.4, <3.0.0
  • Added numpy upper version restriction in setup.py: numpy >= 1.22.4, <2.3.0
  • Updated pandas version in requirements.txt from 2.2.2 to 2.2.3 for Python 3.13 compatibility
  • Updated scipy version in requirements.txt from 1.13.1 to 1.14.1 for Python 3.13 compatibility
  • See all updated versions in changelog file.

Testing:

  • Added pytest filterwarning in setup.cfg to suppress deprecation warning from nbval (IPyNbFile fspath parameter deprecation)
  • Updated CI matrix in pytest.yaml to test Python 3.10, 3.11, 3.12, and 3.13 (removing 3.9)
  • Updated Python version classifiers in setup.py to reflect supported versions

Issues and dependabot PR's

Checklist

  • [ ] Code changes are covered by tests
  • [ ] Code changes have been evaluated for compatibility/integration with TrendAnalysis
  • [ ] New functions added to __init__.py
  • [ ] API.rst is up to date, along with other sphinx docs pages
  • Example notebooks are rerun and differences in results scrutinized
  • Updated changelog

@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.17%. Comparing base (416778c) to head (bf74f61).

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #467      +/-   ##
===============================================
- Coverage        96.26%   96.17%   -0.09%     
===============================================
  Files               12       12              
  Lines             2276     2276              
===============================================
- Hits              2191     2189       -2     
- Misses              85       87       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@martin-springer martin-springer changed the title [WIP] remove pvlib restriction Remove pvlib restriction and add python 3.13 support Jan 30, 2026
@martin-springer martin-springer marked this pull request as ready for review January 30, 2026 15:44
@martin-springer
Copy link
Collaborator Author

@mdeceglie - This is ready for your review.

Copy link
Collaborator

@mdeceglie mdeceglie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@martin-springer martin-springer merged commit b5fc7c4 into development Feb 4, 2026
19 checks passed
@martin-springer martin-springer deleted the pvlib_requirements branch February 4, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants