-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
flake8 >= 2.2.0 fails with pep8 1.5.7 due to pkg_resources.VersionConflict with mysterious empty list #52
Comments
In GitLab by @sigmavirus24 on Oct 21, 2014, 08:13 So I can reproduce this with the following steps:
|
In GitLab by @sigmavirus24 on Oct 21, 2014, 08:18 When I first install
I'm setting up a new env to see what happens if I uninstall hacking/pbr after receiving the error. The stack trace points to the extension loading code and I'll have to debug into that to see which extension it's failing to load (I suspect, hacking) |
In GitLab by @sigmavirus24 on Oct 21, 2014, 08:25 This still happens even if you upgrade to setuptools 7.0 after making a clean tmp environment. |
In GitLab by @sigmavirus24 on Oct 21, 2014, 08:27 If you then do |
In GitLab by @sigmavirus24 on Oct 21, 2014, 14:25 This is an unfortunate combination of version pinning and some part of the dependency checking failing. It's not a bug here. If you're using hacking, you should only be using |
In GitLab by @dolphm on Oct 21, 2014, 06:09
I'm hoping this is a bug in setuptools or something, but I'm stumped. I've nuked my Python install on OS X (using homebrew), re-installed pip, setuptools, flake8, and pep8 from scratch (using brew-installed pip), and this is easily reproduced. It's been ongoing for over a week, perhaps since the release of https://pypi.python.org/pypi/setuptools/6.1 which has a related fix https://bitbucket.org/pypa/setuptools/issue/268 -- but reverting to setuptools 6.0.2 does not resolve the issue (also tried a much older setuptools==5.8 without success).
To reproduce (on my system, anyway):
And the subsequent error:
(pep8==1.5.6 is required by WHAT?!)
The only workaround I can find is installing flake8==2.1.0 and pep8==1.5.6 (shown below):
This combo works:
For funsies:
The text was updated successfully, but these errors were encountered: