-
Notifications
You must be signed in to change notification settings - Fork 598
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
Python2.7 dependency issue #1458
Comments
Some more information:
The issue goes away when I pin cfn-lint to an older version, i.e. |
Is there a way networkx itself can prevent networkx 2.3+ installations through Python 2? That could also theoretically solve this for all networkx dependents I wonder how our Python 2.7 tests end up with networkx 2.2 |
@bblommers I think that works for me if you want to submit it. |
…rkx to work with Python2
cfn-lint version: 0.29.4
Hi,
When installing a project that has cfn-lint as a dependency (moto) using Python2.7, I'm getting this error:
It looks like this is due to incorrect usage of the ~= operator in setup.py:
This semantic has the same outcome for both python versions - use any version that's 2.x, but lower than 3.x.
IMO, this should say:
NetworkX 2.2 is the latest version that supports Python2: https://networkx.github.io/documentation/networkx-2.2/news.html
Happy to create a PR for this, if it's an acceptable change?
The text was updated successfully, but these errors were encountered: