#13554 closed (duplicate)
shell: IPython 0.11 API change, use IPythonApp if detected, fallback for <=0.10
Reported by: | Jeff Kowalczyk | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 1.1 |
Severity: | Keywords: | ipython shell | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
django-admin.py shell uses IPython if detected. The IPython git master branch (IPython 0.11) has a breaking change affecting Django.
Old way:
shell = IPython.Shell.IPShell(argv=[]) shell.mainloop()
New way:
app = IPythonApp(argv=[]) app.start()
IPython-0.10 is the latest release on PyPI, IPython-0.11 is only in alpha.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch to try IPython 0.11 API, fall back to 0.10 API otherwise.