Bugfix: Broken dependency resolution due to removed python 3.8 support in rules_python
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- build-system
Línea de trabajo
Reproduce the failure with bazel run //:docs, then inspect the score_bazel_tools_python 0.1.3 MODULE.bazel reference at the linked registry URL and the rules_python 1.8.0 changelog. Trace the python_3_8 import and determine the compatible behavior for newer rules_python versions; done means dependency resolution no longer requests the unavailable repository.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When using score_bazel_tools_python 0.1.3 (which references rules_python 1.4.1) in a repository that specifices a version of rules_python >= 1.8.0, this breaks. Due to dependency resolution following "Minimal Version Selection", the newer rules_python version is taken.
That is also the case if a recent score_docs_as_code (>=3.0.0) is referenced, as this itself references rules_python 1.8.3:
https://github.com/eclipse-score/docs-as-code/blob/main/MODULE.bazel#L22
The support of python 3.8 was dropped in rules_python 1.8.0, leading to the failure
https://rules-python.readthedocs.io/en/latest/changelog.html#v1-8-0
I guess that's valid since python 3.8 support from the python core team was stopped in October 2024.
In score_bazel_tools_python there is the implicit assumption that python 3.8 support from rules_python exists.
Either that should be removed or reworked.
Actual error message:
~/score/inc_someip_gateway$ bazel run //:docs
ERROR: module extension @@rules_python+//python/extensions:python.bzl%python does not generate repository "python_3_8", yet it is imported as "bazel_tools_python_python_3_8" in the usage at https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_bazel_tools_python/0.1.3/MODULE.bazel:74:23 (did you mean 'python_3_9'?)
INFO: Elapsed time: 0.814s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target
[!IMPORTANT]
Make sure to link this issue with the PR for your bugfix.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eclipse-score/bazel-tools-python
-
Evaluate whether this repository is still neededQuizá libre de nuevo @nradakovic la tomó hace 92 días y no hay ningún pull request abierto. Abierto
eclipse-score/bazel-tools-python#20 · 1 asignado ·
Todos los issues de eclipse-score/bazel-tools-python
Issues similares
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vllm-project/vllm-metal#822 ·
Los mantenedores suelen responder en 1 día
-
vector-store
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
mem0ai/mem0#7461 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BasedHardware/omi#19047 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día