[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
This bug was fixed in the package python-pipx - 0.16.2.1-0ubuntu3~21.04 --- python-pipx (0.16.2.1-0ubuntu3~21.04) hirsute-proposed; urgency=medium * SRU: LP: #1926806. Backport pipx, compatible with Python 3.9. python-pipx (0.16.2.1-0ubuntu3) impish; urgency=medium * New upstream version. LP: #1926806. * (Build-)depend on python3-argcomplete, python3-packaging, python3-userpath. -- Matthias Klose Fri, 21 May 2021 09:13:53 +0200 ** Changed in: python-pipx (Ubuntu Hirsute) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
Version: 0.16.2.1 What testing: installed protontricks Result: it works now! ** Tags added: verification-done-hirsute ** Tags removed: verification-needed-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Changed in: python-pipx (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
Hello peace_corpse, or anyone else affected, Accepted python-pipx into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python- pipx/0.16.2.1-0ubuntu3~21.04 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: python-pipx (Ubuntu Hirsute) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
This bug was fixed in the package python-pipx - 0.16.2.1-0ubuntu3 --- python-pipx (0.16.2.1-0ubuntu3) impish; urgency=medium * New upstream version. LP: #1926806. * (Build-)depend on python3-argcomplete, python3-packaging, python3-userpath. -- Matthias Klose Fri, 21 May 2021 08:49:05 +0200 ** Changed in: python-pipx (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Changed in: python-pipx (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: python-pipx (Ubuntu Hirsute) Status: New => In Progress ** Description changed: SRU: Backport pipx version compatible with Python 3.9 Let's backport the version from impish to hirsute. Regression potential: None, because the version in 21.04 doesn't work at - all. + all, and there are no dependencies or build dependencies. Tests: The package builds, and passes its tests. a simple - pipx install pycowsay + pipx install pycowsay works Running `pipx` with any parameters except for help results in the following error: pipx uninstall-all Traceback (most recent call last): File "/usr/bin/pipx", line 11, in load_entry_point('pipx==0.12.3.1', 'console_scripts', 'pipx')() File "/usr/lib/python3/dist-packages/pipx/main.py", line 496, in cli exit(run_pipx_command(parsed_pipx_args, binary_args)) File "/usr/lib/python3/dist-packages/pipx/main.py", line 191, in run_pipx_command commands.uninstall_all(PIPX_LOCAL_VENVS, LOCAL_BIN_DIR, verbose) File "/usr/lib/python3/dist-packages/pipx/commands.py", line 432, in uninstall_all uninstall(venv_dir, package, local_bin_dir, verbose) File "/usr/lib/python3/dist-packages/pipx/commands.py", line 409, in uninstall metadata = venv.get_venv_metadata_for_package(package) File "/usr/lib/python3/dist-packages/pipx/Venv.py", line 65, in get_venv_metadata_for_package data = json.loads( File "/usr/lib/python3.9/json/__init__.py", line 359, in loads return cls(**kw).decode(s) TypeError: __init__() got an unexpected keyword argument 'encoding' --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu65 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE DistroRelease: Ubuntu 21.04 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: pipx 0.12.3.1-3ubuntu1 PackageArchitecture: all ProcVersionSignature: Ubuntu 5.11.0-16.17-lowlatency 5.11.12 Tags: hirsute Uname: Linux 5.11.0-16-lowlatency x86_64 UpgradeStatus: Upgraded to hirsute on 2020-12-28 (123 days ago) UserGroups: adm audio cdrom dip docker floppy netdev plugdev scanner sudo sys systemd-journal tty video wireshark _MarkForUpload: True -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Description changed: + SRU: Backport pipx version compatible with Python 3.9 + + Let's backport the version from impish to hirsute. + + Regression potential: None, because the version in 21.04 doesn't work at + all. + + Tests: The package builds, and passes its tests. a simple + pipx install pycowsay + works + + + Running `pipx` with any parameters except for help results in the following error: pipx uninstall-all Traceback (most recent call last): - File "/usr/bin/pipx", line 11, in - load_entry_point('pipx==0.12.3.1', 'console_scripts', 'pipx')() - File "/usr/lib/python3/dist-packages/pipx/main.py", line 496, in cli - exit(run_pipx_command(parsed_pipx_args, binary_args)) - File "/usr/lib/python3/dist-packages/pipx/main.py", line 191, in run_pipx_command - commands.uninstall_all(PIPX_LOCAL_VENVS, LOCAL_BIN_DIR, verbose) - File "/usr/lib/python3/dist-packages/pipx/commands.py", line 432, in uninstall_all - uninstall(venv_dir, package, local_bin_dir, verbose) - File "/usr/lib/python3/dist-packages/pipx/commands.py", line 409, in uninstall - metadata = venv.get_venv_metadata_for_package(package) - File "/usr/lib/python3/dist-packages/pipx/Venv.py", line 65, in get_venv_metadata_for_package - data = json.loads( - File "/usr/lib/python3.9/json/__init__.py", line 359, in loads - return cls(**kw).decode(s) + File "/usr/bin/pipx", line 11, in + load_entry_point('pipx==0.12.3.1', 'console_scripts', 'pipx')() + File "/usr/lib/python3/dist-packages/pipx/main.py", line 496, in cli + exit(run_pipx_command(parsed_pipx_args, binary_args)) + File "/usr/lib/python3/dist-packages/pipx/main.py", line 191, in run_pipx_command + commands.uninstall_all(PIPX_LOCAL_VENVS, LOCAL_BIN_DIR, verbose) + File "/usr/lib/python3/dist-packages/pipx/commands.py", line 432, in uninstall_all + uninstall(venv_dir, package, local_bin_dir, verbose) + File "/usr/lib/python3/dist-packages/pipx/commands.py", line 409, in uninstall + metadata = venv.get_venv_metadata_for_package(package) + File "/usr/lib/python3/dist-packages/pipx/Venv.py", line 65, in get_venv_metadata_for_package + data = json.loads( + File "/usr/lib/python3.9/json/__init__.py", line 359, in loads + return cls(**kw).decode(s) TypeError: __init__() got an unexpected keyword argument 'encoding' - --- + --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu65 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE DistroRelease: Ubuntu 21.04 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: pipx 0.12.3.1-3ubuntu1 PackageArchitecture: all ProcVersionSignature: Ubuntu 5.11.0-16.17-lowlatency 5.11.12 Tags: hirsute Uname: Linux 5.11.0-16-lowlatency x86_64 UpgradeStatus: Upgraded to hirsute on 2020-12-28 (123 days ago) UserGroups: adm audio cdrom dip docker floppy netdev plugdev scanner sudo sys systemd-journal tty video wireshark _MarkForUpload: True -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Also affects: python-pipx (Ubuntu Hirsute) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Changed in: python-pipx (Debian) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
** Changed in: python-pipx (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1926806] Re: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'"
Thanks for reporting. I found a corresponding bug report in Debian, so marking this as confirmed. Based on the discussion there, it looks like the root cause is some API changes in Python 3.9. ** Bug watch added: Debian Bug tracker #976146 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976146 ** Also affects: python-pipx (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976146 Importance: Unknown Status: Unknown ** Changed in: python-pipx (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926806 Title: pipx terminates with "TypeError: __init__() got an unexpected keyword argument 'encoding'" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pipx/+bug/1926806/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs