pytask-dev / pytask-dev/pytask-parallel

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

Offen
#102 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
5
Forks
0
Ø Merge
18 Std. 37 Min.
Gemergte PRs (30 T.)
7

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
distributed-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.