python-json-patch monkeypatching causes AttributeError with python-networkx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-json-patch (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
On Ubuntu 14.04.5 LTS with:
- python 2.7.5-5ubuntu3
- python-json-patch 1.3-4
- python-networkx 1.8.1-0ubuntu3
Error can be triggered with the following example:
---
$ cat conflict1.py
import jsonpatch
from networkx.readwrite import json_graph
$ python conflict1.py
Traceback (most recent call last):
File "conflict1.py", line 11, in <module>
from networkx.
File "/usr/lib/
from networkx.
File "/usr/lib/
update_
File "/usr/lib/
setattr(
AttributeError: 'functools.partial' object has no attribute '__module__'
---
The error is reported and fixed in upstream [0] but the commit is after Python 2.x support has been removed in commit 7079bdc7bf4be53
[0] https:/
description: | updated |
tags: | added: trusty |
Marking Incomplete as patch not provided; happy to take a look if you want to attach it to this bug.
Thanks!