From 7e835329da46b06c4951cd975790156984158daa Mon Sep 17 00:00:00 2001 From: Filippo Brizzi Date: Thu, 2 Jan 2025 17:17:14 +0100 Subject: [PATCH] Update _dsdl_definition.py Remove path resolution --- pydsdl/_dsdl_definition.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pydsdl/_dsdl_definition.py b/pydsdl/_dsdl_definition.py index adf5383..f7d4876 100644 --- a/pydsdl/_dsdl_definition.py +++ b/pydsdl/_dsdl_definition.py @@ -164,7 +164,8 @@ def from_first_in(cls: Type["DSDLDefinition"], dsdl_path: Path, valid_dsdl_roots def __init__(self, file_path: Path, root_namespace_path: Path): """ """ # Normalizing the path and reading the definition text - self._file_path = Path(file_path).resolve() + # NOTE: to make it work with Bazel we cannot do that, as Bazel creates symlink in a separate workspace + self._file_path = Path(file_path) # .resolve() del file_path if not self._file_path.exists():