Bug 50266 - YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated
Status: VERIFIED WORKSFORME
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Mika Westphal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-26 10:01 CEST by Florian Best
Modified: 2022-11-04 14:46 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-09-26 10:01:02 CEST
A python warning is printed when executing tests:

/usr/lib/python2.7/dist-packages/univention/testing/data.py:528: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  header = yaml.load(reader) or {}
Comment 1 Mika Westphal univentionstaff 2022-11-04 14:43:07 CET
Was already fixed in 
8908498ba1ed | Bug #50631: use yaml.safe_load()
https://forge.univention.org/bugzilla/show_bug.cgi?id=50631
Comment 2 Florian Best univentionstaff 2022-11-04 14:46:26 CET
OK