fix(pip-inspector): Pip inspector failed to parse dependencies with certain range specifiers.
@@ -75,7 +75,7 @@ def main():
package_name = req.req.name
if package_name is None:
import re
- package_name = re.split('==|>=', req.requirement)[0]
+ package_name = re.split('==|>=|<=|>|<', req.requirement)[0]
requirement = resolve_package_by_name(package_name, [])
if requirement is None:
