diff --git a/CHANGELOG.md b/CHANGELOG.md index beb91f426..ae145096e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Dependencies: Update codecov/codecov-action from 3 to 5 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update crate-ci/typos from 1.26.8 to 1.28.4 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update cryptography from 43.0.3 to 44.0.0 ([@dirksammel](https://github.com/dirksammel)) +- Dependencies: Update mypy from 1.13.0 to 1.14.1 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update pydantic from 2.9.2 to 2.10.4 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update pyo3 from 0.20.3 to 0.22.5 ([@dirksammel](https://github.com/dirksammel)) - Dependencies: Update pytest from 8.3.3 to 8.3.4 ([@dirksammel](https://github.com/dirksammel)) diff --git a/plugins/apel/pyproject.toml b/plugins/apel/pyproject.toml index 1f92e2fad..4bea53b3d 100644 --- a/plugins/apel/pyproject.toml +++ b/plugins/apel/pyproject.toml @@ -24,7 +24,7 @@ style = [ tests = [ "pytest==8.3.4", "pytest-cov==6.0.0", - "mypy==1.13.0", + "mypy==1.14.1", "types-pyyaml==6.0.12.20240917", "types-requests==2.32.0.20241016", ] diff --git a/plugins/apel/src/auditor_apel_plugin/config.py b/plugins/apel/src/auditor_apel_plugin/config.py index 6b646bbf4..d2e47e4d0 100644 --- a/plugins/apel/src/auditor_apel_plugin/config.py +++ b/plugins/apel/src/auditor_apel_plugin/config.py @@ -27,7 +27,10 @@ class MessageType(Enum): class Configurable(BaseModel): @classmethod def from_yaml(cls, loader: yaml.SafeLoader, node: yaml.nodes.MappingNode): - return cls(**loader.construct_mapping(node, deep=True)) + mapping = loader.construct_mapping(node, deep=True) + string_mapping = {str(k): v for k, v in mapping.items()} + + return cls(**string_mapping) class Function(Configurable):