pythonpy displays Python deprecation warning when run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pythonpy (Debian) |
Fix Released
|
Unknown
|
|||
pythonpy (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
The program pythonpy displays a deprecation warning before the expected output every time it is run.
Expected:
> py "43 - 1"
42
Actual:
> py "43 - 1"
/usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Iterable
42
This can be fixed by slightly editing one line (see attached patch).
The source listed both at packages.ubuntu.com and pypi.org (see <https:/
While I'm on Pop!_OS, my understanding is that this package comes from Ubuntu and thus this is where I should file this.
System version:
Description: Pop!_OS 20.04 LTS
Release: 20.04
Package version:
pythonpy:
Installed: 0.4.11b-3
Candidate: 0.4.11b-3
Version table:
*** 0.4.11b-3 500
500 http://
500 http://
100 /var/lib/
System python3 version (referred to by the shebang of pythonpy):
Python 3.7.4
Related branches
- Lucas Kanashiro (community): Approve
- Canonical Server: Pending requested
-
Diff: 68 lines (+35/-1)4 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/patches/0003-py310-collections-import.patch (+25/-0)
debian/patches/series (+1/-0)
description: | updated |
Changed in pythonpy (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
Changed in pythonpy (Debian): | |
status: | Unknown → New |
Changed in pythonpy (Debian): | |
status: | New → Fix Committed |
Changed in pythonpy (Debian): | |
status: | Fix Committed → Fix Released |
The attachment "pythonpy- 0.4.11- deprecation_ warning. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]