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
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
Reference issue:
AcademySoftwareFoundation/rez#876
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 entriespython -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
output$ python3 -c "from astroid import __pkginfo__; print(__pkginfo__.version)" 2.3.3
The text was updated successfully, but these errors were encountered: