Skip to content

Possible to remove google-auth dependency in dagster-k8s? #34035

Description

@ollie-bell

What's the issue?

google.auth is not used at runtime, and it is an optional dependency in the python kubernetes client. Can it be removed as a required dependency in pyproject.toml from dagster-k8s?

This came up as an issue when a transitive dependency of google-auth (pyasn1) had a CVE which blocked a release pipeline for an application which has dagster-k8s as a dependency.

# exclude a google-auth release that added an overly restrictive urllib3 pin
# that confuses dependency resolvers
"google-auth!=2.23.1",

^ Originates in a 3 year old commit 66b7d2d.

The approach to constraining transitive dependencies now might be to use [tool.uv.constraint-dependencies]

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

Activity

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

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions