xoscar 0.7.6__cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.7.7__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/virtualenv/uv.py CHANGED
@@ -47,7 +47,14 @@ class UVVirtualEnvManager(VirtualEnvManager):
47
47
  return shutil.which("uv") is not None
48
48
 
49
49
  def create_env(self, python_path: Path | None = None) -> None:
50
- uv_path = UV_PATH or "uv"
50
+ if (uv_path := UV_PATH) is None:
51
+ try:
52
+ from uv import find_uv_bin
53
+
54
+ uv_path = find_uv_bin()
55
+ except (ImportError, FileNotFoundError):
56
+ logger.warning("Fail to find uv bin, use system one")
57
+ uv_path = "uv"
51
58
  cmd = [uv_path, "venv", str(self.env_path), "--system-site-packages"]
52
59
  if python_path:
53
60
  cmd += ["--python", str(python_path)]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xoscar
3
- Version: 0.7.6
3
+ Version: 0.7.7
4
4
  Summary: Python actor framework for heterogeneous computing.
5
5
  Home-page: http://github.com/xorbitsai/xoscar
6
6
  Author: Qin Xuye
@@ -83,8 +83,8 @@ 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/utils.py,sha256=mL_uATHhj82xec0-0IZ6N8yI-laPAB4t8G3alPUGtPA,2439
86
- xoscar/virtualenv/uv.py,sha256=pwjOlvwz_ZlO1GQg_yqca-G6Ro_0L7H1Uf5dJPB6lQQ,4526
87
- xoscar-0.7.6.dist-info/METADATA,sha256=xp7ww__iDtQ5jUUW4gWu1AbFSHNUEf-rbvdC9s7i7Vg,9189
88
- xoscar-0.7.6.dist-info/WHEEL,sha256=29GglsfgOKni3MnvXwDNoeBjBZY4LOjl_HH3QTWETk4,153
89
- xoscar-0.7.6.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
90
- xoscar-0.7.6.dist-info/RECORD,,
86
+ xoscar/virtualenv/uv.py,sha256=XCjeCEntMhA0kyZS0qG7qu9AWzPtIwdeTJRLYRIOiDI,4788
87
+ xoscar-0.7.7.dist-info/METADATA,sha256=VlR6_DfFF_NtnZ-py4anndgzf2J9RcSuOHGWJkuVil0,9189
88
+ xoscar-0.7.7.dist-info/WHEEL,sha256=29GglsfgOKni3MnvXwDNoeBjBZY4LOjl_HH3QTWETk4,153
89
+ xoscar-0.7.7.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
90
+ xoscar-0.7.7.dist-info/RECORD,,
File without changes