Skip to content

Commit

Permalink
bump: version 0.6.1a0 -> 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Jul 9, 2024
1 parent 2bc589b commit 9967e02
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
20 changes: 0 additions & 20 deletions changelog/53.fix.md

This file was deleted.

27 changes: 27 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,33 @@ of rst and use slightly different categories.

<!-- towncrier release notes start -->

## openscm-units v0.6.1 (2024-07-09)


### Bug Fixes

- Fixed accidental aliasing of "yr" to "a".

We had accidentally assigned "yr" to be an alias for "a".
This meant we had the following behaviour

```python
>>> from openscm_units import unit_registry
>>> val = unit_registry.Quantity(1, "yr")
>>> val
<Quantity(1, 'a')>
```

This PR fixes this so that if you pass in "yr", it stays as yr i.e. you get

```python
>>> from openscm_units import unit_registry
>>> val = unit_registry.Quantity(1, "yr")
>>> val
<Quantity(1, 'yr')>
``` ([#53](https://github.com/openscm/openscm-units/pulls/53))
## openscm-units v0.6.0 (2024-06-15)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openscm-units"
version = "0.6.1a0"
version = "0.6.1"
description = "Handling of units related to simple climate modelling."
authors = [
"Zebedee Nicholls <[email protected]>",
Expand Down

0 comments on commit 9967e02

Please sign in to comment.