[PKG-Openstack-devel] Bug#867626: python-json-patch FTBFS with python 3.6 as supported version

Adrian Bunk bunk at debian.org
Fri Jul 7 23:19:14 UTC 2017


Source: python-json-patch
Version: 1.19-4
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-json-patch.html

...
set -e ; for pyvers in 2.7 3.6 3.5; do \
	PYTHONPATH=/build/1st/python-json-patch-1.19 python$pyvers ./tests.py ; \
done
...................................................................
----------------------------------------------------------------------
Ran 67 tests in 0.046s

OK
Traceback (most recent call last):
  File "./tests.py", line 9, in <module>
    import jsonpatch
  File "/build/1st/python-json-patch-1.19/jsonpatch.py", line 114, in <module>
    json.load = get_loadjson()
  File "/build/1st/python-json-patch-1.19/jsonpatch.py", line 108, in get_loadjson
    argspec = inspect.getargspec(json.load)
  File "/usr/lib/python3.6/inspect.py", line 1072, in getargspec
    raise ValueError("Function has keyword-only parameters or annotations"
ValueError: Function has keyword-only parameters or annotations, use getfullargspec() API which can support them
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list