-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add the option to inject binary libraries to install in Dockerfile #249
Conversation
202c451
to
e5190e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR
Missing a changelog, some docstrings, and maybe a small test like test_pypi_dependency
?
@@ -64,6 +64,7 @@ class Dependency(BaseModel): | |||
pypi_dependencies: List[str] = Field(default_factory=list) | |||
local_installable_dependencies: List[Path] = Field(default_factory=list) | |||
local_code: List[Path] = Field(default_factory=list) | |||
binary_dependencies: List[str] = Field(default_factory=list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the docstringss
@@ -64,7 +64,7 @@ def test_get_base_docker_image_gpu(): | |||
&& apt-get install -y software-properties-common\ | |||
&& add-apt-repository -y ppa:deadsnakes/ppa\ | |||
&& apt-get -y upgrade\ | |||
&& apt-get install -y python3.11 python3.11-venv python3-pip\ | |||
&& apt-get install -y python3.11 python3.11-venv python3-pip \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
&& apt-get install -y python3.11 python3.11-venv python3-pip \ | |
&& apt-get install -y python3.11 python3.11-venv python3-pip\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whitespace is required to make the test pass, actually :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the place where the binary dependencies would be if there were defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok make sense,
Signed-off-by: SdgJlbl <[email protected]>
e5190e4
to
e96f1c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm thanks a lot :)
Fixes FL-1741