Ability to disable pycache symlinks
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- build-system
Línea de trabajo
Start by reading the python_repository change in #3661 and the tar.bzl behavior described in this issue. The requested outcome is a way to disable the functionality completely so the repository contains no __pycache__ symlinks.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
#3661 made python_repository write __pycache__ symlinks with targets that escape Bazel. Since the repository sets reproducible = True, these links get stored in the repository contents cache and shared. This can lead to surprises, as the symlink target validity varies by host system.
The recommended opt-out procedure is to set RULES_PYTHON_PYCACHE_DIR=/dev/null. But this winds up littering the repository cache with a bunch of symlinks to a character device, which, when processed by tar.bzl, become literal character devices and prevent any py_binary being packaged into a tar layer.
There should be a way to completely disable the #3661 functionality and get a repository without any __pycache__ symlinks at all.
- Lenguaje dominante
- Starlark
- Estrellas
- 688
- Forks
- 723
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 40
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
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 bazel-contrib/rules_python
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
bazel-contrib/rules_python#4201 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bazel-contrib/rules_python#4164 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
go:embed stdlib_list.txt file in gazelle/python/std_modules.go is missingPosiblemente ocupada @udaya2899 la tomó hace 4 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bazel-contrib/rules_python#3821 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
bazel-contrib/rules_python#4208 ·
Los mantenedores suelen responder en 1 día
-
feat: Support parsing pytest_plugins as a form of import.Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
bazel-contrib/rules_python#4196 ·
Los mantenedores suelen responder en 1 día
Todos los issues de bazel-contrib/rules_python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
opencv/opencv_contrib#4231 ·
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
-
netbird: Update to 0.80.0AbiertoPackage: Update Request
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsolus/packages#10933 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pymc-labs/pymc-marketing#3102 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100