-
- Notifications
You must be signed in to change notification settings - Fork 307
Closed
Description
Reference issue:
AcademySoftwareFoundation/rez#876
Steps to reproduce
- Install astroid
python3.6 -m pip install astroid==2.2.0 --user- Run this
import os from distlib import database def main(): """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
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output
$ python3 -c "from astroid import __pkginfo__; print(__pkginfo__.version)" 2.3.3Metadata
Metadata
Assignees
Labels
No labels