-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-8.8.0.z, rhel-8.9.0.z
-
None
-
None
-
None
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_core_services
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Using pip to install or download modules packages as tarballs fails.
Please provide the package NVR for which bug is seen:
python3-pip-9.0.3-23.el8
How reproducible:
Steps to reproduce
- Install python3-pip-9.0.3-23
- pip download docopt
- Fail
Expected results
pip download and pip install work.
Actual results
Exception: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 565, in untar_file tarfile.data_filter(member.replace(name=fn), location) AttributeError: module 'tarfile' has no attribute 'data_filter' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3.6/site-packages/pip/commands/download.py", line 198, in run requirement_set.prepare_files(finder) File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 381, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 623, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python3.6/site-packages/pip/download.py", line 822, in unpack_url hashes=hashes File "/usr/lib/python3.6/site-packages/pip/download.py", line 664, in unpack_http_url unpack_file(from_path, location, content_type, link) File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 622, in unpack_file untar_file(filename, location) File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 566, in untar_file except tarfile.LinkOutsideDestinationError: AttributeError: module 'tarfile' has no attribute 'LinkOutsideDestinationError'