oauth.py uses cgi.parse_qs which isn't available anymore
Bug #1883875 reported by
Alberto Donato
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-oauth (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Groovy |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
python-oauth uses cgi.parse_qs, which was deprecated in python3 (in favor of the urllib equivalent), and is no longer available in python 3.8.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-oauth 1.0.1-6ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckR
Date: Wed Jun 17 10:51:57 2020
Dependencies:
PackageArchitec
SourcePackage: python-oauth
UpgradeStatus: No upgrade log present (probably fresh install)
To post a comment you must log in.
Thanks Alberto. The library is not in a very nice shape, with no upstream development for more than 11 years and the python3 module being auto-generated with 2to3. Apparently 2to3 doesn't handle switching cgi.parse_qs to the urllib equivalent.
Currently python-oauth and python3-oauth have no reverse dependencies in the archive, at least in Focal and Groovy, so I wonder if we still want the package in the archive. There are probably reasons for which we do, given that you hit this bug and doko restored the python-oauth binary package in 1.0.1-6ubuntu1 mentioning in the changelog that it's still needed. The reasons are however not clear to me.
Can we consider dropping the package from the archive in Groovy?