py-rattler 0.13.0__cp38-abi3-musllinux_1_2_i686.whl → 0.14.0__cp38-abi3-musllinux_1_2_i686.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=3xOCT83hJXxwLyufYzc5J3Vujj7idN3qQ-KxNzy1PH0,7910
2
- py_rattler-0.13.0.dist-info/WHEEL,sha256=TF4Hbc7b0n-0MnrD7Prg_w5CWV350-TuiCKt6PtMAX8,103
1
+ py_rattler-0.14.0.dist-info/METADATA,sha256=eLtd7JlsbnXua5A_5YrqZDCLm6udPL4yKEp1qltDQrU,7910
2
+ py_rattler-0.14.0.dist-info/WHEEL,sha256=TF4Hbc7b0n-0MnrD7Prg_w5CWV350-TuiCKt6PtMAX8,103
3
3
  rattler.libs/libgcc_s-b5472b99.so.1,sha256=wh8CpjXz9IccAyeERcB7YDEx7NH2jF-PykwOyYNeRRI,453841
4
4
  rattler/package_streaming/__init__.py,sha256=I-mbr0sJnHzdFQP8v0Yb_GKpu4bIO3JbAJtq_wzA71Q,898
5
5
  rattler/solver/__init__.py,sha256=NZabrelb_pcqOi5PyZTr3OeBbjd85IqW1-2ymOBO-k0,119
@@ -22,7 +22,7 @@ rattler/platform/arch.py,sha256=7tanyDql5BvDvY9UryEXyTJ9nWRfx6bn7BWrl6fGEfI,1145
22
22
  rattler/platform/__init__.py,sha256=YZaXxnJmG_WjYbhIAxA0jQDhaPYAR4rTVQCm4yRoyZQ,154
23
23
  rattler/platform/platform.py,sha256=H_P35Z0irNiyQX2fxX7ombMkGwyYa-Ow_iDIDxJrmG8,4395
24
24
  rattler/__init__.py,sha256=QKjBUll9mX4TVwJy-dy5Gt8IezLnJz8EPTlKhOsw2IA,2476
25
- rattler/repo_data/gateway.py,sha256=G9CTfz6Qc84Wo3QJSxWjsCH79WOohSxxUxYwKiss8ng,10141
25
+ rattler/repo_data/gateway.py,sha256=EMit1hPVJdHOXHDaodORMfayz4P896xRy5A2ksV8TT0,10023
26
26
  rattler/repo_data/sparse.py,sha256=qO3XuIfvcDEfo8mHu8UB9JBoz0IR3k_kNR32ZTpbPWU,12542
27
27
  rattler/repo_data/package_record.py,sha256=t8vxRsfAToIolhBRjt9lB4e5Q7Tm-FjZHUI9vhxd-eA,28358
28
28
  rattler/repo_data/__init__.py,sha256=cMoMtFOJBGonfWxizGphWpXdQ1GYXDXos7ESYigfco8,549
@@ -51,7 +51,7 @@ rattler/networking/middleware.py,sha256=S1eArDWo45dKo8Um6mMYMOPs_OIdhLamejEQs8Ko
51
51
  rattler/networking/client.py,sha256=rRmbeEQYO1afHDgjgSncq68hSkFpyZ1ktYgC_Q_7LBQ,1528
52
52
  rattler/networking/fetch_repo_data.py,sha256=sO3dDNdvJev6TOblnGEzpFYnY2xorfr5A5zrjsTDbWk,3714
53
53
  rattler/index/__init__.py,sha256=Y-fiAzMcJSbL006dpALwGEhuMSTxuR1XC4o2gMqWcKA,87
54
- rattler/index/index.py,sha256=jxm6v9gJtyg-AIizrpf0f5NOTMwA5SMvcbCL_HdnUG0,3725
54
+ rattler/index/index.py,sha256=3xT2X59ThgF-YI5C7PRFoGNSHfaTEKwe672TpcYXo-k,4148
55
55
  rattler/virtual_package/__init__.py,sha256=pOvvD-8V6Ld5gYBj2KPI3-cZLx8m2hcl6dqRUoBTHuw,262
56
56
  rattler/virtual_package/virtual_package.py,sha256=hrFvoT2LjIsW5ubfXdXEZnKlSIfLP5G4vrbJST9xukI,6707
57
57
  rattler/virtual_package/generic.py,sha256=ztDVHLNbO2SemZSpdoa2SdoXcZT1hopvBFQ11fNBZmQ,4411
@@ -59,5 +59,5 @@ rattler/channel/__init__.py,sha256=K-ZAo0qFzchXWP-6DpMHLg_djGD25-0CRwusisIGp8k,2
59
59
  rattler/channel/channel_config.py,sha256=rRD4dGeHTBIcm3vTuQR1wTGTELNdN69yq4lyCaTaN3M,1532
60
60
  rattler/channel/channel_priority.py,sha256=OQfCHp_DeInkMB0YahCf2X7yCk0_RtM_C_Vy4Ny-65M,474
61
61
  rattler/channel/channel.py,sha256=kGeZKa_YkSM943CA1i_8O1FXG9kS9hkrnmSl6OhkbbQ,2474
62
- rattler/rattler.abi3.so,sha256=UzBWNILdG8rhd3VfzONQLRi-7Gas1WQoULuYkQu7ebc,44955237
63
- py_rattler-0.13.0.dist-info/RECORD,,
62
+ rattler/rattler.abi3.so,sha256=NtstXrLRzTANgIOUKiBCO2J73HvbPGlnhkEkNmWjT1I,45487769
63
+ 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.abi3.so 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
  )