Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#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)

ipython-0_10_and_0_11_support.patch (1.2 KB ) - added by Jeff Kowalczyk 14 years ago.
Patch to try IPython 0.11 API, fall back to 0.10 API otherwise.

Download all attachments as: .zip

Change History (3)

by Jeff Kowalczyk, 14 years ago

Patch to try IPython 0.11 API, fall back to 0.10 API otherwise.

comment:1 by Ramiro Morales, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #12735.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top