Closed
Description
Yesterday pyyaml was updated to version 4.1
And now I'm receiving this error:
yaml.representer.RepresenterError: ('cannot represent an object', URL('<url>')
The problem is in the vcr/serializers/yamlserializer.py
file.
When the method serialize
method is called.
I found this pull request that was pushed in the version 4.1 of pyyaml:
yaml/pyyaml#74
where they change the behaviour dump
, Dumper
, CDumper
and the same with the loaders. Before the update this methods were "danger" and now are "safe" then we can change the line in the serializer to the "danger" version because is exactly the same that we use before this update.
I'll try to fix it later.
Metadata
Assignees
Labels
No labels