Skip to content

Commit e96e340

Browse files
committed
Bump deprecation version to 0.14.0 (from 0.13.2)
1 parent 9ecf9e4 commit e96e340

3 files changed

Lines changed: 26 additions & 26 deletions

File tree

pvlib/pvsystem.py

Lines changed: 8 additions & 8 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.2
1439+
.. versionchanged:: 0.14.0
14401440
Renamed from ``axis_tilt`` to ``axis_slope``.
14411441
14421442
axis_azimuth : float, default 180
@@ -1476,7 +1476,7 @@ class SingleAxisTrackerMount(AbstractMount):
14761476
In degrees :math:`^{\circ}`.
14771477
See :term:`cross_axis_slope`.
14781478
1479-
.. versionchanged:: 0.13.2
1479+
.. versionchanged:: 0.14.0
14801480
Renamed from ``cross_axis_tilt`` to ``cross_axis_slope``.
14811481
14821482
racking_model : str, optional
@@ -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.2",
1509+
since="0.14.0",
15101510
old_param_name="axis_tilt",
15111511
new_param_name="axis_slope",
15121512
)
15131513
@renamed_kwarg_warning(
1514-
since="0.13.2",
1514+
since="0.14.0",
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.2. "
1534+
"'axis_tilt' is deprecated since v0.14.0. "
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.2. "
1544+
"'axis_tilt' is deprecated since v0.14.0. "
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.2. "
1554+
"'cross_axis_tilt' is deprecated since v0.14.0. "
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.2. "
1564+
"'cross_axis_tilt' is deprecated since v0.14.0. "
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.2",
240+
since="0.14.0",
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.2
270+
.. versionchanged:: 0.14.0
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.2",
359+
since="0.14.0",
360360
old_param_name="axis_tilt",
361361
new_param_name="axis_slope",
362362
)
363363
@renamed_kwarg_warning(
364-
since="0.13.2",
364+
since="0.14.0",
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.2
419+
.. versionchanged:: 0.14.0
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.2
429+
.. versionchanged:: 0.14.0
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.2",
11+
since="0.14.0",
1212
old_param_name="axis_tilt",
1313
new_param_name="axis_slope",
1414
)
1515
@renamed_kwarg_warning(
16-
since="0.13.2",
16+
since="0.14.0",
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.2
59+
.. versionchanged:: 0.14.0
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.2
99+
.. versionchanged:: 0.14.0
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.2",
223+
since="0.14.0",
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.2
243+
.. versionchanged:: 0.14.0
244244
Renamed from ``axis_tilt`` to ``axis_slope``.
245245
246246
axis_azimuth : float, default 0
@@ -289,7 +289,7 @@ def calc_axis_slope(slope_azimuth, slope_tilt, axis_azimuth):
289289
respect to horizontal, ranging from 0 degrees (horizontal axis) to 90
290290
degrees (vertical axis).
291291
292-
.. versionchanged:: 0.13.2
292+
.. versionchanged:: 0.14.0
293293
Renamed function ``calc_axis_tilt`` to ``calc_axis_slope``.
294294
295295
Parameters
@@ -381,7 +381,7 @@ def _calc_beta_c(v, dg, ba):
381381

382382

383383
@renamed_kwarg_warning(
384-
since="0.13.2",
384+
since="0.14.0",
385385
old_param_name="axis_tilt",
386386
new_param_name="axis_slope",
387387
)
@@ -399,7 +399,7 @@ def calc_cross_axis_slope(
399399
if the tracker axes plane slopes down to the east and positive cross-axis
400400
tilt if the tracker axes plane slopes down to the west.
401401
402-
.. versionchanged:: 0.13.2
402+
.. versionchanged:: 0.14.0
403403
Renamed function ``calc_cross_axis_tilt`` to ``calc_cross_axis_slope``.
404404
405405
Parameters
@@ -416,7 +416,7 @@ def calc_cross_axis_slope(
416416
tilt of trackers relative to horizontal. ``axis_slope`` must be >= 0
417417
and <= 90. [degree]
418418
419-
.. versionchanged:: 0.13.2
419+
.. versionchanged:: 0.14.0
420420
Renamed from ``axis_tilt`` to ``axis_slope``.
421421
422422
Returns
@@ -452,13 +452,13 @@ def calc_cross_axis_slope(
452452

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

460460
calc_cross_axis_tilt = deprecated(
461-
since="0.13.2",
461+
since="0.14.0",
462462
name="calc_cross_axis_tilt", # else it uses calc_cross_axis_slope
463463
alternative="pvlib.tracking.calc_cross_axis_slope"
464464
)(calc_cross_axis_slope)

0 commit comments

Comments
 (0)