pytask-dev / pytask-dev/pytask-parallel

Ensure that local paths are working cross-platform with remote backends.

Abierto
#102 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
5
Forks
0
Merge medio
18 h 37 min
PR fusionados (30 d)
7

Descripción

Currently, we pickle tasks that contain many paths, including for themselves, dependencies, and products, and send them to a remote machine.

This is not possible across different platforms, which is why Windows users probably need to use WLS.

Plan to fix it:

  • Before sending data to the remote worker, convert all paths to PurePaths.
Resources
  • There is work in CPython to pickle paths across platforms: https://github.com/python/cpython/pull/116523

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Start at the boundary where tasks and their paths are pickled before being sent to the remote worker, then trace how dependencies and products are included. The work is done when all paths crossing that boundary are converted to PurePaths and cross-platform remote execution no longer depends on the originating platform; review the referenced CPython pull request for relevant behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
distributed-systems
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.