-
Notifications
You must be signed in to change notification settings - Fork 173
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
Dependency tree is broken on python3.7 #285
Comments
So this appears to be an issue with the update to flake8. See the pep8-naming dependency trees below. Working
Not working
You can add the following line above your prospector line in your Pipfile. |
@richardhanson Thanks for looking into this, this is good info. @chocoelho I think the easiest solution for us as maintainers is to use pinned versions or at least stricter ranges in our |
I just noticed this today as well when my builds suddenly broke. I've pinned flake8==3.5.0 for now. Is this an issue that should be followed up on prospector or the flake8 side of things? |
@stanleykylee I think it's something prospector needs to fix, as the problem seems to come from various prospector dependencies having their own pinned versions and that's where conflicts come from. I'll try to figure out a new release for prospector pinning a known-good set of versions and then from now on I think we'll have to have stricter dependency definitions. Right now it lots have no upper bound so any downstream release can cause breaking changes. |
@carlio thanks for the reply. I'll keep my eye on this. If there's anything I can do to help, let me know. I'm still new to python and prospector has been great helping me keep our code quality checked! |
…ncy tree resolution, and bumping version to 1.1.4
version 1.1.4 is on pypi now, hopefully should fix this - let me know if you find any other problems! |
@carlio this still doesn't address the issue with flake8 3.6.0, I get the following pip messageflake8 3.6.0 has requirement pycodestyle<2.5.0,>=2.4.0, but you'll have pycodestyle 2.3.1 which is incompatible. flake8 3.6.0 has requirement pyflakes<2.1.0,>=2.0.0, but you'll have pyflakes 1.6.0 which is incompatible. prospector 1.1.4 has requirement pep8-naming<=0.4.1,>=0.3.3, but you'll have pep8-naming 0.7.0 which is incompatible. When running Traceback
|
@stanleykylee you still have the old pep8-naming installed - try uninstalling that first then reinstalling prospector, or perhaps install prospector with '--upgrade' flag to get it to also update dependency versions? |
@carlio , you're right, I had pinned the other dependencies causing the issue. Thanks for pointing it out, it works now. |
Trying to install any of the 1.x versions through pipenv blows up since the dependency tree cannot be resolved.
Steps to reproduce:
pipenv install prospector
Outcome:
The text was updated successfully, but these errors were encountered: