-
Notifications
You must be signed in to change notification settings - Fork 110
RHAIENG-304: add uv pyproject.tomls for multiple notebooks and runtimes across Jupyter, RStudio, and VSCode #2145
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
Merged
jiridanek
merged 8 commits into
opendatahub-io:main
from
jiridanek:jd_minimal_per_file_uv
Aug 27, 2025
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
534ab2a
RHAIENG-304: add uv `pyproject.toml`s for multiple notebooks and runt…
jiridanek ab29ba5
RHAIENG-304: update `sync-requirements-txt.sh` to generate requiremen…
jiridanek aa0e91c
RHAIENG-304: add `pylock.toml`s (#2145)
jiridanek 68865f4
RHAIENG-304: pin micropipenv and uv versions in `sync-requirements-tx…
jiridanek d877c77
RHAIENG-304: replace requirements.txt with pylock.toml in all relevan…
jiridanek f22b23f
RHAIENG-304: remove dependency overrides as pylock.toml can't work in…
jiridanek f672478
RHAIENG-304: specify python version on the `uv pip compile` line so t…
jiridanek ecce989
RHAIENG-304: delete the `uv.lock`s created in refresh-pipfilelock-fil…
jiridanek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[project] | ||
name = "notebooks" | ||
version = "0.1.0" | ||
requires-python = "==3.12.*" | ||
|
||
dependencies = [ | ||
# Base packages | ||
"wheel~=0.45.1", | ||
"setuptools~=78.1.1", | ||
|
||
# Datascience packages | ||
"boto3~=1.37.8", | ||
"kafka-python-ng~=2.2.3", | ||
"matplotlib~=3.10.1", | ||
"numpy~=2.2.3", | ||
"pandas~=2.2.3", | ||
"plotly~=6.0.0", | ||
"scikit-learn~=1.6.1", | ||
"scipy~=1.15.2", | ||
"skl2onnx~=1.18.0", | ||
"ipykernel~=6.29.5", | ||
"kubeflow-training==1.9.2", | ||
|
||
# Some extra useful packages | ||
"opencensus~=0.11.4", | ||
"smart-open~=7.0.1", | ||
"virtualenv~=20.29.3", | ||
"py-spy~=0.4.0", | ||
"prometheus-client~=0.21.1", | ||
] | ||
|
||
[tool.uv] | ||
environments = [ | ||
"sys_platform == 'linux' and implementation_name == 'cpython'", | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[project] | ||
name = "datascience-notebook" | ||
version = "0.1.0" | ||
requires-python = "==3.12.*" | ||
|
||
dependencies = [ | ||
# Datascience and useful extensions | ||
"boto3~=1.37.8", | ||
"kafka-python-ng~=2.2.3", | ||
"kfp~=2.12.1", | ||
"matplotlib~=3.10.1", | ||
"numpy~=2.2.3", | ||
"pandas~=2.2.3", | ||
"plotly~=6.0.0", | ||
"scikit-learn~=1.6.1", | ||
"scipy~=1.15.2", | ||
"skl2onnx~=1.18.0", | ||
"onnxconverter-common~=1.13.0", # Required for skl2onnx, as upgraded version is not compatible with protobuf | ||
"codeflare-sdk~=0.30.0", | ||
"kubeflow-training==1.9.3", | ||
|
||
# DB connectors | ||
"pymongo~=4.11.2", | ||
"psycopg~=3.2.5", | ||
"pyodbc~=5.2.0", | ||
"mysql-connector-python~=9.3.0", | ||
|
||
# JupyterLab packages | ||
"odh-elyra==4.2.3", | ||
|
||
"jupyterlab==4.4.4", | ||
"jupyter-bokeh~=4.0.5", | ||
"jupyter-server~=2.16.0", | ||
"jupyter-server-proxy~=4.4.0", | ||
"jupyter-server-terminals~=0.5.3", | ||
"jupyterlab-git~=0.51.1", | ||
"jupyterlab-lsp~=5.1.1", | ||
"jupyterlab-widgets~=3.0.15", | ||
"jupyter-resource-usage~=1.1.1", | ||
"nbdime~=4.0.2", | ||
"nbgitpuller~=1.2.2", | ||
|
||
# Base packages | ||
"wheel~=0.45.1", | ||
"setuptools~=78.1.1", | ||
] | ||
|
||
[tool.uv] | ||
environments = [ | ||
"sys_platform == 'linux' and implementation_name == 'cpython'", | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.