镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[FR] (gazelle) Use specified python version to determine whether a module is a stdlib #1901

Open

Description

@hunshcn

🚀 feature request

Relevant Rules

At present, we judge whether a module is a standard library through the system interpreter, which is uncontrollable. After #1895 landing, we have the ability to use a specific python version of std list in this analysis.

Description

A clear and concise description of the problem or missing capability...

Describe the solution you'd like

Maybe two ways:

  1. A new directive to specify the python version
  2. Read .manifest.pip_repository from gazelle_python.yaml and find python version from MODULE.bazel?

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?
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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions