Version-Release number of selected component (if applicable): sh$ rpm -q python3-fmf python3-fmf-0.6-1.fc29.noarch python3-pyyaml-5.1-1.fc29.x86_64 How reproducible: deterministic Steps to Reproduce: 1. dnf install -y python3-fmf 2. mkdir /tmp/.fmf 3. echo 1 > /tmp/.fmf/version 4. touch /tmp/test.fmf 5. python3 -c 'import fmf; fmf.base.Tree("/tmp")' Actual results: sh$ python3 -c 'import fmf; fmf.base.Tree("/tmp")' /usr/lib/python3.7/site-packages/fmf/base.py:248: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. data = yaml.load(datafile) Expected results: sh$ python3 -c 'import fmf; fmf.base.Tree("/tmp")' sh$ echo $? 0
This should be fixed in fmf-0.7: https://github.com/psss/fmf/commit/610c1e5
FEDORA-2019-264494cbb8 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-264494cbb8
FEDORA-2019-add85400c1 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-add85400c1
Is there any reason why you cannot use yaml.safe_load?
SafeLoader loads a subset of the YAML language: https://msg.pyyaml.org/load So FullLoader seems to be a better choice.
OK and thank you for update in bodhi
FEDORA-EPEL-2019-bc1a482afe has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-bc1a482afe
fmf-0.7-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-264494cbb8
fmf-0.7-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-add85400c1
fmf-0.7-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-bc1a482afe
fmf-0.7-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
fmf-0.7-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
fmf-0.7-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.