Fix poetry support

This commit is contained in:
allegroai
2020-01-21 16:23:36 +02:00
parent 599219b02d
commit 06897f7606
2 changed files with 2 additions and 4 deletions

View File

@@ -249,9 +249,6 @@ class PytorchRequirement(SimpleSubstitution):
return url
def get_url_for_platform(self, req):
assert self.package_manager == "pip"
assert self.os != "mac"
# check if package is already installed with system packages
try:
if self.config.get("agent.package_manager.system_site_packages"):