jsonschema implementation uses functions that no longer exists
Bug #2031922 reported by
Erik Olof Gunnar Andersson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Undecided
|
Michael Johnson |
Bug Description
When reviewing the designate schema code I noticed that there are a lot of deprecated warnings, and at least one function no longer exists in the version of jsonschema that we use.
Changed in designate: | |
status: | New → In Progress |
To post a comment you must log in.
Example of function that we use that no longer exists /github. com/python- jsonschema/ jsonschema/ commit/ 00031cb04376384 2266877923552e4 0f0c8f36b5 /github. com/openstack/ designate/ blob/29097ed559 53964557f28e758 58bd211ce1c7bca /designate/ schema/ _validators. py#L44
https:/
https:/
Deprecated warnings src/opendev. org/openstack/ designate/ designate/ schema/ format. py:51: DeprecationWarning: Accessing jsonschema. draft3_ format_ checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. format_ checker = jsonschema. draft3_ format_ checker src/opendev. org/openstack/ designate/ designate/ schema/ format. py:52: DeprecationWarning: Accessing jsonschema. draft4_ format_ checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. format_ checker = jsonschema. draft4_ format_ checker
2023-08-17 17:12:30.641881 | ubuntu-jammy | /home/zuul/
2023-08-17 17:12:30.641945 | ubuntu-jammy | draft3_
2023-08-17 17:12:30.649672 | ubuntu-jammy | /home/zuul/
2023-08-17 17:12:30.649729 | ubuntu-jammy | draft4_