Skip to content

Remove deprecated functions and unused private function - #2766

Open
JoLo90 wants to merge 4 commits into
pvlib:mainfrom
JoLo90:fix_deprecate_dead_code
Open

Remove deprecated functions and unused private function#2766
JoLo90 wants to merge 4 commits into
pvlib:mainfrom
JoLo90:fix_deprecate_dead_code

Conversation

@JoLo90

@JoLo90 JoLo90 commented May 29, 2026

Copy link
Copy Markdown
Contributor

@JoLo90
JoLo90 force-pushed the fix_deprecate_dead_code branch 3 times, most recently from 15d9d60 to aae7eb7 Compare May 29, 2026 14:27
@JoLo90
JoLo90 marked this pull request as ready for review May 29, 2026 14:33
@cwhanse

cwhanse commented May 29, 2026

Copy link
Copy Markdown
Member

@JoLo90 I think we should consider each of these removals before bundling them all into one PR. Can you open a few more issues to discuss other removals?

@JoLo90

JoLo90 commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

I just separated the issues in #2764, #2767, #2768

@RDaxini RDaxini left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Added a suggestion to the whatsnew. I can do a a more technical review later.
Note for future PRs though @JoLo90, please only tick off checklist items when complete. For example, a maintainer has not added any relevant labels or milestone to this PR yet so this should not have been ticked. I will do it now (so no need to remove the tick now). This will just help us organize the work more efficiently and ensure we don't miss anything.
Thanks again for your continued contributions by the way, these are appreciated.

Comment thread docs/sphinx/source/whatsnew/v0.15.2.rst Outdated
@RDaxini RDaxini added api deprecation Use for issues and PRs which involve deprecations labels Jun 9, 2026
@kandersolar kandersolar modified the milestones: v0.15.2, v0.15.3 Jun 9, 2026
@AdamRJensen AdamRJensen modified the milestones: v0.15.3, v0.16.0 Aug 5, 2026
@RDaxini

RDaxini commented Aug 6, 2026

Copy link
Copy Markdown
Member

@JoLo90 do you still intend to work on this? If not, I can fork the branch and finish this off in time for the 0.16.0 release.
The linked issues suggest removal rather than deprecation, since these are private functions anyway, so the API needs to be updated with these functions removed rather than wrapped in the deprecation wrapper. At least that is my understanding from the discussion anyway, someone please correct me if I am mistaken. The whatsnew should also be updated to move the entry over to v0.16.0.rst and to reword to indicate that these functions were removed rather than deprecated and scheduled for removal.

@JoLo90

JoLo90 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

@RDaxini sorry for the delay I will commit the changes

@JoLo90
JoLo90 force-pushed the fix_deprecate_dead_code branch from 542b555 to 436f5dc Compare August 7, 2026 10:04
@JoLo90 JoLo90 closed this Aug 7, 2026
@JoLo90 JoLo90 reopened this Aug 7, 2026
@JoLo90
JoLo90 force-pushed the fix_deprecate_dead_code branch from 436f5dc to 1897e4b Compare August 8, 2026 07:15

* Removed private function :py:func:`pvlib.irradiance._liujordan`.
(:issue:`2764`, :pull:`2766`)
* Removed deprecated iotools aliases :py:func:`pvlib.iotools.parse_bsrn`,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
* Removed deprecated iotools aliases :py:func:`pvlib.iotools.parse_bsrn`,
* Removed deprecated iotools functions :py:func:`pvlib.iotools.parse_bsrn`,

@AdamRJensen AdamRJensen changed the title refactor: deprecate dead code Remove deprecated functions and unused private function Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api deprecation Use for issues and PRs which involve deprecations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC: dead code and wrong parameter in _liujordan function description

5 participants