refactor: deprecate dead code#2766
Conversation
87a8e84 to
15d9d60
Compare
15d9d60 to
aae7eb7
Compare
|
@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? |
RDaxini
left a comment
There was a problem hiding this comment.
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.
| * The function :py:func:`pvlib.clearsky._is_leap_year` is deprecated and will be | ||
| removed in v0.17.0. Use :py:func:`pandas.Timestamp.is_leap_year` instead. | ||
| (:issue: `2764`, :pull:`2766`) | ||
| * The function :py:func:`pvlib.irradiance._liujordan` is deprecated and will be | ||
| removed in v0.17.0. (:issue: `2764`, :pull:`2766`) | ||
| * The function :py:func:`pvlib.modelchain.get_orientation` is deprecated and will | ||
| be removed in v0.17.0. (:issue: `2764`, :pull:`2766`) | ||
| * The method :py:meth:`pvlib.modelchain.ModelChain._prep_inputs_tracking` is | ||
| deprecated and will be removed in v0.17.0. (:issue: `2764`, :pull:`2766`) |
There was a problem hiding this comment.
Let's clean this up and avoid unnecessary repetition:
| * The function :py:func:`pvlib.clearsky._is_leap_year` is deprecated and will be | |
| removed in v0.17.0. Use :py:func:`pandas.Timestamp.is_leap_year` instead. | |
| (:issue: `2764`, :pull:`2766`) | |
| * The function :py:func:`pvlib.irradiance._liujordan` is deprecated and will be | |
| removed in v0.17.0. (:issue: `2764`, :pull:`2766`) | |
| * The function :py:func:`pvlib.modelchain.get_orientation` is deprecated and will | |
| be removed in v0.17.0. (:issue: `2764`, :pull:`2766`) | |
| * The method :py:meth:`pvlib.modelchain.ModelChain._prep_inputs_tracking` is | |
| deprecated and will be removed in v0.17.0. (:issue: `2764`, :pull:`2766`) | |
| * The following functions have been deprecated and will be removed in v0.17.0: | |
| - :py:func:`pvlib.clearsky._is_leap_year` (use :py:func:`pandas.Timestamp.is_leap_year` instead) | |
| (:issue: `2764`, :pull:`2766`) | |
| - :py:func:`pvlib.irradiance._liujordan` (:issue: `2764`, :pull:`2766`) | |
| - :py:func:`pvlib.modelchain.get_orientation` (:issue: `2764`, :pull:`2766`) | |
| - :py:meth:`pvlib.modelchain.ModelChain._prep_inputs_tracking` (:issue: `2764`, :pull:`2766`) |
docs/sphinx/source/referencefor API changes.docs/sphinx/source/whatsnewfor 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`).remote-data) and Milestone are assigned to the Pull Request and linked Issue.