xoscar 0.7.3__cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.7.4__cp310-cp310-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.

@@ -278,14 +278,16 @@ class MainActorPool(MainActorPoolBase):
278
278
  "main_pool_pid": os.getpid(),
279
279
  },
280
280
  )
281
- process = await create_subprocess_exec(
281
+ cmd = [
282
282
  start_python,
283
283
  "-m",
284
284
  "xoscar.backends.indigen",
285
285
  "start_sub_pool",
286
286
  "-sn",
287
287
  shm.name,
288
- )
288
+ ]
289
+ logger.info("Creating sub pool via command: %s", cmd)
290
+ process = await create_subprocess_exec(*cmd)
289
291
 
290
292
  def _get_external_addresses():
291
293
  try:
@@ -316,7 +318,7 @@ class MainActorPool(MainActorPoolBase):
316
318
  shm.close()
317
319
  shm.unlink()
318
320
  if external_addresses is None:
319
- raise OSError("Start sub pool failed.")
321
+ raise OSError(f"Start sub pool failed, returncode: {process.returncode}")
320
322
  return process, external_addresses
321
323
 
322
324
  async def append_sub_pool(
xoscar/virtualenv/uv.py CHANGED
@@ -14,6 +14,7 @@
14
14
 
15
15
  from __future__ import annotations
16
16
 
17
+ import logging
17
18
  import os
18
19
  import shutil
19
20
  import subprocess
@@ -25,6 +26,7 @@ from typing import Optional
25
26
  from .core import VirtualEnvManager
26
27
 
27
28
  UV_PATH = os.getenv("XOSCAR_UV_PATH")
29
+ logger = logging.getLogger(__name__)
28
30
 
29
31
 
30
32
  def _is_in_pyinstaller():
@@ -53,6 +55,8 @@ class UVVirtualEnvManager(VirtualEnvManager):
53
55
  # in this case we'd better specify the same python version
54
56
  python_version = f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}"
55
57
  cmd += ["--python", python_version]
58
+
59
+ logger.info("Creating virtualenv via command: %s", cmd)
56
60
  subprocess.run(cmd, check=True)
57
61
 
58
62
  def install_packages(self, packages: list[str], **kwargs):
@@ -87,6 +91,7 @@ class UVVirtualEnvManager(VirtualEnvManager):
87
91
  else:
88
92
  cmd += [option, param_value]
89
93
 
94
+ logger.info("Installing packages via command: %s", cmd)
90
95
  self._install_process = process = subprocess.Popen(cmd)
91
96
  returncode = process.wait()
92
97
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xoscar
3
- Version: 0.7.3
3
+ Version: 0.7.4
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=7-a_T2D_gG9MhhfkaNj2QGy7FjK06n2xwyD9Tw-rfqc,15732
50
+ xoscar/backends/indigen/pool.py,sha256=lzX_bJ07kvUurseZBr1WPL71USBcva62Xo_C6kgo5_g,15857
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
@@ -79,8 +79,8 @@ xoscar/serialization/pyfury.py,sha256=sifOnVMYoS82PzZEkzkfxesmMHei23k5UAUUKUyoOY
79
79
  xoscar/serialization/scipy.py,sha256=yOEi0NB8cqQ6e2UnCZ1w006RsB7T725tIL-DM_hNcsU,2482
80
80
  xoscar/virtualenv/__init__.py,sha256=65t9_X1DvbanNjFy366SiiWZrRTpa9SXWMXPmqayE-4,1117
81
81
  xoscar/virtualenv/core.py,sha256=dZqwg2IzHsLEERvohZx0rvBINopMRUImqxG3HHGO0q4,2744
82
- xoscar/virtualenv/uv.py,sha256=5mmE-7eeEB2zBJHdktTDvawHG9jIvKfifhJ5Wa0YmMI,3964
83
- xoscar-0.7.3.dist-info/METADATA,sha256=YW_Z9Lp7sSYz75-skFu6UzYiZM0ufBHiCiq5lDN6B6Y,9134
84
- xoscar-0.7.3.dist-info/WHEEL,sha256=Zqf17R98VQuI9JZEwsfDDfsqkexN9tbZpiCgdvPM64U,154
85
- xoscar-0.7.3.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
86
- xoscar-0.7.3.dist-info/RECORD,,
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=Zqf17R98VQuI9JZEwsfDDfsqkexN9tbZpiCgdvPM64U,154
85
+ xoscar-0.7.4.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
86
+ xoscar-0.7.4.dist-info/RECORD,,
File without changes