Skip to content
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

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

SdgJlbl
Copy link
Contributor

@SdgJlbl SdgJlbl commented Sep 17, 2024

Fixes FL-1741

Copy link

linear bot commented Sep 17, 2024

@SdgJlbl SdgJlbl force-pushed the feat/configurable-bin branch 3 times, most recently from 202c451 to e5190e4 Compare October 2, 2024 11:03
@SdgJlbl SdgJlbl marked this pull request as ready for review October 2, 2024 12:11
@SdgJlbl SdgJlbl requested a review from a team as a code owner October 2, 2024 12:11
Copy link
Member

@ThibaultFy ThibaultFy left a 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)
Copy link
Member

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 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&& apt-get install -y python3.11 python3.11-venv python3-pip \
&& apt-get install -y python3.11 python3.11-venv python3-pip\

Copy link
Contributor Author

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 :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 weird

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok make sense,

@SdgJlbl SdgJlbl force-pushed the feat/configurable-bin branch from e5190e4 to e96f1c3 Compare October 2, 2024 13:57
@SdgJlbl SdgJlbl requested a review from ThibaultFy October 2, 2024 14:10
Copy link
Member

@ThibaultFy ThibaultFy left a 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 :)

@SdgJlbl SdgJlbl merged commit ad0ff90 into main Oct 2, 2024
8 checks passed
@SdgJlbl SdgJlbl deleted the feat/configurable-bin branch October 2, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants