Old versions of PyYAML serialize dicts using {} instead of 'key: value';
but {} was interpreted by .format(), causing a KeyError.
Fixes debian build [1]
Differential D3686
Fix test_cli.invoke for old PyYAML versions (such as 3.13, in Debian 10). vlorentz on Aug 3 2020, 11:43 AM. Authored by
Details
Old versions of PyYAML serialize dicts using {} instead of 'key: value'; Fixes debian build [1]
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3686 (id=12985)Rebasing onto cbf71e563d... Current branch diff-target is up to date. Changes applied before testcommit cd790375d89381a753fa2af72701cc35d265d642 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Mon Aug 3 11:43:30 2020 +0200 Fix test_cli.invoke for old PyYAML versions (such as 3.13, in Debian 10). Old versions of PyYAML serialize dicts using {} instead of 'key: value'; but {} was interpreted by .format(), causing a KeyError. See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/36/ for more details. |