mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 13:26:08 +00:00
Fix "package @ " should processed by us (pip will not test pre-installed version of the package compared with the link)
This commit is contained in:
parent
a56f032ec4
commit
b6ae4f211d
@ -69,8 +69,8 @@ class MarkerRequirement(object):
|
|||||||
'@{}'.format(self.revision) if self.revision else '',
|
'@{}'.format(self.revision) if self.revision else '',
|
||||||
'#subdirectory={}'.format(self.subdirectory) if self.subdirectory else ''
|
'#subdirectory={}'.format(self.subdirectory) if self.subdirectory else ''
|
||||||
]
|
]
|
||||||
elif self.pip_new_version and self.uri and self.name and self.line:
|
elif self.pip_new_version and self.uri and self.name and self.line and self.local_file:
|
||||||
# package @ https://example.com/somewheel.whl
|
# package @ file:///example.com/somewheel.whl
|
||||||
# leave the line as is, let pip handle it
|
# leave the line as is, let pip handle it
|
||||||
return self.line
|
return self.line
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user