Skip to content

Requires-python / mellea version mismatch #69

Description

@njs2017

Project's requires-python floor (>=3.10) is incompatible with mellea==0.6.0, which requires Python >=3.11.

Error

  × No solution found when resolving dependencies for split (markers:
  │ python_full_version == '3.10.*'; included: granite-switch[dev],
  │ granite-switch[tutorials], granite-switch[vllm]; ...):
  ╰─▶ Because the requested Python version (>=3.10, <3.14) does not satisfy
      Python>=3.11 and mellea==0.6.0 depends on Python>=3.11, we can conclude
      that mellea==0.6.0 cannot be used.
      And because granite-switch[tutorials] depends on mellea==0.6.0 and your
      project requires granite-switch[tutorials], we can conclude that your
      project's requirements are unsatisfiable.

Root Cause

  • pyproject.toml declares requires-python = ">=3.10, <3.14".
  • The [tutorials] extra pins mellea==0.6.0 (added in commit 11f4232).
  • mellea==0.6.0 requires Python >=3.11.
  • resolves dependencies for every Python version in the supported range, not just the active one. For 3.10, no valid mellea exists → resolution fails.

Suggested Fix

Bump the Python floor in pyproject.toml to match what dependencies actually support:

requires-python = ">=3.11, <3.14"

This aligns the declared support range with mellea==0.6.0's requirement

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