You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following change to PyYAML ( yaml/pyyaml#163 ) altered the behavior of loading yaml files.
As of PyYAML 5.3, datetime strings like 2020-01-01T00:00:00+00:00 will be loaded as timezone-aware datetimes.
Description
The following change to PyYAML ( yaml/pyyaml#163 ) altered the behavior of loading yaml files.
As of PyYAML 5.3, datetime strings like
2020-01-01T00:00:00+00:00
will be loaded as timezone-aware datetimes.Expected behaviour
This test currently rely on PyYAML loading TZ-naive datetimes:
https://github.com/zalando/connexion/blob/master/tests/test_flask_encoder.py#L66
PyYAML < 5.3 will return
2000-01-23T04:56:07.000008Z
PyYAML >= 5.3 will return
2000-01-23T04:56:07.000008+00:00
We should update the tests to allow the changes in PyYAML 5.3
Actual behaviour
We currently depend on the timezone-naive yaml loader from PyYAML < 5.3
Steps to reproduce
Run Travis CI on master
Potential Fix
#1125
The text was updated successfully, but these errors were encountered: