bazel-contrib/rules_python
Auf GitHub ansehen[FR] (gazelle) Use specified python version to determine whether a module is a stdlib
Open
#1.901 geöffnet am 15. Mai 2024
gazellehelp wanted
Repository-Metriken
- Stars
- (679 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
🚀 feature request
Relevant Rules
At present, we judge whether a module is a standard library through the system interpreter, which is uncontrollable. After https://github.com/bazelbuild/rules_python/pull/1895 landing, we have the ability to use a specific python version of std list in this analysis.
Description
Describe the solution you'd like
Maybe two ways:
- A new directive to specify the python version
- Read
.manifest.pip_repositoryfromgazelle_python.yamland find python version fromMODULE.bazel?