From 57446ba27f220817e338dffe68e5137149bff23d Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 12:45:32 -0400 Subject: [PATCH 1/7] set release date to June 16 --- docs/sphinx/source/whatsnew/v0.15.2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index e681d13026..3b057757a3 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -1,11 +1,11 @@ .. _whatsnew_0_15_2: -v0.15.2 (Anticipated June 2026) -------------------------------- Breaking Changes ~~~~~~~~~~~~~~~~ +v0.15.2 (June 16, 2026) +----------------------- Deprecations From 8a7943191b50793d3195df0339b498dbeae097f5 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 12:45:47 -0400 Subject: [PATCH 2/7] add missing contributors --- docs/sphinx/source/whatsnew/v0.15.2.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 3b057757a3..cf94ddfe14 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -89,3 +89,15 @@ Contributors * :ghuser:`JoLo90` * Karl Hill (:ghuser:`karlhillx`) * Rajiv Daxini (:ghuser:`RDaxini`) +* Vincent Filter (:ghuser:`vfilter`) +* Klaus Jäger (:ghuser:`solartube`) +* Carolina Crespo (:ghuser:`cbcrespo`) +* Ioannis Sifnaios (:ghuser:`IoannisSifnaios`) +* Anton Driesse (:ghuser:`adriesse`) +* Mark Mikofski (:ghuser:`mikofski`) +* Rodrigo Amaro e Silva (:ghuser:`ramaroesilva`) +* Will Hobbs (:ghuser:`williamhobbs`) +* Echedey Luis (:ghuser`:echedey-ls`) +* Cliff Hansen (:ghuser:`cwhanse`) +* Will Holmgren (:ghuser:`wholmgren`) +* Kevin Anderson (:ghuser:`kandersolar`) From 86cd0f396b756c7c6f2b12599ab954bb0a461885 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 12:46:13 -0400 Subject: [PATCH 3/7] clean up formatting --- docs/sphinx/source/whatsnew/v0.15.2.rst | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index cf94ddfe14..3f363d2ff4 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -1,9 +1,6 @@ .. _whatsnew_0_15_2: - -Breaking Changes -~~~~~~~~~~~~~~~~ v0.15.2 (June 16, 2026) ----------------------- @@ -34,7 +31,6 @@ Bug fixes * Document that timestamps returned by :py:func:`~pvlib.iotools.get_era5` represent the end of the averaging interval, consistent with ERA5 conventions. (:issue:`2772`, :pull:`2773`) - * :py:func:`pvlib.iotools.read_nsrdb_psm4` now parses the file header with the :py:mod:`csv` module instead of a naive ``str.split(',')``, so quoted column names containing commas (e.g. the material names in spectral-on-demand files) @@ -43,6 +39,7 @@ Bug fixes with the updated Meteonorm API. As part of this, the ``data_version`` parameter now has no effect and will be removed in the future. (:pull:`2781`) + Enhancements ~~~~~~~~~~~~ * Add the following parameters to :py:func:`~pvlib.iotools.get_nasa_power` @@ -62,22 +59,6 @@ Documentation :py:func:`pvlib.clearsky.lookup_linke_turbidity` (:issue:`2598`, :pull:`2746`) -Testing -~~~~~~~ - - -Benchmarking -~~~~~~~~~~~~ - - -Requirements -~~~~~~~~~~~~ - - -Maintenance -~~~~~~~~~~~ - - Contributors ~~~~~~~~~~~~ * :ghuser:`Omesh37` From 4f968285be7509c221afc0cac7e2ccc8fa430a7a Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 12:46:44 -0400 Subject: [PATCH 4/7] restore whatsnew entry mistakenly deleted in #2762 --- docs/sphinx/source/whatsnew/v0.15.2.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 3f363d2ff4..6a76230a47 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -42,6 +42,9 @@ Bug fixes Enhancements ~~~~~~~~~~~~ +* Add the ``front_side_fraction`` parameter to + :py:func:`pvlib.snow.loss_townsend` to support Townsend snow-loss + workflows for bifacial systems. (:issue:`2755`, :pull:`2756`) * Add the following parameters to :py:func:`~pvlib.iotools.get_nasa_power` when ``map_variables=True``: ``temp_dew``, ``precipitable_water``, ``relative_humidity``, ``ghi_extra``, ``dhi_clear``, ``longwave_down``, From 707afca6796ca5e6cd0101a90cb90bf451f18659 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 13:00:33 -0400 Subject: [PATCH 5/7] rst formatting fix --- docs/sphinx/source/whatsnew/v0.15.2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 6a76230a47..8c66fe7ddb 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -58,8 +58,8 @@ Documentation soiling ratio of approximately 0.6563 due to the mathematical form of the model. (:issue:`2534`, :pull:`2743`) * Clarifies how Linke turbidity values can be provided to - :py:func:`pvlib.clearsky.ineichen` via - :py:func:`pvlib.clearsky.lookup_linke_turbidity` (:issue:`2598`, :pull:`2746`) + :py:func:`pvlib.clearsky.ineichen` via + :py:func:`pvlib.clearsky.lookup_linke_turbidity` (:issue:`2598`, :pull:`2746`) Contributors From a3cad78b0340997607d5290e0bb59ef8b7a21261 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 14:43:02 -0400 Subject: [PATCH 6/7] Apply suggestions from code review Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com> --- docs/sphinx/source/whatsnew/v0.15.2.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 8c66fe7ddb..2578a1a479 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -22,6 +22,8 @@ Bug fixes (:issue:`2751`, :pull:`2752`) * Corrects a bug in :py:func:`pvlib.temperature.fuentes`. If inputs were data type integer, users can expect modeled cell temperature values to +* Fix :py:func:`pvlib.temperature.fuentes` truncating the output if `poa_global` input was + data type integer. Users can expect modeled cell temperature values to increase slightly. (:issue:`2608`, :pull:`2745`) * Fixes a regression in :py:func:`pvlib.tracking.calc_surface_orientation` @@ -34,7 +36,7 @@ Bug fixes * :py:func:`pvlib.iotools.read_nsrdb_psm4` now parses the file header with the :py:mod:`csv` module instead of a naive ``str.split(',')``, so quoted column names containing commas (e.g. the material names in spectral-on-demand files) - are no longer split into spurious columns. (:issue:`2736`, :pull:`2771`) +* Fix header parsing in :py:func:`pvlib.iotools.read_nsrdb_psm4` with quoted commas in column names. (:issue:`2736`, :pull:`2771`) * Update :py:func:`~pvlib.iotools.get_meteonorm_tmy` to comply with the updated Meteonorm API. As part of this, the ``data_version`` parameter now has no effect and will be removed in the future. (:pull:`2781`) @@ -81,7 +83,7 @@ Contributors * Mark Mikofski (:ghuser:`mikofski`) * Rodrigo Amaro e Silva (:ghuser:`ramaroesilva`) * Will Hobbs (:ghuser:`williamhobbs`) -* Echedey Luis (:ghuser`:echedey-ls`) +* Echedey Luis (:ghuser:`echedey-ls`) * Cliff Hansen (:ghuser:`cwhanse`) * Will Holmgren (:ghuser:`wholmgren`) * Kevin Anderson (:ghuser:`kandersolar`) From aa0892d927e4c3d4134dec452ba931948415e6e7 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 16 Jun 2026 14:48:59 -0400 Subject: [PATCH 7/7] cleanup and imperative --- docs/sphinx/source/whatsnew/v0.15.2.rst | 35 +++++++++++-------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.15.2.rst b/docs/sphinx/source/whatsnew/v0.15.2.rst index 2578a1a479..97383a5723 100644 --- a/docs/sphinx/source/whatsnew/v0.15.2.rst +++ b/docs/sphinx/source/whatsnew/v0.15.2.rst @@ -7,8 +7,8 @@ v0.15.2 (June 16, 2026) Deprecations ~~~~~~~~~~~~ -* :py:attr:`pvlib.location.Location.pytz` is deprecated and will be removed in a future release. Use :py:attr:`~pvlib.location.Location.tz` instead. - (:issue:`2343`, :pull:`2757`) +* Deprecate :py:attr:`pvlib.location.Location.pytz`. + Use :py:attr:`~pvlib.location.Location.tz` instead. (:issue:`2343`, :pull:`2757`) * Rename :py:func:`!pvlib.irradiance.ghi_from_poa_driesse_2023` to :py:func:`~pvlib.irradiance.ghi_from_poa_driesse_2024`. The year now reflects the publication date. The old name will be removed in v0.17.0. @@ -17,26 +17,18 @@ Deprecations Bug fixes ~~~~~~~~~ -* Added test coverage for :py:func:`pvlib.irradiance.dirint` with - ``np.array`` and ``pd.Series`` inputs. - (:issue:`2751`, :pull:`2752`) -* Corrects a bug in :py:func:`pvlib.temperature.fuentes`. If inputs were - data type integer, users can expect modeled cell temperature values to * Fix :py:func:`pvlib.temperature.fuentes` truncating the output if `poa_global` input was data type integer. Users can expect modeled cell temperature values to - increase slightly. - (:issue:`2608`, :pull:`2745`) -* Fixes a regression in :py:func:`pvlib.tracking.calc_surface_orientation` + increase slightly. (:issue:`2608`, :pull:`2745`) +* Fix a regression in :py:func:`pvlib.tracking.calc_surface_orientation` introduced in v0.15.1 (:pull:`2702`) that caused a broadcasting ``ValueError`` when ``tracker_theta`` was a 2-D (or higher rank) array. (:issue:`2747`, :pull:`2749`) * Document that timestamps returned by :py:func:`~pvlib.iotools.get_era5` represent the end of the averaging interval, consistent with ERA5 conventions. (:issue:`2772`, :pull:`2773`) -* :py:func:`pvlib.iotools.read_nsrdb_psm4` now parses the file header with the - :py:mod:`csv` module instead of a naive ``str.split(',')``, so quoted column - names containing commas (e.g. the material names in spectral-on-demand files) -* Fix header parsing in :py:func:`pvlib.iotools.read_nsrdb_psm4` with quoted commas in column names. (:issue:`2736`, :pull:`2771`) +* Fix header parsing in :py:func:`pvlib.iotools.read_nsrdb_psm4` with quoted + commas in column names. This allows spectral-on-demand files to be read. (:issue:`2736`, :pull:`2771`) * Update :py:func:`~pvlib.iotools.get_meteonorm_tmy` to comply with the updated Meteonorm API. As part of this, the ``data_version`` parameter now has no effect and will be removed in the future. (:pull:`2781`) @@ -50,18 +42,23 @@ Enhancements * Add the following parameters to :py:func:`~pvlib.iotools.get_nasa_power` when ``map_variables=True``: ``temp_dew``, ``precipitable_water``, ``relative_humidity``, ``ghi_extra``, ``dhi_clear``, ``longwave_down``, - and ``albedo``. - (:issue:`2731`, :pull:`2753`, :pull:`2762`) + and ``albedo``. (:issue:`2731`, :pull:`2753`, :pull:`2762`) Documentation ~~~~~~~~~~~~~ -* Clarifies that :py:func:`pvlib.soiling.hsu` has an implicit minimum +* Clarify that :py:func:`pvlib.soiling.hsu` has an implicit minimum soiling ratio of approximately 0.6563 due to the mathematical form of the model. (:issue:`2534`, :pull:`2743`) -* Clarifies how Linke turbidity values can be provided to +* Clarify how Linke turbidity values can be provided to :py:func:`pvlib.clearsky.ineichen` via - :py:func:`pvlib.clearsky.lookup_linke_turbidity` (:issue:`2598`, :pull:`2746`) + :py:func:`pvlib.clearsky.lookup_linke_turbidity`. (:issue:`2598`, :pull:`2746`) + + +Testing +~~~~~~~ +* Add test coverage for :py:func:`pvlib.irradiance.dirint` with + ``np.array`` and ``pd.Series`` inputs. (:issue:`2751`, :pull:`2752`) Contributors