Issue #3 resolved

bz2 source distribution not supported by Jython (WebOb 1.0.3)

Chris McDonough
created an issue

When trying to install a system that depends on WebOb into a virtualenv based on a stock Jython 2.5.1 system:

{{{

Downloading/unpacking WebOb>=1.0 (from pyramid>=1.0->pyramid-tm) Using download cache from /home/chrism/projects/pyramid_tm/.tox/_download/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FW%2FWebOb%2FWebOb-1.0.3.tar.bz2 Exception: Traceback (most recent call last): File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/basecommand.py", line 130, in main self.run(options, args) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/req.py", line 917, in prepare_files self.unpack_url(url, location, self.is_download) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/req.py", line 917, in prepare_files self.unpack_url(url, location, self.is_download) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/req.py", line 1022, in unpack_url return unpack_http_url(link, location, self.download_cache, only_download) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/download.py", line 448, in unpack_http_url unpack_file(temp_location, location, content_type, link) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/util.py", line 465, in unpack_file untar_file(filename, location) File "/home/chrism/projects/pyramid_tm/.tox/jython/Lib/site-packages/pip-0.8.1-py2.5.egg/pip/util.py", line 401, in untar_file tar = tarfile.open(filename, mode) File "/home/chrism/opt/jython2.5.2b1/Lib/tarfile.py", line 1166, in open return func(name, filemode, fileobj) File "/home/chrism/opt/jython2.5.2b1/Lib/tarfile.py", line 1229, in bz2open raise CompressionError("bz2 module is not available") CompressionError: bz2 module is not available

Storing complete log in /home/chrism/.pip/pip.log

}}}

It would be more useful if the source distribution continued to be shipped as .tar.gz.

Comments (6)

  1. Log in to comment