From 024c82a6240f16cbf7e97fe820b6bc34a7513b7b Mon Sep 17 00:00:00 2001 From: Gerwin Klein Date: Thu, 11 Jul 2024 14:12:41 +1000 Subject: [PATCH] undyped_gen: remove pyaml dependency We only need the yaml part, and `pyaml` (Pretty Yaml) has been removed from sel4-deps in sel4-deps 0.4.0. Instead sel4-deps now has `pyyaml`, which only provides the `yaml` import. Signed-off-by: Gerwin Klein --- CHANGES.md | 2 ++ cdl_utils/untyped_gen.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3fa7ad4e..10dca21a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,8 +14,10 @@ ### Changes +* remove `pyaml` python dependency and use `pyyaml` (import `yaml`) directly. ### Upgrade Notes + --- ## 0.3 2024-07-01 diff --git a/cdl_utils/untyped_gen.py b/cdl_utils/untyped_gen.py index a6107e5b..5fbd6235 100755 --- a/cdl_utils/untyped_gen.py +++ b/cdl_utils/untyped_gen.py @@ -14,7 +14,7 @@ from collections import namedtuple, deque, defaultdict from elftools.elf.elffile import ELFFile -from pyaml import yaml +import yaml from sortedcontainers import SortedList from capdl import register_object_sizes