Visitar URL original
Missing python dependency in openmetadata-ingestion : cachetools · Issue #25158 · open-metadata/OpenMetadata · GitHub
Skip to content

Missing python dependency in openmetadata-ingestion : cachetools #25158

Closed

Description

@geo-mathijs

Affected module
The python SDK requires the use of cachetools, but it's missing.

Describe the bug
Commit c1592b5 introduced the need of cachetools. However, it never properly setup the dependency itself, but it was always available through the transitive dependency in google-auth. This no longer works because they dropped its support 2 days ago (googleapis/google-auth-library-python#1590).

To Reproduce
Import openmetadata-ingestion. This will throw ModuleNotFoundError: No module named 'cachetools'.

Expected behavior
Do not throw on importing openmetadata-ingestion.

Version:

  • OS: Linux
  • Python version: 3.13
  • OpenMetadata version: -
  • OpenMetadata Ingestion package version: latest

Additional context
Happy to write an MR, but I can only do so later this week. It's a very simple fix so if anyone can pick it up sooner that also works for me.

Activity

  1. ayush-shah commented on Jan 12, 2026

    @ayush-shah
    Member

    Fixed with #25112

  2. ayush-shah commented on Jan 12, 2026

    @ayush-shah
    Member

    @geo-mathijs did you mean without installing the sample-data plugin, you are facing this issue?
    @keshavmohta09 we might have to move it to base deps then

  3. geo-mathijs commented on Jan 12, 2026

    @geo-mathijs
    ContributorAuthor

    Yes, as I mentioned the normal import is broken due to google-auth removing this dependency and the dependency tree now lacking cachetools overall.

    See minimum reproduction:

    uv venv
    source .venv/bin/activate
    uv pip install 'openmetadata-ingestion'
    uv run python -c "import metadata"
    

    This throws when importing, not even needing a specific module.

  4. moved this from Done ✅ to Validation 🧐 in Roadmapon Jan 12, 2026
  5. Michae94 commented on Jan 20, 2026

    @Michae94
    Contributor

    Same issue btw (we are running python3.10)

    I added this dependency for now in the setup.py of my custom connector

  6. smga3000 commented on Jan 23, 2026

    @smga3000
    Contributor

    Thanks for the report @geo-mathijs , your engagement helps improve OpenMetadata for everyone. the best way to keep track of all the latest updates is by bookmarking OpenMetadata with a star! And, if you haven’t already, I'd like to invite you to join our upcoming virtual community meetup next Wednesday. We’ll be sharing the OMD Q1 roadmap along with a community spotlight featuring real-world use cases from Wix. Hope to see you there!

  7. added a commit that references this issue on Feb 3, 2026
    f2d3066
  8. added a commit that references this issue on Feb 21, 2026
    d617f97
  9. moved this from Validation 🧐 to Done ✅ in Roadmapon Feb 21, 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

    • Status
      Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions