xoscar 0.7.4__cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.7.5__cp39-cp39-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.

@@ -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.info("Exit due to main pool %s exit.", main_pool_pid)
190
- os._exit(0)
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xoscar
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Summary: Python actor framework for heterogeneous computing.
5
5
  Home-page: http://github.com/xorbitsai/xoscar
6
6
  Author: Qin Xuye
@@ -47,7 +47,7 @@ xoscar/backends/indigen/__main__.py,sha256=-pfio-Y4Ogbk6lBFksH-gRatp-N6sZ7wuNc-i
47
47
  xoscar/backends/indigen/backend.py,sha256=znl_fZzWGEtLH8hZ9j9Kkf0fva25jEem2_KO7I1RVvc,1612
48
48
  xoscar/backends/indigen/driver.py,sha256=VGzkacYKykegW5qhCuhx01gdgBZEKJjNIyfNCnA6Nm8,952
49
49
  xoscar/backends/indigen/fate_sharing.py,sha256=3QUHwq5Cjk9oCKFUISvkqHaoxWZIaXcq8JNOetdBl-A,8655
50
- xoscar/backends/indigen/pool.py,sha256=lzX_bJ07kvUurseZBr1WPL71USBcva62Xo_C6kgo5_g,15857
50
+ xoscar/backends/indigen/pool.py,sha256=uL-tL9uG7HdXIJ8usQOauiqvr2_a0ztMVB2FnLzjdnM,16173
51
51
  xoscar/backends/indigen/shared_memory.py,sha256=wqbckbgnd0qNm5KzlP_hklF3F_n8fKnCehSox5uMwNs,19082
52
52
  xoscar/backends/test/__init__.py,sha256=j2ZfD6prD9WjUxRUDC7Eq5Z7N7TkL6fFr59oNyc_vY4,682
53
53
  xoscar/backends/test/backend.py,sha256=nv9WFhH5Bbq4Q1HB9yfpciZBaeHT4IQAtzugBWESrUY,1263
@@ -80,7 +80,7 @@ xoscar/serialization/scipy.py,sha256=yOEi0NB8cqQ6e2UnCZ1w006RsB7T725tIL-DM_hNcsU
80
80
  xoscar/virtualenv/__init__.py,sha256=65t9_X1DvbanNjFy366SiiWZrRTpa9SXWMXPmqayE-4,1117
81
81
  xoscar/virtualenv/core.py,sha256=dZqwg2IzHsLEERvohZx0rvBINopMRUImqxG3HHGO0q4,2744
82
82
  xoscar/virtualenv/uv.py,sha256=mR4gevfB8eFMmSLfvOYM-QhyqWyDsqO-V4bkRuhOOWA,4145
83
- xoscar-0.7.4.dist-info/METADATA,sha256=Er_dlAOGng8Du9y2bXQt42CAe9IG8nOTMjOgzGHVMyo,9134
84
- xoscar-0.7.4.dist-info/WHEEL,sha256=OyU_a3_0g4nHrDfscT3ntE6UTOgLWum2-dKsAfzpQqc,150
85
- xoscar-0.7.4.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
86
- xoscar-0.7.4.dist-info/RECORD,,
83
+ xoscar-0.7.5.dist-info/METADATA,sha256=cdE3xpdI75n6WsPnGYXmOkfeC4xVHaBTkcs4at4ZVVM,9134
84
+ xoscar-0.7.5.dist-info/WHEEL,sha256=OyU_a3_0g4nHrDfscT3ntE6UTOgLWum2-dKsAfzpQqc,150
85
+ xoscar-0.7.5.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
86
+ xoscar-0.7.5.dist-info/RECORD,,
File without changes