py-rattler 0.13.0__cp38-abi3-win_amd64.whl → 0.14.0__cp38-abi3-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 py-rattler might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-rattler
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: BSD License
@@ -1,5 +1,5 @@
1
- py_rattler-0.13.0.dist-info/METADATA,sha256=XMGoFN7LK15ixFdd9woq6tva9P7Akf7NMgJjqZmw63k,8033
2
- py_rattler-0.13.0.dist-info/WHEEL,sha256=BUZLgtENUTb3MHHZq7B16dIX4s1wemRTSIFxTKvf8iU,94
1
+ py_rattler-0.14.0.dist-info/METADATA,sha256=kTm3N1gReVbf4dCtggPq_-yGKfVRkKCVoaquNqE9aQU,8033
2
+ py_rattler-0.14.0.dist-info/WHEEL,sha256=BUZLgtENUTb3MHHZq7B16dIX4s1wemRTSIFxTKvf8iU,94
3
3
  rattler/channel/channel.py,sha256=X0rUb2VtxIzHzWaG8nsoH8l8q9htalzxSrv77moBIuw,2568
4
4
  rattler/channel/channel_config.py,sha256=fubqr_KtR6FzpGP-5W-v8anEjuH7kGt8hPHQ_ojmKZ8,1575
5
5
  rattler/channel/channel_priority.py,sha256=zPb2CG7RUBJVH2f-pbaxnYIDIUEvGjDJLS5-L8-CgUM,488
@@ -7,7 +7,7 @@ rattler/channel/__init__.py,sha256=66ZzlAEanXVHmRFZ5W3SSz4XaaPbOD_drHYNGtMvA7w,2
7
7
  rattler/exceptions.py,sha256=LI7yj9TPgORKcIvl6KAhp3MqTXvvGzMI450K9jh0imc,4174
8
8
  rattler/explicit_environment/environment.py,sha256=EoKZcC5t7iBTtHFtq5wkjN65ZMnRjCl0cJsCpJs4JYw,2710
9
9
  rattler/explicit_environment/__init__.py,sha256=hslNA2pDXqP5fgbnVYJAqr8j0vucFi48_vnqb3r2hfo,173
10
- rattler/index/index.py,sha256=4euwk0fUzUpu4Ets4VSlZhRrRoT9dYjc37XQ5M4V8uM,3812
10
+ rattler/index/index.py,sha256=YbUx3gQSWB782XpwJ0Y1kVFmRYDPElVj82K0-97i-8w,4247
11
11
  rattler/index/__init__.py,sha256=8xQkHyHI5CZ7YRGSGq7HO0ap7KTSR_hDekwZe3A16z8,90
12
12
  rattler/install/installer.py,sha256=oMCJzqas3yzILfEJ5wrZ4ofHlUjoJEyYGwN9JVoO4ME,3645
13
13
  rattler/install/__init__.py,sha256=qV-pHnLSxQ57o3rVFuedEaZD2_wKmtrO3l52u96Le74,72
@@ -39,7 +39,7 @@ rattler/prefix/prefix_paths.py,sha256=ifMXcllEGd2FDP2fqlDtU-b_bEuJflAjPCnfQdghP5
39
39
  rattler/prefix/prefix_record.py,sha256=FKZ5lYNuK3wA0eDW_a1JLa-kT8xmUvu8SZ01Gb3Gn2I,6500
40
40
  rattler/prefix/__init__.py,sha256=EQpguFmWOHVNb2WJk0kkgVpVi7c2KxKR-9ptsyZphX8,261
41
41
  rattler/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
- rattler/repo_data/gateway.py,sha256=lgnsiS7PQtkK9gob0uDuSgKpiWy0hGI1c4S_9QlIhIw,10406
42
+ rattler/repo_data/gateway.py,sha256=3-R8Lo10fgMz3CYCl4pq4N_xiFXv6PVm4CyLqkTY3S4,10285
43
43
  rattler/repo_data/package_record.py,sha256=Q8jrllIp1uP_Uz0e43pX6fjka0in83HsqDkzhh4RZSU,29299
44
44
  rattler/repo_data/patch_instructions.py,sha256=WlI9gXPEvbYQUkxZpr5hi1u3PypkaaXAjpu0Plp2kCA,716
45
45
  rattler/repo_data/record.py,sha256=OTZrr2FUeBGqVKwjiu-1n7uiY_GnwDVFk77gZy6ozxk,4736
@@ -58,5 +58,5 @@ rattler/virtual_package/generic.py,sha256=XOCqsULIrVbZzjf2_629HZWnplZifqo-fWkjtU
58
58
  rattler/virtual_package/virtual_package.py,sha256=YON4litF2m_dbHUzVPCHXPg4xh3CnpQmUEG6w-OUX40,6908
59
59
  rattler/virtual_package/__init__.py,sha256=PjKMWmztuN2ZbEn9u6l79dPntiRhH3f2zLH2Fvq8hu0,266
60
60
  rattler/__init__.py,sha256=L8VELJ3BoORHTmiiCJfbcLBaCnsH7SZq_ogfjYeLnU8,2579
61
- rattler/rattler.pyd,sha256=6DRD5c4CNJKyU072LotRrmgXuMpckjiBs-rHvDyl2Yc,31725568
62
- py_rattler-0.13.0.dist-info/RECORD,,
61
+ rattler/rattler.pyd,sha256=-B_W3D3CCSp-SaRfRGOkAe65FvUWCys1C-VB4XB79O0,31824896
62
+ py_rattler-0.14.0.dist-info/RECORD,,
rattler/index/index.py CHANGED
@@ -11,6 +11,8 @@ async def index_fs(
11
11
  channel_directory: os.PathLike[str],
12
12
  target_platform: Optional[Platform] = None,
13
13
  repodata_patch: Optional[str] = None,
14
+ write_zst: bool = True,
15
+ write_shards: bool = True,
14
16
  force: bool = False,
15
17
  max_parallel: int = 128,
16
18
  ) -> None:
@@ -26,6 +28,8 @@ async def index_fs(
26
28
  of dependencies to index.
27
29
  target_platform: A `Platform` to index dependencies for.
28
30
  repodata_patch: The name of the conda package (expected to be in the `noarch` subdir) that should be used for repodata patching.
31
+ write_zst: Whether to write repodata.json.zst.
32
+ write_shards: Whether to write sharded repodata.
29
33
  force: Whether to forcefully re-index all subdirs.
30
34
  max_parallel: The maximum number of packages to process in-memory simultaneously.
31
35
  """
@@ -33,6 +37,8 @@ async def index_fs(
33
37
  channel_directory,
34
38
  target_platform._inner if target_platform else target_platform,
35
39
  repodata_patch,
40
+ write_zst,
41
+ write_shards,
36
42
  force,
37
43
  max_parallel,
38
44
  )
@@ -48,8 +54,10 @@ async def index_s3(
48
54
  session_token: Optional[str] = None,
49
55
  target_platform: Optional[Platform] = None,
50
56
  repodata_patch: Optional[str] = None,
57
+ write_zst: bool = True,
58
+ write_shards: bool = True,
51
59
  force: bool = False,
52
- max_parallel: int = 128,
60
+ max_parallel: int = 32,
53
61
  ) -> None:
54
62
  """
55
63
  Indexes dependencies in the `channel_url` for one or more subdirectories in the S3 directory.
@@ -69,6 +77,8 @@ async def index_s3(
69
77
  session_token: The session token to use for authentication.
70
78
  target_platform: A `Platform` to index dependencies for.
71
79
  repodata_patch: The name of the conda package (expected to be in the `noarch` subdir) that should be used for repodata patching.
80
+ write_zst: Whether to write repodata.json.zst.
81
+ write_shards: Whether to write sharded repodata.
72
82
  force: Whether to forcefully re-index all subdirs.
73
83
  max_parallel: The maximum number of packages to process in-memory simultaneously.
74
84
  """
@@ -82,6 +92,8 @@ async def index_s3(
82
92
  session_token,
83
93
  target_platform._inner if target_platform else target_platform,
84
94
  repodata_patch,
95
+ write_zst,
96
+ write_shards,
85
97
  force,
86
98
  max_parallel,
87
99
  )
rattler/rattler.pyd CHANGED
Binary file
@@ -116,10 +116,7 @@ class Gateway:
116
116
  self._gateway = PyGateway(
117
117
  cache_dir=cache_dir,
118
118
  default_config=default_config._into_py(),
119
- per_channel_config={
120
- channel._channel if isinstance(channel, Channel) else Channel(channel)._channel: config._into_py()
121
- for channel, config in (per_channel_config or {}).items()
122
- },
119
+ per_channel_config={channel: config._into_py() for channel, config in (per_channel_config or {}).items()},
123
120
  max_concurrent_requests=max_concurrent_requests,
124
121
  client=client._client if client is not None else None,
125
122
  )