Skip to content

Installing html5lib in a fresh venv fails if setuptools is not up to date #280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jraby opened this issue Jul 18, 2016 · 2 comments
Closed

Comments

@jraby
Copy link

jraby commented Jul 18, 2016

Since #263 has been merged, it is not possible to install/upgrade setuptools at the same time as html5lib.

For example this fails:

cat >req.txt <<EOF
setuptools>=18.5
html5lib
EOF

virtualenv testenv
testenv/bin/pip install -r req.txt

Collecting setuptools>=18.5 (from -r req.txt (line 1))
  Using cached setuptools-24.0.3-py2.py3-none-any.whl
Collecting html5lib (from -r req.txt (line 2))
  Using cached html5lib-0.999999999.tar.gz
    Complete output from command python setup.py egg_info:
    html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 18.2)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/49/p3xmv77x6fnb2lwl5kpvmvs40000gp/T/pip-build-0vYISn/html5lib
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
@gsnedders
Copy link
Member

Fixed by #285 now supporting old setuptools.

@hwkns
Copy link

hwkns commented Sep 7, 2016

In the future, if the library is going to depend on something that can be installed with pip, maybe put it in the install_requires list in setup.py?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants