-
Notifications
You must be signed in to change notification settings - Fork 604
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
pycparser 2.14 wheel on PyPI differs from source distribution #148
Comments
came across the same issue. reported in #147 |
This issue is apparently preventing Lets Encrypt from working on some systems ... |
This is a dupe of #147 and there are workarounds listed in that issue until the bad wheel is yanked from PyPI. |
Saw the same problem building https://github.com/buildbot/buildbot @tardyp the buggy pycparser wheel is affecting latest builds of buildbot |
This is also affecting the install of Sentry |
Added pycparser as a workaround for eliben/pycparser#148
revert when this is fixed eliben/pycparser#148
I removed the wheel [it was uploaded following a request in #100] |
Don't use the wheels provided by pycparser because they are inconsistent with the source. See: - eliben/pycparser#148 - pyca/cryptography#3187
Added pycparser as a workaround for eliben/pycparser#148
Sometime in the past few hours, fresh virtualenvs using pycparser 2.14 started barfing in CFFI parsing with
AssertionError: sorry, but this version only supports 100 named groups
. Here is an example stack:This CI environment is pinning versions, so it should be deterministic.
Strangely, I was able to reproduce this error on a fresh virtualenv but not an existing one. I diffed the contents of the virtualenvs and saw that a number of
.py
files related to pycparser had changed!Looking at https://pypi.python.org/pypi/pycparser, there is a
pycparser-2.14.tar.gz
uploaded 2015-06-10. There is also apycparser-2.14-py2.py3-none-any.whl
uploaded today.If you compare the source in the .tar.gz from the wheel, it varies.
It looks like the wheel just uploaded to PyPI was cut from a different commit than what the tar.gz was cut from. And since modern versions of pip prefer downloading wheels over the source distribution, pip is downloading the wheel.
Please delete the bad wheel from PyPI. Please also consider cutting a 2.15 release that is the same commit as 2.14 but with matching sources.
The text was updated successfully, but these errors were encountered: