-
Notifications
You must be signed in to change notification settings - Fork 89
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
ci: Clean up of Makefile and Gitpod setup #464
Conversation
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
@noklam Do you still want to get this in? |
@merelcht Sure, let me try to update this is still very useful to review datasets PR. I will update the make command with uv as well. |
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
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! 👍
install-test-requirements: | ||
cd $(plugin) && pip install ".[test]" | ||
cd $(plugin) && uv pip install ".[test]" |
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.
IIUC this fixes #597 ?
init: | | ||
sudo apt-get update && sudo apt-get install -y --no-install-recommends libgl1 | ||
sudo apt-get install make | ||
sudo apt-get install -y --no-install-recommends libatk-bridge2.0-0 libcups2 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils |
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.
Are all these system deps needed to install stuff on Gitpod? Bummer...
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.
^frankly I didn't test it 1 by 1, this list of dependencies has lived in kedro
for a while since the introduction of VideoDataset
. opencv
seems to relies on some shared libraries.
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.
Oh so it's because of OpenCV, got it 👍🏼
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.
I'm not using the Makefile and Gitpod is not my daily driver but since I was requested for review, added some thoughts. Approving nonetheless!
Signed-off-by: Nok <[email protected]>
* switch to Dockerfile, same configuration as the kedro branch. Signed-off-by: Nok <[email protected]> * simplify setup Signed-off-by: Nok <[email protected]> * update makefile Signed-off-by: Nok <[email protected]> * simplified install in background while not slowing down startup Signed-off-by: Nok <[email protected]> * fix command Signed-off-by: Nok <[email protected]> * fix setup Signed-off-by: Nok <[email protected]> * combined makefile Signed-off-by: Nok <[email protected]> --------- Signed-off-by: Nok <[email protected]> Signed-off-by: Harm Matthias Harms <[email protected]>
* switch to Dockerfile, same configuration as the kedro branch. Signed-off-by: Nok <[email protected]> * simplify setup Signed-off-by: Nok <[email protected]> * update makefile Signed-off-by: Nok <[email protected]> * simplified install in background while not slowing down startup Signed-off-by: Nok <[email protected]> * fix command Signed-off-by: Nok <[email protected]> * fix setup Signed-off-by: Nok <[email protected]> * combined makefile Signed-off-by: Nok <[email protected]> --------- Signed-off-by: Nok <[email protected]> Signed-off-by: Minura Punchihewa <[email protected]>
Description
Fix the setup, particular
kedro-datasets
requirements are harder to install for contributors.Development notes
I decided not to use Docker because of the way Gitpod work, building docker would take up most of the time and the UI does not show up until this is finished.
Checklist
RELEASE.md
file