xoscar 0.7.6__cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.7.7__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.

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.1
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
@@ -80,8 +80,8 @@ 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/utils.py,sha256=mL_uATHhj82xec0-0IZ6N8yI-laPAB4t8G3alPUGtPA,2439
83
- xoscar/virtualenv/uv.py,sha256=pwjOlvwz_ZlO1GQg_yqca-G6Ro_0L7H1Uf5dJPB6lQQ,4526
84
- xoscar-0.7.6.dist-info/METADATA,sha256=yFaPaVus0ZE31vkzMxminezb084hGtdOpHiTsFVELgI,9134
85
- xoscar-0.7.6.dist-info/WHEEL,sha256=OyU_a3_0g4nHrDfscT3ntE6UTOgLWum2-dKsAfzpQqc,150
86
- xoscar-0.7.6.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
87
- xoscar-0.7.6.dist-info/RECORD,,
83
+ xoscar/virtualenv/uv.py,sha256=XCjeCEntMhA0kyZS0qG7qu9AWzPtIwdeTJRLYRIOiDI,4788
84
+ xoscar-0.7.7.dist-info/METADATA,sha256=xxkpDn2341sKmMMKzwq2RdvcuBA8N5hSCDwphsv5qcU,9134
85
+ xoscar-0.7.7.dist-info/WHEEL,sha256=OyU_a3_0g4nHrDfscT3ntE6UTOgLWum2-dKsAfzpQqc,150
86
+ xoscar-0.7.7.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
87
+ xoscar-0.7.7.dist-info/RECORD,,
File without changes