mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-03 10:42:05 +00:00
Fix venv cache support for local folders
This commit is contained in:
parent
9c257858dd
commit
f019905720
@ -21,7 +21,8 @@ class ExternalRequirements(SimpleSubstitution):
|
|||||||
# noinspection PyBroadException
|
# noinspection PyBroadException
|
||||||
try:
|
try:
|
||||||
if not req.name and req.req and not req.req.editable and not req.req.vcs and \
|
if not req.name and req.req and not req.req.editable and not req.req.vcs and \
|
||||||
req.req.line and not req.req.line.strip().split('#')[0].lower().endswith('.whl'):
|
req.req.line and req.req.line.strip().split('#')[0] and \
|
||||||
|
not req.req.line.strip().split('#')[0].lower().endswith('.whl'):
|
||||||
return True
|
return True
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user