pytask-dev / pytask-dev/pytask-parallel
Ensure that local paths are working cross-platform with remote backends.
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
- 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.
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