[openstack-dev] jsonschema version constraint

Parthipan, Loganathan parthipan at hp.com
Fri Nov 29 13:31:23 UTC 2013


Hi,

Do we need to update the jsonschema constraint in the requirements.txt? Many tests are failing with jsonschema 1.3.0 with the same error.

======================================================================
FAIL: nova.tests.test_api_validation.AdditionalPropertiesDisableTestCase.test_validate_additionalProperties_disable
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "/tmp/buildd/nova-2014.1.dev990.g2c795f0/nova/tests/test_api_validation.py", line 133, in setUp
    @validation.schema(request_body_schema=schema)
  File "/tmp/buildd/nova-2014.1.dev990.g2c795f0/nova/api/validation/__init__.py", line 36, in schema
    schema_validator = _SchemaValidator(request_body_schema)
  File "/tmp/buildd/nova-2014.1.dev990.g2c795f0/nova/api/validation/validators.py", line 51, in __init__
    validator_cls = jsonschema.validators.extend(self.validator_org,
AttributeError: 'dict' object has no attribute 'extend'


~parthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131129/e69242f7/attachment.html>


More information about the OpenStack-dev mailing list