Closed mrburke closed 3 years ago
Could you please check tools/..../exceptions.py - SchemaValidationError to see if any of the code added to parse the unicode encoded string/s from jsonschema validation errors needs a change?
Just commenting to reflect that we spoke offline, CP-6009 will cover the types of changes mentioned by Ravi above
Context:
This change begins preparing for the move to Python3.8 by running
futurize --stage1 ...
against all 5 packages (very few changes), and by usingsix
to remove all direct references tobasestring
in the source code. CP-6009 will handle all other vSDK changes for this project. In Py2,six.string_types = [basestring]
and in Py3,six.string_types = [str]
. This will also take a little bit of weight off of the upcoming CP-6009 review, which can then focus mainly on introducingto_str
andto_bytes
helpers across the repo as necessary.Testing
Blackbox: virtualization_sdk appdata_basic and unit tests passed