Removing six.py from package breaks other packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-urllib3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There is this patch added to the python3-urllib3 package:
```
From: Daniele Tricoli <email address hidden>
Date: Thu, 8 Oct 2015 13:19:46 -0700
Subject: Do not use embedded copy of python-six.
Forwarded: not-needed
Patch-Name: 01_do-not-
```
This removes six.py from /usr/lib/
```
$ python3 -c 'from requests_ntlm2 import HttpNtlmAuth'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/
from .adapters import HttpNtlmAdapter, HttpProxyAdapter
File "/usr/local/
from .connection import HTTPConnection as _HTTPConnection
File "/usr/local/
from requests.
ModuleNotFoundE
```
If the file is not put back, at least having a symlink there would be nice.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-urllib3 1.25.8-2
Uname: Linux 5.7.0-050700-
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Mon Sep 28 13:57:21 2020
InstallationDate: Installed on 2018-04-20 (892 days ago)
InstallationMedia: Kubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-urllib3
UpgradeStatus: Upgraded to focal on 2020-09-04 (23 days ago)
This bug was fixed in the package python-urllib3 - 2.0.7-1
---------------
python-urllib3 (2.0.7-1) experimental; urgency=medium
[ Stefano Rivera ] edError in test.requires_ network( )
* New upstream release.
* Drop six patch and dependency on python3-six, superseded upstream.
(Closes: #1025218, LP: #1897633)
* Drop bundled backports.makefile from copyright, removed upstream.
* Build with pybuild pyproject plugin.
* Mark Build-Depends with nocheck.
* Re-enable the full test suite.
* Patch: Handle ConnectionRefus
* Patch: Mark tests that require network
* Patch: Don't make requests to evil.com in tests.
* Export CI=1 in tests, to increase timeouts.
* Allow stderr in the autopkgtest.
* Patch: Skip expensive integration tests, that often cause timeouts.
-- Daniele Tricoli <email address hidden> Sun, 12 Nov 2023 23:57:09 +0100