File tree Expand file tree Collapse file tree 3 files changed +28
-21
lines changed
Expand file tree Collapse file tree 3 files changed +28
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,6 +19,33 @@ of rst and use slightly different categories.
1919
2020<!-- towncrier release notes start -->
2121
22+ ## openscm-units v0.6.1 (2024-07-09)
23+
24+
25+ ### Bug Fixes
26+
27+ - Fixed accidental aliasing of "yr" to "a".
28+
29+ We had accidentally assigned "yr" to be an alias for "a".
30+ This meant we had the following behaviour
31+
32+ ``` python
33+ >> > from openscm_units import unit_registry
34+ >> > val = unit_registry.Quantity(1 , " yr" )
35+ >> > val
36+ < Quantity(1 , ' a' )>
37+ ```
38+
39+ This PR fixes this so that if you pass in "yr", it stays as yr i.e. you get
40+
41+ ``` python
42+ >> > from openscm_units import unit_registry
43+ >> > val = unit_registry.Quantity(1 , " yr" )
44+ >> > val
45+ < Quantity(1 , ' yr' )>
46+ ``` ([# 53](https://github.com/openscm/openscm-units/pulls/53))
47+
48+
2249# # openscm-units v0.6.0 (2024-06-15)
2350
2451
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " openscm-units"
3- version = " 0.6.1a0 "
3+ version = " 0.6.1 "
44description = " Handling of units related to simple climate modelling."
55authors = [
66 " Zebedee Nicholls <zebedee.nicholls@climate-energy-college.org>" ,
You can’t perform that action at this time.
0 commit comments