Project-MONAI / Project-MONAI/MONAILabel

Can we upgrade the version of pydantic to allow ver >2.0?

Open
#1,616 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
891
Forks
269
Avg merge
15h 41m
Merged PRs (30d)
1

Description

Describe the bug

Latest pytorch container (23.12) uses 2.5.2, and however, we restrict the version to be lower than 2.

https://github.com/Project-MONAI/MONAILabel/blob/581a966b182c99ae89bb8b5473bc80d906c68754/requirements.txt#L14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review requirements.txt at the referenced line to understand the current pydantic constraint and how it interacts with the PyTorch 23.12 container. Check dependency resolution in that environment and confirm that the updated constraint installs successfully without breaking the project’s existing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.