coiled 1.93.3.dev2__py3-none-any.whl → 1.93.3.dev8__py3-none-any.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.
coiled/scan.py CHANGED
@@ -172,20 +172,10 @@ async def handle_dist(dist: Distribution, locations: List[Path]) -> PackageInfo
172
172
  if installer == "conda":
173
173
  return CondaPlaceHolder(name=convert_conda_to_pypi_name(dist.name), path=dist_path)
174
174
  elif dist_path.parent.suffix == ".egg":
175
- # egg files can be a directory OR a zip file
176
- # the zipp implementation of Path always uses
177
- # linux style seperators so we strip them too
178
- return {
179
- "name": dist.name,
180
- "path": dist_path.parent,
181
- "source": "pip",
182
- "channel": None,
183
- "subdir": None,
184
- "channel_url": None,
185
- "conda_name": None,
186
- "version": dist.version,
187
- "wheel_target": str(dist_path.parent).rstrip(os.sep + "/"),
188
- }
175
+ # .egg files are no longer allowed on PyPI and setuptools > 80.0
176
+ # will not even install them, so let's ignore them
177
+ logger.info("Ignoring .egg package %s", dist_path)
178
+ return
189
179
  else:
190
180
  direct_url_metadata = dist.read_text("direct_url.json")
191
181
  if direct_url_metadata:
coiled/software_utils.py CHANGED
@@ -8,6 +8,7 @@ import platform
8
8
  import re
9
9
  import shutil
10
10
  import subprocess
11
+ import warnings
11
12
  from collections import defaultdict
12
13
  from concurrent.futures import ThreadPoolExecutor
13
14
  from contextlib import asynccontextmanager
@@ -214,6 +215,11 @@ async def create_wheel(pkg_name: str, version: str, src: str) -> ResolvedPackage
214
215
 
215
216
  @track_context
216
217
  async def create_wheel_from_egg(pkg_name: str, version: str, src: str) -> ResolvedPackageInfo:
218
+ warnings.warn(
219
+ "Converting eggs to wheels is deprecated, please use wheel-based packages instead.",
220
+ DeprecationWarning,
221
+ stacklevel=2,
222
+ )
217
223
  tmpdir = get_temp_dir(ignore_cleanup_errors=True)
218
224
  outdir = Path(tmpdir.name) / Path(pkg_name)
219
225
  outdir.mkdir(parents=True)
@@ -408,6 +414,7 @@ async def create_wheels_for_packages(
408
414
  finalized_packages: list[ResolvedPackageInfo] = []
409
415
  for pkg in packages:
410
416
  if pkg["wheel_target"]:
417
+ # TODO: Remove this once we stop supporting eggs entirely
411
418
  if pkg["wheel_target"].endswith(".egg"):
412
419
  with simple_progress(f"Creating wheel from egg for {pkg['name']}", progress=progress):
413
420
  finalized_packages.append(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coiled
3
- Version: 1.93.3.dev2
3
+ Version: 1.93.3.dev8
4
4
  Summary: Python client for coiled.io dask clusters
5
5
  Project-URL: Homepage, https://coiled.io
6
6
  Maintainer-email: Coiled <info@coiled.io>
@@ -16,9 +16,9 @@ coiled/function.py,sha256=pONtcTUDRr0dykhVV73AWXqU_pb-4-lvOA0tR3i_PlA,21654
16
16
  coiled/plugins.py,sha256=SQmPgfM_LAEJX3FxbXRNqLfWZ3eqQtJqynwuOdj1QuE,3014
17
17
  coiled/prefect.py,sha256=j1EOg7Xuw82TNRonAGEoZ3ANlwN8GM5aDXRYSjC0lnA,1497
18
18
  coiled/pypi_conda_map.py,sha256=MDsacAs-SZGqthEHF0MgvdfytcnkoUEropMvjcFuk-k,9313
19
- coiled/scan.py,sha256=6tgdp4yCZASP1JenPHx7n4DgR9eb3MF-bTKJkcuQPaM,24283
19
+ coiled/scan.py,sha256=urXnS2s1Mz8rek_fo-ozfIskfNFv4Vej6j6WRgdPWl4,23972
20
20
  coiled/software.py,sha256=poBlJYwFrDe9rThEHYx3tBmqne88w7c4EDTSRH_3NOw,8006
21
- coiled/software_utils.py,sha256=8sHLmqP7XKosO0KyjDtGxFW1CkPvx0LysTNSvXrIWFo,28814
21
+ coiled/software_utils.py,sha256=R3IEmihjWfxshlj_FNofZ0JYWFAgaClLr44NFxpqJ3s,29068
22
22
  coiled/spans.py,sha256=JRlgzO7Y1pdUUlGQbWw-Z8zgxIdfP8f0T4gmv1pOip8,1987
23
23
  coiled/spark.py,sha256=kooZCZT4dLMG_AQEOlaf6gj86G3UdowDfbw-Eiq94MU,9059
24
24
  coiled/types.py,sha256=MbuI-ihqcGA8-rDaPFlmcg3JdZc22NQgiz_L26gjMGw,13546
@@ -91,8 +91,8 @@ coiled/v2/widgets/__init__.py,sha256=Bt3GHTTyri-kFUaqGRVydDM-sCg5NdNujDg2RyvgV8U
91
91
  coiled/v2/widgets/interface.py,sha256=YeMQ5qdRbbpM04x9qIg2LE1xwxyRxFbdDYnkrwHazPk,301
92
92
  coiled/v2/widgets/rich.py,sha256=3rU5-yso92NdeEh3uSvEE-GwPNyp6i0Nb5PE5czXCik,28974
93
93
  coiled/v2/widgets/util.py,sha256=Y8qpGqwNzqfCzgyRFRy7vcscBoXqop-Upi4HLPpXLgg,3120
94
- coiled-1.93.3.dev2.dist-info/METADATA,sha256=2Ok3RWv2sBUfopg4IuyLcVUpFxetwGa93q6WvPob25w,2225
95
- coiled-1.93.3.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
96
- coiled-1.93.3.dev2.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
97
- coiled-1.93.3.dev2.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
98
- coiled-1.93.3.dev2.dist-info/RECORD,,
94
+ coiled-1.93.3.dev8.dist-info/METADATA,sha256=eKHPc3fzQSp1zE2IzoWbdG50hgJOyvK55GTKOBJThk8,2225
95
+ coiled-1.93.3.dev8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
96
+ coiled-1.93.3.dev8.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
97
+ coiled-1.93.3.dev8.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
98
+ coiled-1.93.3.dev8.dist-info/RECORD,,