lp-shell IPython-based interactive shell doesn't load on lunar

Bug #2017644 reported by Guruprasad
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lptools
Fix Committed
Low
Guruprasad
lptools (Ubuntu)
Fix Released
Medium
Brian Murray
Lunar
Won't Fix
Undecided
Unassigned

Bug Description

This issue appears to be because of IPython changing a dotted import path from `from IPython.frontend.terminal.embed import InteractiveShellEmbed` to `from IPython.terminal.embed import InteractiveShellEmbed`. This raises an exception that `lp-shell` handles by loading the vanilla Python shell.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: lptools 0.2.0-7ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Tue Apr 25 10:43:03 2023
InstallationDate: Installed on 2021-12-02 (508 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitecture: all
SourcePackage: lptools
UpgradeStatus: Upgraded to lunar on 2023-04-20 (4 days ago)

Related branches

Revision history for this message
Guruprasad (lgp171188) wrote :
Guruprasad (lgp171188)
Changed in lptools:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Guruprasad (lgp171188)
Changed in lptools (Ubuntu Lunar):
status: New → Triaged
Changed in lptools (Ubuntu):
status: New → Triaged
status: Triaged → In Progress
assignee: nobody → Brian Murray (brian-murray)
Changed in lptools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lptools - 0.2.0-7ubuntu2

---------------
lptools (0.2.0-7ubuntu2) mantic; urgency=medium

  * d/p/03_ipython_import: Use the updated import path for ipython's
    InteractiveShellEmbed. (LP: #2017644)

 -- Brian Murray <email address hidden> Fri, 22 Sep 2023 14:22:16 -0700

Changed in lptools (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Guruprasad (lgp171188) wrote (last edit ):

Hi Brian, thank you for releasing this fix in mantic. I see that you have incorporated the fix as a new debian patch. Since this fix and the python3 port changes have been merged upstream (https://bazaar.launchpad.net/~launchpad/lptools/trunk/changes/48), can you tell us what we, the Launchpad team, should do as the upstream maintainers to help drop these patches in mantic or a future release and use the upstream source as is?

Revision history for this message
Guruprasad (lgp171188) wrote :

FYI Jelmer ^, as the Debian lptools package uploader and the author of the Python3 port changes.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Please create a new release with the changes - that's generally what we package.

Revision history for this message
Guruprasad (lgp171188) wrote :

We have migrated `lptools` to a git repository (lp:lptools) and released `lptools` 0.3.0 today.

Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release.

Changed in lptools (Ubuntu Lunar):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.