xoscar 0.7.13__cp39-cp39-win_amd64.whl → 0.7.14__cp39-cp39-win_amd64.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.

Binary file
Binary file
xoscar/collective/uv.dll CHANGED
Binary file
Binary file
Binary file
xoscar/virtualenv/uv.py CHANGED
@@ -150,16 +150,25 @@ class UVVirtualEnvManager(VirtualEnvManager):
150
150
  @staticmethod
151
151
  def _split_specs(
152
152
  specs: list[str], installed: dict[str, str]
153
- ) -> tuple[list[str], dict[str, str]]:
153
+ ) -> tuple[list[str], list[str], dict[str, str]]:
154
154
  """
155
155
  Split the given requirement specs into:
156
+ - keep: specs that need to be kept, e.g. git+github://xxx
156
157
  - to_resolve: specs that need to be passed to the resolver (unsatisfied ones)
157
158
  - pinned: already satisfied specs, used for constraint to lock their versions
158
159
  """
160
+ keep: list[str] = []
159
161
  to_resolve: list[str] = []
160
162
  pinned: dict[str, str] = {}
161
163
 
162
164
  for spec_str in specs:
165
+ # skip git+xxx
166
+ if spec_str.startswith(
167
+ ("git+", "http://", "https://", "svn+", "hg+", "bzr+")
168
+ ):
169
+ keep.append(spec_str)
170
+ continue
171
+
163
172
  req = Requirement(spec_str)
164
173
  name = req.name.lower()
165
174
  cur_ver = installed.get(name)
@@ -185,7 +194,7 @@ class UVVirtualEnvManager(VirtualEnvManager):
185
194
  # Parsing error, be conservative and resolve it
186
195
  to_resolve.append(spec_str)
187
196
 
188
- return to_resolve, pinned
197
+ return keep, to_resolve, pinned
189
198
 
190
199
  def _filter_packages_not_installed(self, packages: list[str]) -> list[str]:
191
200
  """
@@ -200,18 +209,21 @@ class UVVirtualEnvManager(VirtualEnvManager):
200
209
  }
201
210
 
202
211
  # exclude those packages that satisfied in system site packages
203
- to_resolve, pinned = self._split_specs(packages, installed)
204
- if not to_resolve:
212
+ keep, to_resolve, pinned = self._split_specs(packages, installed)
213
+ if not keep and not to_resolve:
205
214
  logger.debug("All requirement specifiers satisfied by system packages.")
206
215
  return []
207
216
 
208
- resolved = self._resolve_install_plan(to_resolve, pinned)
209
- logger.debug(f"Resolved install list: {resolved}")
210
- if not resolved:
211
- # no packages to install
212
- return []
217
+ if to_resolve:
218
+ resolved = self._resolve_install_plan(to_resolve, pinned)
219
+ logger.debug(f"Resolved install list: {resolved}")
220
+ if not keep and not resolved:
221
+ # no packages to install
222
+ return []
223
+ else:
224
+ resolved = []
213
225
 
214
- final = []
226
+ final = keep.copy()
215
227
  for item in resolved:
216
228
  name, version = item.split("==")
217
229
  key = name.lower()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xoscar
3
- Version: 0.7.13
3
+ Version: 0.7.14
4
4
  Summary: Python actor framework for heterogeneous computing.
5
5
  Home-page: http://github.com/xorbitsai/xoscar
6
6
  Author: Qin Xuye
@@ -1,5 +1,5 @@
1
1
  xoscar/__init__.py,sha256=lzCXUmkuIjcjkiNQFekysdJR_ZhlbjcfR5ka1bZZNQg,1683
2
- xoscar/_utils.cp39-win_amd64.pyd,sha256=M_NqS-u0ybRHD9YVgOU-7JkOj1qJxE5G70LH8TQxHHg,115712
2
+ xoscar/_utils.cp39-win_amd64.pyd,sha256=YxghmeC4wmCs6bbh2hUBJC-eidspyMA6fF_-BaU8V54,115712
3
3
  xoscar/_utils.pxd,sha256=rlNbTg5lhXA-jCOLksqF4jhUlNn0xw2jx1HxdLa34pc,1193
4
4
  xoscar/_utils.pyx,sha256=TWScgqmJGYzjbWBOShBLkq07ldfYEQ5fw6V4OytX_IA,7626
5
5
  xoscar/_version.py,sha256=bsfCVAo_o9LkiP3AjPsP4SRRqhjuS0t4D1WGJPzbdls,24412
@@ -7,10 +7,10 @@ xoscar/api.py,sha256=QQDHn-_FiDExmOxEk8BUnq4Qrx13VX3shSlEEqPQJo0,15175
7
7
  xoscar/backend.py,sha256=8G5JwjoOT6Q2slb11eXNApxgcmvNQUCdQzkoIMDwLcQ,1917
8
8
  xoscar/batch.py,sha256=Jk5BSpvMFAV9DrRy0a9tgPvIo_dt8cbJReZBL0cnOPc,8128
9
9
  xoscar/constants.py,sha256=GJ1KEOxwnqksc9K_GH42TSWpQECeC6ti3KJmE3PUcTw,810
10
- xoscar/context.cp39-win_amd64.pyd,sha256=lWd25V5LA7odENeUCmwGc2JKhtxeCqM8vXbhMD11hCI,164352
10
+ xoscar/context.cp39-win_amd64.pyd,sha256=R1YeQ5x394pYnG3GWe2ybLuAOqH_GmnaaszlCWP7bOo,164352
11
11
  xoscar/context.pxd,sha256=6n6IAbmArSRq8EjcsbS6npW8xP1jI0qOoS1fF0oyj-o,746
12
12
  xoscar/context.pyx,sha256=FOJVerGOvxe2USryXEQA0rpaFX_ScxISH6QWKUcahY8,11310
13
- xoscar/core.cp39-win_amd64.pyd,sha256=lJgURCW1SPQLoNrOTmmSxYRkuQiIlkf4-uxCsW1fUOY,324096
13
+ xoscar/core.cp39-win_amd64.pyd,sha256=U5tynGK3p-Oh97D5bl4SMx-S66P33OfcRhrUj16R7oo,324096
14
14
  xoscar/core.pxd,sha256=9IZP7dYGfnF1I-obIls8R8b6forxDOPbiM3v5nVslLk,1368
15
15
  xoscar/core.pyx,sha256=U6jCZN74MQHi7HkQRaVGm_w5q-FMsw0nnE3aU6533_Q,22756
16
16
  xoscar/debug.py,sha256=hrmxIH6zvTKasQo6PUUgXu5mgEsR0g87Fvpw7CoHipg,5257
@@ -30,7 +30,7 @@ xoscar/backends/allocate_strategy.py,sha256=DzvTlixwzTANURI2mDLHm3vcaugSPDxU6UQZ
30
30
  xoscar/backends/config.py,sha256=86j0g_Xrl8ENPzBWi296yWg9QEcljvdKK-yJbfYTvQ0,5532
31
31
  xoscar/backends/context.py,sha256=qWwksx8JxYcKR-LQA3PvXh4ReuuTTEyDaLbjpxGXcTA,16766
32
32
  xoscar/backends/core.py,sha256=fbekAxys_t1Dv7if-1R6uVvC_yAxNkXLeQ1V1ZSAfC0,11161
33
- xoscar/backends/message.cp39-win_amd64.pyd,sha256=wnIKkH8rNY9qrTgL3240ttbnEttmaRCJz5i6vNzJY2E,245248
33
+ xoscar/backends/message.cp39-win_amd64.pyd,sha256=GyZ7aAWUEfvbS6js5RIJw1oJHrgzaflNn8xZrrYTRwQ,245248
34
34
  xoscar/backends/message.pyx,sha256=lBEjMJv4VyxmeO9lHXJJazOajbFnTLak4PSBcLoPZvU,20331
35
35
  xoscar/backends/pool.py,sha256=bS_m8XBkfQQsCOaLEzM6HkV5e78dPPp1bCH6yjvPEss,62153
36
36
  xoscar/backends/router.py,sha256=EjfNpQUrhFU15eYe1kRPueziHgI2gfDViUzm7ruvXDE,10817
@@ -57,8 +57,8 @@ xoscar/collective/common.py,sha256=9c7xq3IOUvfA0I9GnpalUqXZOzmF6IEILv4zL64BYVE,3
57
57
  xoscar/collective/core.py,sha256=191aPxbUgWpjzrqyozndImDAQhZFmqoQdBkHFLDfXN0,24239
58
58
  xoscar/collective/process_group.py,sha256=kTPbrLMJSGhqbiWvTIiz-X3W0rZWd_CFn_zUIlXbOlM,23286
59
59
  xoscar/collective/utils.py,sha256=p3WEVtXvnVhkuO5mRgQBhBRFr1dKHcDKMjrbMyuiyfg,1219
60
- xoscar/collective/uv.dll,sha256=_k0yO7S26icYYwET2Jd-9d2YC-qi03h5dBHpjNHm95E,620544
61
- xoscar/collective/xoscar_pygloo.cp39-win_amd64.pyd,sha256=ukJTPGIMIP19sFJJ9YT45cV66I7TKba51WVBeWZcSWU,839680
60
+ xoscar/collective/uv.dll,sha256=OZL-Vazk26kvdgT0f-tzT_HZUnUP1Doaepd1MWGhWYo,620544
61
+ xoscar/collective/xoscar_pygloo.cp39-win_amd64.pyd,sha256=eHtEWKA1ZFVgwE_D4tz7cVKNs6lleBCSWGyGqRizC9Q,839680
62
62
  xoscar/metrics/__init__.py,sha256=RjXuuYw4I2YYgD8UY2Z5yCZk0Z56xMJ1n40O80Dtxf8,726
63
63
  xoscar/metrics/api.py,sha256=dtJ4QrIqQNXhJedeqOPs4TXKgrRGZFFN50xAd9SCfec,9144
64
64
  xoscar/metrics/backends/__init__.py,sha256=ZHepfhCDRuK9yz4pAM7bjpWDvS3Ijp1YgyynoUFLeuU,594
@@ -69,7 +69,7 @@ xoscar/metrics/backends/prometheus/__init__.py,sha256=ZHepfhCDRuK9yz4pAM7bjpWDvS
69
69
  xoscar/metrics/backends/prometheus/prometheus_metric.py,sha256=65hb8O3tmsEJ7jgOrIwl_suj9SE5Tmqcfjuk0urkLvE,2120
70
70
  xoscar/serialization/__init__.py,sha256=tS8C49yrW_geWNEsbgW3phK1q4YN1ojI6CN-vroIFYM,876
71
71
  xoscar/serialization/aio.py,sha256=7YLXgkWpQ3ANy-TZ1qO8Mt4_J3cZFhFh2FEgUgxMT60,4873
72
- xoscar/serialization/core.cp39-win_amd64.pyd,sha256=t16vuKIDm176_uMckRL1R5QzpwI01cJF8E-87fDUMaA,267264
72
+ xoscar/serialization/core.cp39-win_amd64.pyd,sha256=CmGiTYJQ6735rnzxaqQI5eVMkhlt1FlCYH4UYeUsIMM,267264
73
73
  xoscar/serialization/core.pxd,sha256=X-47bqBM2Kzw5SkLqICdKD0gU6CpmLsBxC3kfW--wVk,1013
74
74
  xoscar/serialization/core.pyx,sha256=ZKexLRnRwZXXn2045kR7xfM_szcoPNrDuouQCWtpFp8,30570
75
75
  xoscar/serialization/cuda.py,sha256=Fj4Cpr_YmkGceUCo0mQn8fRvmHP_5WcLdRx6epZ3RC0,3869
@@ -81,8 +81,8 @@ xoscar/serialization/scipy.py,sha256=9ph-yoRoNiwUZTwQrn35U60VPirWlncXNAg6EXvqMR4
81
81
  xoscar/virtualenv/__init__.py,sha256=rhJ7I6x7aXjKOCzSqsKLwqFJMh4YC2sqchEIJNEfI58,1151
82
82
  xoscar/virtualenv/core.py,sha256=5w1UDnzLHKyrFFwqAJFXVxkpXrd5ux8OlxSR3971bMo,3055
83
83
  xoscar/virtualenv/utils.py,sha256=tZYB1kAEym5e8WK9SxhW7VgZzXk6fJMm6MoBA7pY4gM,2523
84
- xoscar/virtualenv/uv.py,sha256=hHWtt6xxNTKNbuHpYXicgXxb2IDBg5Nqtn7Mw4xBEQU,10976
85
- xoscar-0.7.13.dist-info/METADATA,sha256=s6pbK1V7uqX__vGJo4Gk-kJFi4KaCBDS4bcDGqtKlJo,9361
86
- xoscar-0.7.13.dist-info/WHEEL,sha256=yA7mxgqX2UV73NtJdMh2AAmdb628loM81912H3s5r00,100
87
- xoscar-0.7.13.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
88
- xoscar-0.7.13.dist-info/RECORD,,
84
+ xoscar/virtualenv/uv.py,sha256=irejdyLJRMZbojo_DZqzbK0xGiB5yG7mGNGOIen2I1s,11439
85
+ xoscar-0.7.14.dist-info/METADATA,sha256=UB6XB-DxqpCla7HZ3TS5BGaSlKcMM0henr6CgIiJVyw,9361
86
+ xoscar-0.7.14.dist-info/WHEEL,sha256=yA7mxgqX2UV73NtJdMh2AAmdb628loM81912H3s5r00,100
87
+ xoscar-0.7.14.dist-info/top_level.txt,sha256=vYlqqY4Nys8Thm1hePIuUv8eQePdULVWMmt7lXtX_ZA,21
88
+ xoscar-0.7.14.dist-info/RECORD,,