pypy3 interactively -> help() -> modules => ShimWarning & missing togl

Bug #1920675 reported by zapyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python
New
Unknown
pypy3 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

After installation of pypy3 in ran pypy3 interactively and tried

help()

then, to see the list of available modules,

modules

Trying to generate the list, pypy3 printed the following messages:

help> modules [140/605]

Please wait a moment while I gather a list of all available modules...

----8<----

/usr/lib/python3/dist-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You shoul
d import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)
Expected Tk Togl installation in /usr/lib/python3/dist-packages/OpenGL/Tk/togl-linux-64
gi is not installed, assuming you only want to get info for this application.

----8<----

The list of modules was printed in the end, but I am not sure if any are missing from the list.

I installed the togl2 and togl2-dev packages and tried again. No changes.

What can be done to fix this?

Regards

Andreas

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: pypy3 7.3.1+dfsg-4ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-45.51-generic 5.8.18
Uname: Linux 5.8.0-45-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sun Mar 21 16:33:49 2021
SourcePackage: pypy3
UpgradeStatus: Upgraded to groovy on 2020-10-31 (141 days ago)

Revision history for this message
zapyon (zapyon) wrote :
Revision history for this message
Stefano Rivera (stefanor) wrote :

These warnings are being emitted by modules that pypy is importing.

I see exactly the same behaviour on cpython, so this is a cpython upstream bug.

PyPy aims for bug-for-bug compatibility with cpython, so I filed https://bugs.python.org/issue44215 for you.

Changed in pypy3 (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Changed in python:
status: Unknown → New
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.