Project-MONAI / Project-MONAI/MONAI

review setuptool version requirement (pkg_resources.extern.packaging.version.InvalidVersion)

Open
#5,859 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

Describe the bug
currently blocks the premerge pipelines

e.g. https://github.com/Project-MONAI/MONAI/actions/runs/3934302992/jobs/6728921467

details of the issue: https://github.com/pypa/setuptools/issues/3772

a workaround has been implemented in the file for setuptools https://github.com/Project-MONAI/MONAI/blob/dev/requirements-min.txt

once the upstream fixes are done or there are clearer solutions, would be great to test and remove the version upper bound.

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-min.txt and the linked premerge pipeline failure, then read the referenced setuptools issue for the upstream status. Confirm whether a clearer fix is available, test the dependency change against the affected premerge pipeline, and remove the upper bound only if the pipeline passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.