pytask-dev / pytask-dev/pytask-stata

ENH: Fix issue with parallel execution of the same do-file on Unix systems.

Offen
#3 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement
Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
7 T. 8 Std.
Gemergte PRs (30 T.)
10

Beschreibung

Is your feature request related to a problem?

Stata produces log files which have the same name as the executed do-file when used in batch mode.

Parallelizing over the same do-file ...

  1. may create multiple workers which want to create the same log file at the same time.
  2. may overwrite the log produced by one task with the information from another task. Whether a task fails is partly inferred from the log file,

On Windows, there is a hacky and maybe not even intended work-around to rename the log file for every task which does not work on Unix.

Describe the solution you'd like

Nothing discussed so far.

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

No file, test, or entry point is named, so first locate the pytask-stata code that launches Stata do-files and handles their logs, then inspect the Unix and Windows execution paths. Done means parallel runs of the same do-file keep separate logs on Unix, avoid overwriting one another, and still support task-failure detection.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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