Skip to content

Commit 9a4326a

Browse files
committed
Update pipeline.py.
1 parent 82d2fff commit 9a4326a

File tree

3 files changed

+39
-2
lines changed

3 files changed

+39
-2
lines changed

apps/bfd-pipeline/bfd-pipeline-idr/pipeline.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import logging
22
import os
33
import sys
4+
import time
45
from pathlib import Path
56

67
import pipeline_nodes
@@ -30,10 +31,13 @@ def main() -> None:
3031
# Shutdown any existing Ray instance first to avoid conflicts.
3132
if ray.is_initialized(): # type: ignore
3233
ray.shutdown() # type: ignore
34+
time.sleep(1)
3335
ray.init(
3436
logging_level="info",
3537
num_cpus=parallelism,
36-
runtime_env={"working_dir": str(Path.cwd())},
38+
local_mode=True, # Run tasks inprocess to avoid worker version mismatches
39+
ignore_reinit_error=True,
40+
runtime_env=None,
3741
) # type: ignore
3842

3943
dict_builder = base.DictResult()

apps/bfd-pipeline/bfd-pipeline-idr/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "bfd-pipeline-idr"
33
version = "0.1.0"
44
description = "Add your description here"
55
readme = "README.md"
6+
requires-python = ">=3.13,<3.14"
67
dependencies = [
78
"cryptography>=45.0.6",
89
"psycopg[binary,pool]>=3.2.10",

apps/uv.lock

Lines changed: 33 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)