1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-07 20:41:55 +01:00

utils/misc: Move load_struct_from_yaml() from WA to devlib

This is copied from WA (workload-automation/wa/utils/misc.py).
Hence, published another PR [1] removes the implementation from WA.

OTOH, this patch uses ``ruamel`` instead of ``yaml`` because of the
latter's design issues.

And also this patch fixes pylint issues in ``load_struct_from_yaml()``.

[1] https://github.com/ARM-software/workload-automation/pull/1248

Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
Metin Kaya
2024-02-05 10:17:31 +00:00
committed by Marc Bonnici
parent 39dfa7ef72
commit b5715b6560
2 changed files with 26 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ params = dict(
'lxml', # More robust xml parsing
'nest_asyncio', # Allows running nested asyncio loops
'future', # for the "past" Python package
'ruamel.yaml >= 0.15.72', # YAML formatted config parsing
],
extras_require={
'daq': ['daqpower>=2'],