xoscar 0.7.4__cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.7.5__cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of xoscar might be problematic. Click here for more details.
xoscar/backends/indigen/pool.py
CHANGED
|
@@ -186,8 +186,8 @@ class MainActorPool(MainActorPoolBase):
|
|
|
186
186
|
# as the double fork may result in a new process as the parent.
|
|
187
187
|
psutil.Process(main_pool_pid)
|
|
188
188
|
except psutil.NoSuchProcess:
|
|
189
|
-
logger.
|
|
190
|
-
os._exit(
|
|
189
|
+
logger.error("Exit due to main pool %s exit.", main_pool_pid)
|
|
190
|
+
os._exit(233) # Special exit code for debugging.
|
|
191
191
|
except Exception as e:
|
|
192
192
|
logger.exception("Check ppid failed: %s", e)
|
|
193
193
|
time.sleep(10)
|
|
@@ -286,8 +286,12 @@ class MainActorPool(MainActorPoolBase):
|
|
|
286
286
|
"-sn",
|
|
287
287
|
shm.name,
|
|
288
288
|
]
|
|
289
|
+
# We need to inherit the parent environment to ensure the subprocess works correctly on Windows.
|
|
290
|
+
new_env = dict(os.environ)
|
|
291
|
+
env = actor_pool_config.get_pool_config(process_index).get("env") or {}
|
|
292
|
+
new_env.update(env)
|
|
289
293
|
logger.info("Creating sub pool via command: %s", cmd)
|
|
290
|
-
process = await create_subprocess_exec(*cmd)
|
|
294
|
+
process = await create_subprocess_exec(*cmd, env=new_env)
|
|
291
295
|
|
|
292
296
|
def _get_external_addresses():
|
|
293
297
|
try:
|
|
@@ -48,7 +48,7 @@ xoscar/backends/indigen/__main__.py,sha256=-pfio-Y4Ogbk6lBFksH-gRatp-N6sZ7wuNc-i
|
|
|
48
48
|
xoscar/backends/indigen/backend.py,sha256=znl_fZzWGEtLH8hZ9j9Kkf0fva25jEem2_KO7I1RVvc,1612
|
|
49
49
|
xoscar/backends/indigen/driver.py,sha256=VGzkacYKykegW5qhCuhx01gdgBZEKJjNIyfNCnA6Nm8,952
|
|
50
50
|
xoscar/backends/indigen/fate_sharing.py,sha256=3QUHwq5Cjk9oCKFUISvkqHaoxWZIaXcq8JNOetdBl-A,8655
|
|
51
|
-
xoscar/backends/indigen/pool.py,sha256=
|
|
51
|
+
xoscar/backends/indigen/pool.py,sha256=uL-tL9uG7HdXIJ8usQOauiqvr2_a0ztMVB2FnLzjdnM,16173
|
|
52
52
|
xoscar/backends/indigen/shared_memory.py,sha256=wqbckbgnd0qNm5KzlP_hklF3F_n8fKnCehSox5uMwNs,19082
|
|
53
53
|
xoscar/backends/test/__init__.py,sha256=j2ZfD6prD9WjUxRUDC7Eq5Z7N7TkL6fFr59oNyc_vY4,682
|
|
54
54
|
xoscar/backends/test/backend.py,sha256=nv9WFhH5Bbq4Q1HB9yfpciZBaeHT4IQAtzugBWESrUY,1263
|
|
@@ -83,7 +83,7 @@ xoscar/serialization/scipy.py,sha256=yOEi0NB8cqQ6e2UnCZ1w006RsB7T725tIL-DM_hNcsU
|
|
|
83
83
|
xoscar/virtualenv/__init__.py,sha256=65t9_X1DvbanNjFy366SiiWZrRTpa9SXWMXPmqayE-4,1117
|
|
84
84
|
xoscar/virtualenv/core.py,sha256=dZqwg2IzHsLEERvohZx0rvBINopMRUImqxG3HHGO0q4,2744
|
|
85
85
|
xoscar/virtualenv/uv.py,sha256=mR4gevfB8eFMmSLfvOYM-QhyqWyDsqO-V4bkRuhOOWA,4145
|
|
86
|
-
xoscar-0.7.
|
|
87
|
-
xoscar-0.7.
|
|
88
|
-
xoscar-0.7.
|
|
89
|
-
xoscar-0.7.
|
|
86
|
+
xoscar-0.7.5.dist-info/METADATA,sha256=1azJ-zoI5CWOZ4swmrpna12HGQUVTbpv41HsN1PsS9I,9189
|
|
87
|
+
xoscar-0.7.5.dist-info/WHEEL,sha256=29GglsfgOKni3MnvXwDNoeBjBZY4LOjl_HH3QTWETk4,153
|
|
88
|
+
xoscar-0.7.5.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
|
|
89
|
+
xoscar-0.7.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|