Skip to content

Commit

Permalink
Prepare v0.12.1 (#290)
Browse files Browse the repository at this point in the history
* update HISTORY.rst
* Bump version: 0.12.0 → 0.12.1



---------

Co-authored-by: David Huard <huard.david@ouranos.ca>
  • Loading branch information
Zeitsperre and huard authored Jun 1, 2023
1 parent 7b9b55e commit 14aedc8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"project_slug": "ravenpy",
"project_short_description": "A Python wrapper to setup and run the hydrologic modelling framework Raven.",
"pypi_username": "CSHS-CWRA",
"version": "0.12.0",
"version": "0.12.1",
"use_pytest": "y",
"use_black": "y",
"use_pypi_deployment_with_travis": "y",
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ repos:
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: setup.cfg
- id: end-of-file-fixer
- id: check-json
- id: check-toml
Expand Down
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ History

0.12.1 (2023-06-01)
-------------------
This release is largely a bugfix to better stabilize performance and enhance the documentation.

* Avoid repeatedly calling `xr.open_dataset` in `OutputReader`'s `hydrograph` and `storage` properties. This seems to cause kernel failures in Jupyter notebooks.

Internal changes
^^^^^^^^^^^^^^^^
* Hyperlinks to documented functions now points to entries in the `User API` section.
* Docstrings are now more conformant to numpy-docstring conventions and formatting errors raised from badly-formatted pydantic-style docstrings have been addressed.
* In order to prevent timeout and excessive memory usage, Jupyter notebooks have been adjusted to no longer run on ReadTheDocs. All notebooks have been updated to the latest RavenPy and remain tested against RavenPy externally.
* Documentation built on ReadTheDocs is now set to `fail_on_warning`.

0.12.0 (2023-05-25)
-------------------
This release includes major breaking changes. It completely overhauls how models are defined, and how to run
Expand Down
2 changes: 1 addition & 1 deletion ravenpy/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

__author__ = "David Huard"
__email__ = "huard.david@ouranos.ca"
__version__ = "0.12.0"
__version__ = "0.12.1"
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.12.0
current_version = 0.12.1
commit = True
tag = False

Expand All @@ -12,7 +12,7 @@ search = "version": "{current_version}",
replace = "version": "{new_version}",

[flake8]
exclude =
exclude =
.git,
docs,
build,
Expand All @@ -27,7 +27,7 @@ exclude =
.txt,
max-line-length = 88
max-complexity = 12
ignore =
ignore =
C901
E203
E231
Expand All @@ -37,9 +37,9 @@ ignore =
F403
W503
W504
per-file-ignores =
per-file-ignores =
tests/*:E402
rst-roles =
rst-roles =
mod,
py:attr,
py:attribute,
Expand All @@ -56,7 +56,7 @@ rst-roles =
[pycodestyle]
count = False
exclude = tests
ignore =
ignore =
E226,
E402,
E501,
Expand Down

0 comments on commit 14aedc8

Please sign in to comment.