Requirements fix for Pip 20.1

This commit is contained in:
Curtis Castrapel 2020-04-29 08:41:42 -07:00
parent eaaacfad3e
commit 4c40e806bc
1 changed files with 5 additions and 5 deletions

View File

@ -45,16 +45,16 @@ with open(os.path.join(ROOT, 'lemur', '__about__.py')) as f:
exec(f.read(), about) # nosec: about file is benign
install_requires_g = parse_requirements("requirements.txt", session=PipSession())
install_requires = [str(ir.req) for ir in install_requires_g]
install_requires = [str(ir.requirement) for ir in install_requires_g]
tests_require_g = parse_requirements("requirements-tests.txt", session=PipSession())
tests_require = [str(ir.req) for ir in tests_require_g]
tests_require = [str(ir.requirement) for ir in tests_require_g]
docs_require_g = parse_requirements("requirements-docs.txt", session=PipSession())
docs_require = [str(ir.req) for ir in docs_require_g]
docs_require_g = parse_requirements("require20ments-docs.txt", session=PipSession())
docs_require = [str(ir.requirement) for ir in docs_require_g]
dev_requires_g = parse_requirements("requirements-dev.txt", session=PipSession())
dev_requires = [str(ir.req) for ir in dev_requires_g]
dev_requires = [str(ir.requirement) for ir in dev_requires_g]
class SmartInstall(install):