Skip to content
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

Install unable to find blosc2 dependency for Python 3.9 #4

Open
jamesobutler opened this issue Dec 5, 2024 · 3 comments
Open

Install unable to find blosc2 dependency for Python 3.9 #4

jamesobutler opened this issue Dec 5, 2024 · 3 comments

Comments

@jamesobutler
Copy link

@FabianIsensee The introduction of blosc2 and the version specified in 4cad0de does not have support for Python 3.9 even though nnUNet specifies it supports Python 3.9.

At minimum could you update this package to explicitly state the python_requires in setup.py so that pip can better manage dependencies? See https://github.com/pypa/sampleproject/blob/db5806e0a3204034c51b1c00dde7d5eb3fa2532e/setup.py#L123

See how this has impacted TotalSegmentator again as mentioned at wasserth/TotalSegmentator#385 (comment).

Example of dependency handling failing at time of install.

ERROR: Ignored the following versions that require a different python version: 2.6.0 Requires-Python <4,>=3.10; 2.6.1 Requires-Python <4,>=3.10; 2.6.2 Requires-Python <4,>=3.10; 2.7.0 Requires-Python <4,>=3.10; 2.7.1 Requires-Python <4,>=3.10; 3.0.0b1 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement blosc2>=3.0.0b4 (from versions: 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.1, 0.5.2, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.5.0, 2.5.1)
ERROR: No matching distribution found for blosc2>=3.0.0b4
@jamesobutler
Copy link
Author

This issue came to my attention due to a report in the 3D Slicer Community forum in https://discourse.slicer.org/t/dental-segmantator/40519.

This impacts Python 3.9 users of packages that use nnUNet as acvl_utils is a listed dependency.

@VitoLin21
Copy link

I've encountered the same problem as well. For now, the only option is to roll back to version 0.2.1.

@jamesobutler
Copy link
Author

@FabianIsensee Would you be able to address this major issue for Python 3.9 support? This impacts all packages that use nnUNet.

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

No branches or pull requests

2 participants