You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a duplicate of pylint-dev/astroid#779 (astroid and pylint have the same issue related to their setup.py file.
Steps to reproduce
Install pylint
python3.6 -m pip install pylint==2.5.0 --user
Run this
importosfromdistlibimportdatabasedefmain():
"""Run the main execution of the current script."""path=os.path.join(os.path.expanduser("~"), ".local", "lib", "python3.6", "site-packages")
distribution=database.DistributionPath([path])
distributions=list(distribution.get_distributions())
if__name__=="__main__":
main()
Current behavior
Raises this exception - ValueError: '.*' not allowed for u'>=' constraints
Expected behavior
distributions should be a non-empty list, containing at least astroid 2.2.0 as one of its entries
pylint --version output
pylint 2.5.0
astroid 2.5.0
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
The text was updated successfully, but these errors were encountered:
This is a duplicate of pylint-dev/astroid#779 (astroid and pylint have the same issue related to their setup.py file.
Steps to reproduce
Current behavior
ValueError: '.*' not allowed for u'>=' constraints
Expected behavior
distributions
should be a non-empty list, containing at least astroid 2.2.0 as one of its entriespylint --version output
The text was updated successfully, but these errors were encountered: