Use abspath for constraints file

This commit is contained in:
Joe Rickerby
2020-02-02 23:05:58 +00:00
parent e32d0af532
commit d8a245dcf6
+1 -1
View File
@@ -86,7 +86,7 @@ def download(url, dest):
class DependencyConstraints(object):
def __init__(self, base_file_path):
assert os.path.exists(base_file_path)
self.base_file_path = base_file_path
self.base_file_path = os.path.abspath(base_file_path)
@classmethod
def with_defaults(cls):