Skip to content

Commit

Permalink
fix: binary dependencies test
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl committed Oct 3, 2024
1 parent ad0ff90 commit 704ed6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions substrafl/remote/register/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
RUN apt-get update -y\
&& pip uninstall -y setuptools\
&& apt-get install -y {binary_dependencies}\
&& apt-get clean\
&& rm -rf /var/lib/apt/lists/*
&& apt-get clean
"""

_GPU_BASE_IMAGE = """
Expand Down
3 changes: 2 additions & 1 deletion tests/dependency/test_dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ def test_binary_dependencies(

client = network.clients[0]
algo_deps = Dependency(
binary_dependencies=["gcc"],
pypi_dependencies=["pytest"],
binary_dependencies=["python3-dev"],
editable_mode=True,
)
function_key = self._register_function(dummy_algo_class(), algo_deps, client, session_dir)
Expand Down

0 comments on commit 704ed6f

Please sign in to comment.