Skip to content

fix: remove unused imagecodecs dependency#2992

Closed
VAIDEHI-28 wants to merge 1 commit intoMIC-DKFZ:masterfrom
VAIDEHI-28:fix/remove-unused-imagecodecs-dependency
Closed

fix: remove unused imagecodecs dependency#2992
VAIDEHI-28 wants to merge 1 commit intoMIC-DKFZ:masterfrom
VAIDEHI-28:fix/remove-unused-imagecodecs-dependency

Conversation

@VAIDEHI-28
Copy link
Contributor

Fixes #2899

The imagecodecs package was listed as a dependency in pyproject.toml
but is not imported or used anywhere in the nnunetv2 codebase.

This caused installation failures for users when wheel files became
unavailable on PyPI.

This PR removes the unused dependency to prevent future breakage.

Verified by:

  • Searched entire codebase for any imagecodecs references → zero results
  • Successfully installed and ran nnUNet without imagecodecs

@FabianIsensee
Copy link
Member

imagecodecs is used by tifffile to en- and decode compressed tiff files. This is a required dependency which (for reasons I don't understand) is not immediately installed with tiffile. Can you please explain when exactly you encounter installation issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

What is the purpose of the imagecodecs package in nnunetv2's requirements?

2 participants