Make gen_requirements_all.py case insensitive for ignored pack… (#30885)

This commit is contained in:
Paulus Schoutsen 2020-03-04 17:39:59 -08:00 committed by GitHub
parent 2d3b117cb8
commit 1d3647e6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ def gather_recursive_requirements(domain, seen=None):
def comment_requirement(req):
"""Comment out requirement. Some don't install on all systems."""
return any(ign in req for ign in COMMENT_REQUIREMENTS)
return any(ign.lower() in req.lower() for ign in COMMENT_REQUIREMENTS)
def gather_modules():