Skip to content

Support for cachetools > 7.0 #3214

Closed

Description

@lkindere

Feature Request / Improvement

As of latest Apache Airflow versions there are incompatibilities with pyiceberg due to the airflow constraints imposed, and pyiceberg reliance on cachetools>=5.5,<7.0.

Supporting newer cachetools would resolve this issue:

RUN uv pip install --no-cache --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.1.8/constraints-3.13.txt":
0.332 Using Python 3.13.12 environment at: /home/airflow/.local
4.578 × No solution found when resolving dependencies:
4.578 ╰─▶ Because pyiceberg==0.11.1 depends on cachetools>=5.5,<7.0 and
4.578 cachetools==7.0.3, we can conclude that pyiceberg==0.11.1 cannot be
4.578 used.
4.578 And because you require pyiceberg==0.11.1, we can conclude that your
4.578 requirements are unsatisfiable.

Activity

  1. kevinjqliu commented on Mar 31, 2026

    @kevinjqliu
    Contributor

    good point, i think we can remove some of the upperbound restrictions for our dependencies. I dont see a specific reason why we need to include upperbound for cachetools

  2. skuechlin commented on Apr 14, 2026

    @skuechlin

    we'd also be interested in this. Any chance this could make it into a patch release any time soon?

  3. MonkeyCanCode commented on May 25, 2026

    @MonkeyCanCode
    Contributor

    I think this is auto resolved via bb1f3ef?

  4. tobni commented on Jun 1, 2026

    @tobni

    What is the policy for introducing this type of change to the 0.11.x series?

  5. kevinjqliu commented on Jun 29, 2026

    @kevinjqliu
    Contributor

    I opened #3586 to remove as many upperbound restrictions as possible (including for cachetools). Should be part of the next release, 0.12 😄

  6. added a commit that references this issue on Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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