py-rattler 0.13.0__cp38-abi3-macosx_10_12_x86_64.whl → 0.14.0__cp38-abi3-macosx_10_12_x86_64.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=1AvI2dGx7vm_kcBWdYb3_KH9yFO7AzyWa-5WgxA1SDw,104
1
+ py_rattler-0.14.0.dist-info/METADATA,sha256=eLtd7JlsbnXua5A_5YrqZDCLm6udPL4yKEp1qltDQrU,7910
2
+ py_rattler-0.14.0.dist-info/WHEEL,sha256=1AvI2dGx7vm_kcBWdYb3_KH9yFO7AzyWa-5WgxA1SDw,104
3
3
  rattler/package_streaming/__init__.py,sha256=I-mbr0sJnHzdFQP8v0Yb_GKpu4bIO3JbAJtq_wzA71Q,898
4
4
  rattler/virtual_package/virtual_package.py,sha256=hrFvoT2LjIsW5ubfXdXEZnKlSIfLP5G4vrbJST9xukI,6707
5
5
  rattler/virtual_package/generic.py,sha256=ztDVHLNbO2SemZSpdoa2SdoXcZT1hopvBFQ11fNBZmQ,4411
@@ -18,7 +18,7 @@ rattler/networking/fetch_repo_data.py,sha256=sO3dDNdvJev6TOblnGEzpFYnY2xorfr5A5z
18
18
  rattler/platform/arch.py,sha256=7tanyDql5BvDvY9UryEXyTJ9nWRfx6bn7BWrl6fGEfI,1145
19
19
  rattler/platform/__init__.py,sha256=YZaXxnJmG_WjYbhIAxA0jQDhaPYAR4rTVQCm4yRoyZQ,154
20
20
  rattler/platform/platform.py,sha256=H_P35Z0irNiyQX2fxX7ombMkGwyYa-Ow_iDIDxJrmG8,4395
21
- rattler/repo_data/gateway.py,sha256=G9CTfz6Qc84Wo3QJSxWjsCH79WOohSxxUxYwKiss8ng,10141
21
+ rattler/repo_data/gateway.py,sha256=EMit1hPVJdHOXHDaodORMfayz4P896xRy5A2ksV8TT0,10023
22
22
  rattler/repo_data/repo_data.py,sha256=lB7hQ1SN5b2VxuOaOH1BOFeIXbRUf2fslitLyT5aVwo,2264
23
23
  rattler/repo_data/package_record.py,sha256=t8vxRsfAToIolhBRjt9lB4e5Q7Tm-FjZHUI9vhxd-eA,28358
24
24
  rattler/repo_data/patch_instructions.py,sha256=TNa7NgLtqGQ6lSpibLFxuPFwsmqRLrORpDZOpeZ5fnk,694
@@ -45,7 +45,7 @@ rattler/version/version.py,sha256=06are6AdWAEDQafi5RrB8ORH87CcmtjcmpOaMhEwdn0,15
45
45
  rattler/version/with_source.py,sha256=nEW_jetdsB-5hKnxHVYgwOsd0EAe0fNKaCLlD4fIZiM,2539
46
46
  rattler/version/__init__.py,sha256=FQ_4xuCz_2tTPlIeSA_1SkPEP_DpuXw6tDDjsptMTZo,146
47
47
  rattler/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- rattler/index/index.py,sha256=jxm6v9gJtyg-AIizrpf0f5NOTMwA5SMvcbCL_HdnUG0,3725
48
+ rattler/index/index.py,sha256=3xT2X59ThgF-YI5C7PRFoGNSHfaTEKwe672TpcYXo-k,4148
49
49
  rattler/index/__init__.py,sha256=Y-fiAzMcJSbL006dpALwGEhuMSTxuR1XC4o2gMqWcKA,87
50
50
  rattler/exceptions.py,sha256=2ivs3zwllwQwn1InBiArbrZbTzPXpssv7fzZkGdRpnI,4059
51
51
  rattler/match_spec/nameless_match_spec.py,sha256=f4P44Im6CL_yq7rcSE2XRfHRRSLZ1aAKVgrNggpzQ6c,4618
@@ -58,5 +58,5 @@ rattler/package/paths_json.py,sha256=7l2Wmqobwcoe-TStXhoafWzXCT4OWif_yAAa6KVnKyg
58
58
  rattler/package/index_json.py,sha256=BxnJg5SPpiFsLhabz-Uuvc4ea_sg4N7Q-hqdQnXk8oc,12419
59
59
  rattler/package/about_json.py,sha256=FElWUXFNeF1gQJXE6lmYNEdxQjhsuimVObIeqxn3y8M,8958
60
60
  rattler/package/run_exports_json.py,sha256=fZlM_H7IBuVi6lfL4SLsV_NDb22TgFhpCkxjm8YIvfg,9305
61
- rattler/rattler.abi3.so,sha256=UJwZJcWsiPKNtqR9lcSfqQvYsi-L5TX-iWSvTI7hp6U,35547256
62
- py_rattler-0.13.0.dist-info/RECORD,,
61
+ rattler/rattler.abi3.so,sha256=PGDGakwyV3TjDJiac3qA_b2O2gNYwbatZrJgGqHPBXo,36116192
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.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
  )