stack trace on import with python3.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-json-patch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ dpkg-query --show python3
python3 3.6.1-0ubuntu1~
$ dpkg-query --show python3-jsonpatch
python3-jsonpatch 1.19-4
$ python3 -c 'import jsonpatch'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
json.load = get_loadjson()
File "/usr/lib/
argspec = inspect.
File "/usr/lib/
raise ValueError(
ValueError: Function has keyword-only parameters or annotations, use getfullargspec() API which can support them
Related bugs:
* bug 1703697 cloud-init tox fails under python 3.6
* https:/
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: python3-jsonpatch 1.19-4
ProcVersionSign
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.5-0ubuntu5
Architecture: amd64
Date: Thu Jul 13 00:36:26 2017
Dependencies: python3-
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: python-json-patch
UpgradeStatus: No upgrade log present (probably fresh install)
This is fixed with current python-json-patch from upstream (1.16)