Skip to content

Release 0.24.0#307

Closed
khsrali wants to merge 11 commits intomasterfrom
release/0.24.0
Closed

Release 0.24.0#307
khsrali wants to merge 11 commits intomasterfrom
release/0.24.0

Conversation

@khsrali
Copy link
Contributor

@khsrali khsrali commented Jan 9, 2025

No description provided.

sebaB003 and others added 11 commits June 24, 2024 11:20
Calling `Waiting.resume()` when it had already been resumed would raise
an exception. Here, the method is made idempotent by checking first
whether the future has already been resolved. This fix ensures the
behavior matches the behavior of the other state transitions: calling
`play` on an already running process and calling `pause` on an already
paused process isn't rising any error.

(cherry picked from commit 20e5898)
This is a temporary workaround for `aio-pika` breaking for v4.5.0
See mosquito/aio-pika#649

(cherry picked from commit 3b9318c)
* Bump version for pytest and pytest tools
* Use ruff with aligning to aiida-core ruff config
* Update mypy to 1.13.0
* Remove all pylint ignore annotations
* Bump ruff to 0.8.0 for sort the imports
* Update python version to 3.12 for pre-commit CI
* Double quotes for eval inside single quotes f-strings
* Exclude tests/.* for ruff linting
* Do not fail-fast so tests for different python version independent

(cherry picked from commit 55e05e9)
Co-authored-by: Ali <khsrali@gmail.com>
(cherry picked from commit 4611154)

Co-authored-by: Ali <khsrali@gmail.com>
Since kiwipy pinning the upbound version of aio-pika to 9.4.0 to not
include the bug of typing-extentions import error of
mosquito/aio-pika#649.

(cherry picked from commit e06d522)
…on (#291)

The messages to passing over rabbitmq for process control is build dynamically and able to carry more information. In the old implementation, the messages ace global dictionary variables and when the message need to change by copy which is error-prone.
This commit introduce the `MessageBuilder` with class methods for creating kill/pause/status/play messages. For "kill" message, I also add support for passing the `force_kill` option.

(cherry picked from commit f760b4a)
Amend for message build, now also construct message for pause operations.

* Rename `MESSAGE_KEY` to `MESSAGE_TEXT_KEY`

(cherry picked from commit a4b8962)
@khsrali khsrali closed this Jan 9, 2025
@khsrali khsrali deleted the release/0.24.0 branch January 9, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants