-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: update Dockerfile and requirements-dev.txt for MONAI 1.6 tutorial compatibility #8912
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
Open
garciadias
wants to merge
7
commits into
Project-MONAI:dev
Choose a base branch
from
garciadias:fix/monai_1_6_release_notebooks
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+12
−2
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a6c8f3e
fix: update Dockerfile and requirements-dev.txt for MONAI 1.6 tutoria…
garciadias bcb47e2
fix: pin setuptools<71 in requirements-dev.txt for MetricsReloaded co…
garciadias 6ed7e10
fix: restrict aim to Linux in requirements-dev.txt
garciadias aa96007
fix: pin urllib3>=2 in pip constraints; tolerate empty constraint.txt
garciadias 5f4c39d
Merge branch 'dev' into fix/monai_1_6_release_notebooks
garciadias 4431f87
Merge branch 'dev' into fix/monai_1_6_release_notebooks
garciadias e4aaac6
fix: remove tutorial-specific tools from Dockerfile and requirements-…
garciadias 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
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.
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 looking into the image. Is this RUN needed for the image in general or specifically for the tutorials? If the latter we shouldn't have it perhaps.
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.
The constraint patching is general-purpose rather than tutorial-specific:
setuptools<71—MetricsReloaded(inrequirements-dev.txt) uses a legacysetup.pythat importspkg_resources, which was removed fromsetuptools>=71. Without this pin therequirements-dev.txtinstall step fails on any fresh image build.urllib3>=2— preventspip installof legacy packages (e.g.bentoml==0.13.1) from downgradingurllib3to 1.x, which would silently breakrequests,gdown,huggingface_huband others already installed by the base image.numpy— just preserves whatever pin the base image ships with (nv25.12 ships an empty constraint file, so this is a no-op there; older base images hadnumpy==1.26.4to match their PyTorch build).I have updated the comment to drop the tutorial-specific bullet and clarify the general-purpose intent.