Skip to content

Commit

Permalink
🚀 RELEASE: v0.19.0 (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored Mar 9, 2021
1 parent 17039d2 commit 77e3820
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## v0.19.0 - 2021-03-09

- ‼️ DEPRECATE: `Process.done` method:
This method is a duplicate of `Process.has_terminated`, and is not used anywhere in plumpy (or aiida-core).

- 🐛 FIX: `Task.cancel` should not set state as `EXCEPTED`
`asyncio.CancelledError` are generated when an async task is cancelled.
In python 3.7 this exception class inherits from `Exception`, whereas in python 3.8+ it inherits from `BaseException`.
This meant it python 3.7 it was being caught by `except Exception`, and setting the process state to `EXCEPTED`,
whereas in python 3.8+ it was being re-raised to the caller.
We now ensure in both versions it is re-raised (particularly because aiida-core currently relies on this behaviour).

- 👌 IMPROVE: Process broadcast subscriber
Filter out `state_changed` broadcasts, and allow these to pass-through without generating a (costly) asynchronous task.
Note this also required an update in the minimal kiwipy version, to `0.7.4`

## v0.18.6 - 2021-02-24

👌 IMPROVE: Catch state change broadcast timeout
Expand Down
2 changes: 1 addition & 1 deletion plumpy/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
__version__: str = '0.18.6'
__version__: str = '0.19.0'

__all__ = ['__version__']

0 comments on commit 77e3820

Please sign in to comment.