Skip to content

Remove pvlib.irradiance.SURFACE_ALBEDOS in favour of pvlib.albedo.SURFACE_ALBEDOS - #2890

Draft
echedey-ls wants to merge 1 commit into
pvlib:mainfrom
echedey-ls:removal/SURFACE_ALBEDOS_from_irradiance
Draft

echedey-ls wants to merge 1 commit into
pvlib:mainfrom
echedey-ls:removal/SURFACE_ALBEDOS_from_irradiance

Conversation

@echedey-ls

@echedey-ls echedey-ls commented Oct 7, 2026 •

Copy link
Copy Markdown
Member
  • [ ] Closes #xxxx
  • I am familiar with the contributing guidelines
  • [ ] I attest that all AI-generated material has been vetted for accuracy and is in compliance with the pvlib license fuck ai
  • [ ] 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.

Cleaning up the list of unscheduled removals at #2396. Can I have a v0.17.0 milestone created? Before I proceed with the remaining of the list.

I'm leaving the whatsnew entry closer to whenever the deadline comes closer to avoid merge conflicts.

Breaking changes
...
* Remove deprecated reference ``pvlib.irradiance.SURFACE_ALBEDOS`` in favour of ``pvlib.albedo.SURFACE_ALBEDOS``. (:pull:`2890`)

In favour of pvlib.albedo.SURFACE_ALBEDOS
Comment thread pvlib/irradiance.py
import pvlib # used to avoid dni name collision in complete_irradiance

from pvlib._deprecation import pvlibDeprecationWarning, deprecated
from pvlib._deprecation import deprecated

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let's remember to clean up this import if/when king is also removed.

@echedey-ls echedey-ls added the deprecation Use for issues and PRs which involve deprecations label Oct 7, 2026
@kandersolar

Copy link
Copy Markdown
Member

Can I have a v0.17.0 milestone created?

It is now created :)

@echedey-ls echedey-ls added this to the v0.17.0 milestone Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Use for issues and PRs which involve deprecations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants