Merge lp://staging/~freyes/lazr.restfulclient/lp1500460 into lp://staging/lazr.restfulclient
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Colin Watson | ||||
Proposed branch: | lp://staging/~freyes/lazr.restfulclient/lp1500460 | ||||
Merge into: | lp://staging/lazr.restfulclient | ||||
Diff against target: |
11 lines (+1/-0) 1 file modified
setup.py (+1/-0) |
||||
To merge this branch: | bzr merge lp://staging/~freyes/lazr.restfulclient/lp1500460 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Needs Fixing | ||
Review via email: mp+294573@code.staging.launchpad.net |
Description of the change
Dear Maintainers,
This patch adds simplejson as a dependency, because as be seen in the bug 1500460 in clean environments lazr.restfulclient fails with the following error:
Traceback (most recent call last):
File ".tox/pep8/
from charmtools.proof import main
File ".tox/pep8/
from charms import Charm
File ".tox/pep8/
from launchpadlib.
File ".tox/pep8/
from lazr.restfulcli
File ".tox/pep8/
import simplejson
ImportError: No module named simplejson
Best,
Unmerged revisions
- 147. By Felipe Reyes
-
Add simplejson as dependency
Fixes LP: #1500460
Thanks for the patch. However, I don't think we should do this; the current code doesn't in fact need simplejson on any remotely recent version of Python. I'll see if I can sort out an updated release on PyPI.
If you wanted to produce a modified version of this branch, I think it would be entirely reasonable nowadays to remove the simplejson fallback code paths; that would reduce confusion.