Skip to content

Syntax error in pip/_vendor/html5lib/treewalkers/etree.py #4084

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
seibert opened this issue Nov 4, 2016 · 2 comments
Closed

Syntax error in pip/_vendor/html5lib/treewalkers/etree.py #4084

seibert opened this issue Nov 4, 2016 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@seibert
Copy link

seibert commented Nov 4, 2016

  • Pip version: 9.0.0
  • Python version: 2.7.12
  • Operating System: OS X (10.11.6)

Description:

While debugging a package build, I noticed that there is a syntax error in the vendored html5lib package inside pip 9.0.0:

(pip_bug) Rover:~ stan$ python
Python 2.7.12 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:43:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import pip._vendor.html5lib.treewalkers.etree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/stan/anaconda/envs/pip_bug/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree.py", line 13
    from pip._vendor. import string_types
                           ^
SyntaxError: invalid syntax
@dstufft
Copy link
Member

dstufft commented Nov 4, 2016

This is a duplicate of #4059 and will be fixed in 9.0.1 (already committed to master). 9.0.1 will likely be released on Sat or Sun.

@dstufft dstufft closed this as completed Nov 4, 2016
@seibert
Copy link
Author

seibert commented Nov 4, 2016

OK, thanks! missed it in the search

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

2 participants