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

blosc2 seems to require python>=3.11 #2716

Open
scarere opened this issue Feb 25, 2025 · 2 comments
Open

blosc2 seems to require python>=3.11 #2716

scarere opened this issue Feb 25, 2025 · 2 comments
Assignees

Comments

@scarere
Copy link

scarere commented Feb 25, 2025

Blosc2>=3.0.0b1 seems to have been added as a dependency in nnunetv2==2.6.0. The pyproject.toml still says the nnunetv2 supports python3.10 however the new blosc2 requirement seems to require python>=3.11

@jamesobutler
Copy link

"blosc2>=3.0.0b1"

@scarere It does appear 3.0.0b1 specified Python >=3.10.

https://github.com/Blosc/python-blosc2/blob/c394a04f0ebaeae6d185b19ac34baffa8deb762f/pyproject.toml#L34

It appears 3.0.0rc1 specified the bump to Python 3.11.

@scarere
Copy link
Author

scarere commented Mar 3, 2025

My bad it seems the issue is related to the acvl-utils dependency, which in turn depends on blosc2 which further in turn depends on python>=3.11. My project uses poetry for dependency management. Defining the only 2 requirements as python >=3.1.0,<3.11 and nnunetv2>=2.6.0 results in the following output.

The current project's supported Python range (>=3.10.0,<3.11) is not compatible with some of the required packages Python requirement:
  - blosc2 requires Python >=3.11, so it will not be satisfied for Python >=3.10.0,<3.11
  - blosc2 requires Python >=3.11, so it will not be satisfied for Python >=3.10.0,<3.11
  - blosc2 requires Python >=3.11, so it will not be satisfied for Python >=3.10.0,<3.11
  - blosc2 requires Python >=3.11, so it will not be satisfied for Python >=3.10.0,<3.11

    Because no versions of acvl-utils match >0.2.3,<0.2.4 || >0.2.4,<0.2.5 || >0.2.5,<0.3
 and acvl-utils (0.2.3) depends on blosc2 (>=3.0.0b4), acvl-utils (>=0.2.3,<0.2.4 || >0.2.4,<0.2.5 || >0.2.5,<0.3) requires blosc2 (>=3.0.0b4).
(1) So, because acvl-utils (0.2.4) depends on blosc2 (>=3.0.0b4)
 and acvl-utils (0.2.5) depends on blosc2 (>=3.0.0b4), acvl-utils (>=0.2.3,<0.3) requires blosc2 (>=3.0.0b4).

    Because no versions of blosc2 match >=3.0.0b4,<3.0.0 || >3.0.0,<3.1.0 || >3.1.0,<3.1.1 || >3.1.1,<3.2.0 || >3.2.0
 and blosc2 (3.0.0) requires Python >=3.11, blosc2 is forbidden.
    And because blosc2 (3.1.0) requires Python >=3.11, blosc2 is forbidden.
    And because acvl-utils (>=0.2.3,<0.3) requires blosc2 (>=3.0.0b4) (1), acvl-utils (>=0.2.3,<0.3) requires blosc2 (3.1.1 || 3.2.0)
    And because blosc2 (3.2.0) requires Python >=3.11
 and blosc2 (3.1.1) requires Python >=3.11, acvl-utils is forbidden.
    Because no versions of nnunetv2 match >2.6.0,<3.0.0
 and nnunetv2 (2.6.0) depends on acvl-utils (>=0.2.3,<0.3), nnunetv2 (>=2.6.0,<3.0.0) requires acvl-utils (>=0.2.3,<0.3).
    Thus, nnunetv2 is forbidden.
    So, because fl4health depends on nnunetv2 (^2.6.0), version solving failed.

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

3 participants