mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 09:06:52 +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 '',
|
||||
'#subdirectory={}'.format(self.subdirectory) if self.subdirectory else ''
|
||||
]
|
||||
elif self.pip_new_version and self.uri and self.name and self.line:
|
||||
# package @ https://example.com/somewheel.whl
|
||||
elif self.pip_new_version and self.uri and self.name and self.line and self.local_file:
|
||||
# package @ file:///example.com/somewheel.whl
|
||||
# leave the line as is, let pip handle it
|
||||
return self.line
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user