Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hunshcn opened this issue May 15, 2024 · 0 comments
Labels
gazelle Gazelle plugin related issues

Comments

@hunshcn
Copy link
Contributor

hunshcn commented May 15, 2024

馃殌 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?
@aignas aignas added the gazelle Gazelle plugin related issues label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gazelle Gazelle plugin related issues
Projects
None yet
Development

No branches or pull requests

2 participants