yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95429
[Bug 2089051] Re: jsonschema: FormatChecker.cls_checks was deprecated
Reviewed: https://review.opendev.org/c/openstack/keystone/+/935689
Committed: https://opendev.org/openstack/keystone/commit/05462354cd01dd82bcb4aadb1a6f0dc9a9c0d8d5
Submitter: "Zuul (22348)"
Branch: master
commit 05462354cd01dd82bcb4aadb1a6f0dc9a9c0d8d5
Author: Takashi Kajinami <kajinamit@xxxxxxxxxxxxxxx>
Date: Wed Nov 20 02:25:35 2024 +0900
Replace deprecated FormatChecker.cls_checks
The method was deprecated in jsonschema 4.14.0[1] and now triggers
the following warning.
DeprecationWarning: FormatChecker.cls_checks is deprecated. Call
FormatChecker.checks on a specific FormatChecker instance instead.
Also drop redundant override of FormatChecker. The overridden check
method is identical with the same method in the parent class.
[1] https://github.com/python-jsonschema/jsonschema/commit/cd8f0592b93947a9deb8b3e6502cc5a69cb6d722
Closes-Bug: #2089051
Change-Id: I0ddf9afc4f19331a6d902ac28bbe6dd8e6fd28e2
** Changed in: keystone
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2089051
Title:
jsonschema: FormatChecker.cls_checks was deprecated
Status in Cinder:
In Progress
Status in Ironic:
In Progress
Status in OpenStack Identity (keystone):
Fix Released
Status in OpenStack Shared File Systems Service (Manila):
Fix Released
Status in OpenStack Compute (nova):
Fix Released
Status in placement:
Fix Released
Status in tacker:
In Progress
Status in tempest:
In Progress
Bug description:
The method was deprecated in jsonschema 4.14.0[1] and now triggers the
following warning.
---
DeprecationWarning: FormatChecker.cls_checks is deprecated. Call FormatChecker.checks on a specific FormatChecker instance instead.
---
We should update the usage accordingly.
[1] https://github.com/python-
jsonschema/jsonschema/commit/cd8f0592b93947a9deb8b3e6502cc5a69cb6d722
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/2089051/+subscriptions