pytask-dev / pytask-dev/pytask-parallel

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

Aperta
#102 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Python
Stelle
5
Fork
0
Merge medio
18h 37m
PR unite (30g)
7

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
distributed-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.