Bug 68

Title: Please update to pyyaml version 6
Type: behavior Severity: normal
Components: chart Versions:
Status: Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ced, yangoon
Priority: normal Keywords:

Created on 2022-10-20 10:33 by yangoon, last changed 2022-10-20 11:19 by ced.

msg188 Author: [hidden] (yangoon) Date: 2022-10-20 10:33
This request relates to :

We hope to upgrade python3-yaml (aka pyyaml) to version 6 before the
freeze, per #1008262

Your package appears to use `yaml.load()` without specifying a `Loader=`
argument, which will become an error in pyyaml version 6. This should
have emitted a warning message since version 5.1 (from 2019).

In most cases this can be fixed by replacing `yaml.load` with
`yaml.safe_load`, unless the ability for yaml to create arbitrary python
objects is desirable.

Found in relatorio/templates/

I bumped priority and severity because trytond depends on relatorio and will be removed (e.g. the complete Tryton suite) from Debian testing and thus the next Debian stable release as soon as python3-pyyaml version 6 will be uploaded to the archive.

Please consider updating soon.
msg189 Author: [hidden] (ced) Date: 2022-10-20 11:07
Our priority does not depend on other priorities. If someone wants to have something quickly, he just has to contribute following:
msg190 Author: [hidden] (ced) Date: 2022-10-20 11:19
We will need to have tests for the chart template to catch future API changes.
Date User Action Args
2022-10-20 11:19:45cedsetmessages: + msg190
2022-10-20 11:18:40cedsetseverity: urgent -> normal
2022-10-20 11:07:09cedsetmessages: + msg189
nosy: + ced
priority: high -> normal
2022-10-20 10:33:51yangooncreate