Skip to content

Commit c964df4

Browse files
committed
bump deprecation version from 0.13.1 to 0.13.2
1 parent 4c8a029 commit c964df4

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

pvlib/pvsystem.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ class SingleAxisTrackerMount(AbstractMount):
14361436
The tilt of the axis of rotation (i.e, the y-axis defined by
14371437
axis_azimuth) with respect to horizontal. [degrees]
14381438
1439-
.. versionchanged:: 0.13.1
1439+
.. versionchanged:: 0.13.2
14401440
Renamed from ``axis_tilt`` to ``axis_slope``.
14411441
14421442
axis_azimuth : float, default 180
@@ -1506,12 +1506,12 @@ class SingleAxisTrackerMount(AbstractMount):
15061506
# field axis_tilt, renamed to axis_slope; and
15071507
# field cross_axis_tilt, renamed to cross_axis_slope; GH#2334 & GH#2543
15081508
@renamed_kwarg_warning(
1509-
since="0.13.1",
1509+
since="0.13.2",
15101510
old_param_name="axis_tilt",
15111511
new_param_name="axis_slope",
15121512
)
15131513
@renamed_kwarg_warning(
1514-
since="0.13.1",
1514+
since="0.13.2",
15151515
old_param_name="cross_axis_tilt",
15161516
new_param_name="cross_axis_slope",
15171517
)
@@ -1531,7 +1531,7 @@ def __init__(self, axis_slope=0.0, axis_azimuth=0.0, max_angle=90.0,
15311531
@property
15321532
def axis_tilt(self):
15331533
warn(
1534-
"'axis_tilt' is deprecated since v0.13.1. "
1534+
"'axis_tilt' is deprecated since v0.13.2. "
15351535
"Use 'axis_slope' instead.",
15361536
pvlibDeprecationWarning,
15371537
stacklevel=2,
@@ -1541,7 +1541,7 @@ def axis_tilt(self):
15411541
@axis_tilt.setter
15421542
def axis_tilt(self, new_value):
15431543
warn(
1544-
"'axis_tilt' is deprecated since v0.13.1. "
1544+
"'axis_tilt' is deprecated since v0.13.2. "
15451545
"Use 'axis_slope' instead.",
15461546
pvlibDeprecationWarning,
15471547
stacklevel=2,
@@ -1551,7 +1551,7 @@ def axis_tilt(self, new_value):
15511551
@property
15521552
def cross_axis_tilt(self):
15531553
warn(
1554-
"'cross_axis_tilt' is deprecated since v0.13.1. "
1554+
"'cross_axis_tilt' is deprecated since v0.13.2. "
15551555
"Use 'cross_axis_slope' instead.",
15561556
pvlibDeprecationWarning,
15571557
stacklevel=2,
@@ -1561,7 +1561,7 @@ def cross_axis_tilt(self):
15611561
@cross_axis_tilt.setter
15621562
def cross_axis_tilt(self, new_value):
15631563
warn(
1564-
"'cross_axis_tilt' is deprecated since v0.13.1. "
1564+
"'cross_axis_tilt' is deprecated since v0.13.2. "
15651565
"Use 'cross_axis_slope' instead.",
15661566
pvlibDeprecationWarning,
15671567
stacklevel=2,

pvlib/shading.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def sky_diffuse_passias(masking_angle):
237237

238238

239239
@renamed_kwarg_warning(
240-
since="0.13.1",
240+
since="0.13.2",
241241
old_param_name="axis_tilt",
242242
new_param_name="axis_slope",
243243
)
@@ -267,7 +267,7 @@ def projected_solar_zenith_angle(solar_zenith, solar_azimuth,
267267
axis_slope : numeric
268268
Axis tilt angle in degrees. From horizontal plane to array plane.
269269
270-
.. versionchanged:: 0.13.1
270+
.. versionchanged:: 0.13.2
271271
Renamed from ``axis_tilt`` to ``axis_slope``
272272
273273
axis_azimuth : numeric
@@ -356,12 +356,12 @@ def projected_solar_zenith_angle(solar_zenith, solar_azimuth,
356356

357357

358358
@renamed_kwarg_warning(
359-
since="0.13.1",
359+
since="0.13.2",
360360
old_param_name="axis_tilt",
361361
new_param_name="axis_slope",
362362
)
363363
@renamed_kwarg_warning(
364-
since="0.13.1",
364+
since="0.13.2",
365365
old_param_name="cross_axis_tilt",
366366
new_param_name="cross_axis_slope",
367367
)
@@ -416,7 +416,7 @@ def shaded_fraction1d(
416416
axis_slope : numeric, default 0
417417
Tilt of the rows axis from horizontal. In degrees :math:`^{\circ}`.
418418
419-
.. versionchanged:: 0.13.1
419+
.. versionchanged:: 0.13.2
420420
Renamed from ``axis_tilt`` to ``axis_slope``
421421
422422
surface_to_axis_offset : numeric, default 0
@@ -426,7 +426,7 @@ def shaded_fraction1d(
426426
In degrees :math:`^{\circ}`.
427427
See :term:`cross_axis_slope`.
428428
429-
.. versionchanged:: 0.13.1
429+
.. versionchanged:: 0.13.2
430430
Renamed from ``cross_axis_tilt`` to ``cross_axis_slope``
431431
432432
shading_row_rotation : numeric, optional

pvlib/tracking.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99

1010
@renamed_kwarg_warning(
11-
since="0.13.1",
11+
since="0.13.2",
1212
old_param_name="axis_tilt",
1313
new_param_name="axis_slope",
1414
)
1515
@renamed_kwarg_warning(
16-
since="0.13.1",
16+
since="0.13.2",
1717
old_param_name="cross_axis_tilt",
1818
new_param_name="cross_axis_slope",
1919
)
@@ -56,7 +56,7 @@ def singleaxis(apparent_zenith, solar_azimuth,
5656
``axis_azimuth``) with respect to horizontal.
5757
``axis_slope`` must be >= 0 and <= 90. [degrees]
5858
59-
.. versionchanged:: 0.13.1
59+
.. versionchanged:: 0.13.2
6060
Renamed from ``axis_tilt`` to ``axis_slope``.
6161
6262
axis_azimuth : float, default 0
@@ -96,7 +96,7 @@ def singleaxis(apparent_zenith, solar_azimuth,
9696
In degrees :math:`^{\circ}`.
9797
See :term:`cross_axis_slope`.
9898
99-
.. versionchanged:: 0.13.1
99+
.. versionchanged:: 0.13.2
100100
Renamed from ``cross_axis_tilt`` to ``cross_axis_slope``.
101101
102102
Returns
@@ -220,7 +220,7 @@ def singleaxis(apparent_zenith, solar_azimuth,
220220

221221

222222
@renamed_kwarg_warning(
223-
since="0.13.1",
223+
since="0.13.2",
224224
old_param_name="axis_tilt",
225225
new_param_name="axis_slope",
226226
)
@@ -240,7 +240,7 @@ def calc_surface_orientation(tracker_theta, axis_slope=0, axis_azimuth=0):
240240
The tilt of the axis of rotation with respect to horizontal.
241241
``axis_slope`` must be >= 0 and <= 90. [degree]
242242
243-
.. versionchanged:: 0.13.1
243+
.. versionchanged:: 0.13.2
244244
Renamed from ``axis_tilt`` to ``axis_slope``.
245245
246246
axis_azimuth : float, default 0
@@ -290,7 +290,7 @@ def calc_axis_slope(slope_azimuth, slope_tilt, axis_azimuth):
290290
respect to horizontal, ranging from 0 degrees (horizontal axis) to 90
291291
degrees (vertical axis).
292292
293-
.. versionchanged:: 0.13.1
293+
.. versionchanged:: 0.13.2
294294
Renamed function ``calc_axis_tilt`` to ``calc_axis_slope``.
295295
296296
Parameters
@@ -382,7 +382,7 @@ def _calc_beta_c(v, dg, ba):
382382

383383

384384
@renamed_kwarg_warning(
385-
since="0.13.1",
385+
since="0.13.2",
386386
old_param_name="axis_tilt",
387387
new_param_name="axis_slope",
388388
)
@@ -400,7 +400,7 @@ def calc_cross_axis_slope(
400400
if the tracker axes plane slopes down to the east and positive cross-axis
401401
tilt if the tracker axes plane slopes down to the west.
402402
403-
.. versionchanged:: 0.13.1
403+
.. versionchanged:: 0.13.2
404404
Renamed function ``calc_cross_axis_tilt`` to ``calc_cross_axis_slope``.
405405
406406
Parameters
@@ -417,7 +417,7 @@ def calc_cross_axis_slope(
417417
tilt of trackers relative to horizontal. ``axis_slope`` must be >= 0
418418
and <= 90. [degree]
419419
420-
.. versionchanged:: 0.13.1
420+
.. versionchanged:: 0.13.2
421421
Renamed from ``axis_tilt`` to ``axis_slope``.
422422
423423
Returns
@@ -453,13 +453,13 @@ def calc_cross_axis_slope(
453453

454454
# allow deprecated names of calc_cross_axis_slope and calc_axis_slope
455455
calc_axis_tilt = deprecated(
456-
since="0.13.1",
456+
since="0.13.2",
457457
name="calc_axis_tilt", # else it uses calc_axis_slope by introspection
458458
alternative="pvlib.tracking.calc_axis_slope"
459459
)(calc_axis_slope)
460460

461461
calc_cross_axis_tilt = deprecated(
462-
since="0.13.1",
462+
since="0.13.2",
463463
name="calc_cross_axis_tilt", # else it uses calc_cross_axis_slope
464464
alternative="pvlib.tracking.calc_cross_axis_slope"
465465
)(calc_cross_axis_slope)

0 commit comments

Comments
 (0)