buildroot/support
Peter Korsgaard a83177aac6 support/testing/../sample_python_pyyaml_dec.py: unbreak after move to pyaml 6.0
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/2088684091

python sample_python_pyyaml_dec.py
Traceback (most recent call last):
  File "/root/sample_python_pyyaml_dec.py", line 5, in <module>
    data = yaml.load(serialized)
TypeError: load() missing 1 required positional argument: 'Loader'

yaml.load() requires a loader argument since the move to version 6.0:
https://github.com/yaml/pyyaml/pull/561

The test does not need the extra functionality of load(), so instead move to
the recommended safe_load().

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-02-21 21:56:34 +01:00
..
config-fragments support/config-fragments/autobuild: fix bootlin-riscv64 configs 2022-01-04 18:08:57 +01:00
dependencies support/dependencies: avoid spurious warning on print-vars 2021-12-04 20:09:04 +01:00
docker support/docker: add shellcheck 2022-02-06 18:27:03 +01:00
download support/download/helpers: adjust for older coreutils versions 2022-02-11 17:25:24 +01:00
gnuconfig support/gnuconfig: fix previous version bump 2020-09-27 18:30:05 +02:00
kconfig support/kconfig: fix compiler warnings 2021-10-06 21:11:09 +02:00
legal-info core/legal-info: update list of saved material in README 2020-01-18 18:38:42 +01:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc utils/checkpackagelib: run unit tests on GitLab CI 2022-02-06 15:35:19 +01:00
scripts support/pkg-stats: fix regression after cleanup in show-info 2022-02-16 22:38:09 +01:00
testing support/testing/../sample_python_pyyaml_dec.py: unbreak after move to pyaml 6.0 2022-02-21 21:56:34 +01:00