Skip to content

requires-python value too low for instant install. #16

@MathijsdeBoer

Description

@MathijsdeBoer

Just pulling the project and getting uv to prepare an environment for me, I received the following error on package solving:

(napari-nninteractive) PS D:\PythonProjects\napari-nninteractive> uv run napari -w napari-nninteractive
  x No solution found when resolving dependencies for split (python_full_version < '3.11'):
  `-> Because the requested Python version (>=3.10) does not satisfy Python>=3.11 and blosc2>=3.0.0 depends on Python>=3.11, we can conclude that blosc2>=3.0.0 cannot be used.
      And because only the following versions of blosc2 are available:
          blosc2<3.0.0b4
      we can conclude that blosc2>=3.0.0b4 cannot be used.
      And because acvl-utils>=0.2.3 depends on blosc2>=3.0.0b4 and only the following versions of acvl-utils are available:
          acvl-utils<=0.2.3
          acvl-utils==0.2.4
          acvl-utils==0.2.5
      we can conclude that acvl-utils>=0.2.3 cannot be used.
      And because nninteractive==1.0.1 depends on acvl-utils>=0.2.3 and only nninteractive==1.0.1 is available, we can conclude that nninteractive==1.0.1 cannot be used.
      And because your project depends on nninteractive==1.0.1 and your project requires napari-nninteractive[testing], we can conclude that your project's requirements are unsatisfiable.

      hint: The `requires-python` value (>=3.10) includes Python versions that are not supported by your dependencies (e.g., blosc2>=3.0.0 only supports >=3.11). Consider using a more restrictive `requires-python` value (like     
      >=3.11).

      hint: `blosc2` was requested with a pre-release marker (e.g., blosc2>=3.0.0b4,<3.0.0), but pre-releases weren't enabled (try: `--prerelease=allow`)

The fix was to manually change the requires-python value in pyproject.toml from ">=3.10" to ">=3.11" and rerunning uv run napari.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions