Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ jobs:
with:
python-version: "3.12"
install-extras: "test,orange"
- run: python -m gevent.monkey --module pytest . -v $PYTEST_WARNINGS
- run: >-
python -m gevent.monkey --module pytest . -v $PYTEST_WARNINGS
-W "ignore:Field name \"pk\" in \"EmbeddedJsonModel\" shadows an attribute in parent \"JsonModel\":UserWarning"

test-3-12-redis:
needs: build
Expand Down Expand Up @@ -145,7 +147,9 @@ jobs:
python-version: "3.12"
install-extras: "test,orange"
- run: redis-server &
- run: python -m gevent.monkey --module pytest . -v $PYTEST_WARNINGS
- run: >-
python -m gevent.monkey --module pytest . -v $PYTEST_WARNINGS
-W "ignore:Field name \"pk\" in \"EmbeddedJsonModel\" shadows an attribute in parent \"JsonModel\":UserWarning"

test-3-12-examples-sql:
needs: build
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add ewoksjob options under `EWOKSJOB_OPTIONS`: ``log_memory_usage`` and ``detect_memory_leaks``.
- Added ability to handle remote ewoksutils exception types on the client side.

### Fixed

- Raise an error when the configuration from `EWOKS_CONFIG_URI` is empty.

## [1.5.0] - 2026-03-30

### Added
Expand Down
4 changes: 4 additions & 0 deletions src/ewoksjob/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ def read_configuration(cfg_uri: str) -> dict:
if "celery" in config:
celery_config = config.pop("celery")
config = {**config, **celery_config}

if not config:
raise ValueError(f"Celery configuration '{cfg_uri}' is empty")

return config


Expand Down
Loading