Fix implicit case-sensitive locked dependency name handling

Fixes #7
This commit is contained in:
Ethan Paul 2020-09-29 19:00:25 -04:00
parent 05c5a26cc4
commit 640dbfe102
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

View File

@ -191,7 +191,7 @@ def _install_env_dependencies(venv: ToxVirtualEnv, poetry: Poetry):
dependencies: List[PoetryPackage] = []
for dep in env_deps.locked_deps:
try:
dependencies += _find_transients(poetry, dep.name)
dependencies += _find_transients(poetry, dep.name.lower())
except ToxPoetryInstallerException as err:
venv.status = "lockfile installation failed"
reporter.error(f"{_REPORTER_PREFIX} {err}")