[PKG-Openstack-devel] Bug#839075: confirmed on stretch as of today

Paolo Greppi paolo.greppi at libpf.com
Fri Oct 7 07:46:48 UTC 2016


I installed python3-jsonschema on clean debian stretch amd64 lxc
container and could reproduce the issue

installing python3-pkg-resources fixes it:

# apt-get install python3-jsonschema
...

# jsonschema
Traceback (most recent call last):
  File "/usr/bin/jsonschema", line 5, in <module>
    from pkg_resources import load_entry_point

# apt-get install python3-jsonschema python3-pkg-resources
...

# jsonschema
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR]
schema

JSON Schema Validation CLI

positional arguments:
  schema                the JSON Schema to validate with

optional arguments:
  -h, --help            show this help message and exit
  -i INSTANCES, --instance INSTANCES
                        a path to a JSON instance to validate (may be
                        specified multiple times)
  -F ERROR_FORMAT, --error-format ERROR_FORMAT
                        the format to use for each error output message,
                        specified in a form suitable for passing to
                        str.format, which will be called with 'error'
for each
                        error
  -V VALIDATOR, --validator VALIDATOR
                        the fully qualified object name of a validator
to use,
                        or, for validators that are registered with
                        jsonschema, simply the name of the class.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20161007/d083869e/attachment.sig>


More information about the Openstack-devel mailing list