Public bug reported: 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://pypi.org/project/pip/>) points to a deleted GitHub repo that was last updated three years ago (see <https://web.archive.org/web/20190718035009/https://github.com/Russell91/pythonpy>). 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://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages 100 /var/lib/dpkg/status System python3 version (referred to by the shebang of pythonpy): Python 3.7.4 ** Affects: pythonpy (Ubuntu) Importance: Undecided Status: New ** Patch added: "pythonpy-0.4.11-deprecation_warning.patch" https://bugs.launchpad.net/bugs/1878935/+attachment/5372152/+files/pythonpy-0.4.11-deprecation_warning.patch ** Description changed: The program pythonpy displays a deprecation warning before the expected output every time it is run. Expected: - > py "43 - 1" - 42 + > 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 + > 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://pypi.org/project/pip/>) points to a deleted GitHub repo that was last updated three years ago (see <https://web.archive.org/web/20190718035009/https://github.com/Russell91/pythonpy>). 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 + 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://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages - 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages - 100 /var/lib/dpkg/status + pythonpy: + Installed: 0.4.11b-3 + Candidate: 0.4.11b-3 + Version table: + *** 0.4.11b-3 500 + 500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages + 500 http://us.archive.ubuntu.com/ubuntu focal/universe i386 Packages + 100 /var/lib/dpkg/status + + System python3 version (referred to by the shebang of pythonpy): + + Python 3.7.4 ** Summary changed: - Pythonpy displays deprecation warning with system python version 3.7.4 + pythonpy displays Python deprecation warning when run -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878935 Title: pythonpy displays Python deprecation warning when run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pythonpy/+bug/1878935/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs