Opened 7 years ago

Closed 7 years ago

Last modified 5 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: UI/UX:

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 7 years ago.
Patch to try IPython 0.11 API, fall back to 0.10 API otherwise.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Jeff Kowalczyk

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

comment:1 Changed 7 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

Duplicate of #12735.

comment:2 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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