pybiolib 1.2.1180__py3-none-any.whl → 1.2.1187__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.
@@ -1,4 +1,4 @@
1
- import copy
1
+ import json
2
2
  import os
3
3
  import re
4
4
  import sys
@@ -239,7 +239,14 @@ def push_application(
239
239
  app_data_path: Optional[Path] = None
240
240
  try:
241
241
  with open(config_yml_path) as config_yml_file:
242
- config = copy.deepcopy(yaml.safe_load(config_yml_file.read()))
242
+ try:
243
+ config = json.loads(json.dumps(yaml.safe_load(config_yml_file.read())))
244
+ except (TypeError, ValueError) as e:
245
+ raise BioLibError(
246
+ f'The .biolib/config.yml file contains data types that are not supported '
247
+ f'(must be JSON-serializable). Please ensure only standard JSON types '
248
+ f'(str, int, float, bool, list, dict, null) are used. Original error: {e}'
249
+ ) from e
243
250
 
244
251
  app_data = config.get('app_data') or config.get('assets')
245
252
  if app_data:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pybiolib
3
- Version: 1.2.1180
3
+ Version: 1.2.1187
4
4
  Summary: BioLib Python Client
5
5
  License: MIT
6
6
  Keywords: biolib
@@ -16,7 +16,7 @@ biolib/_internal/lfs/__init__.py,sha256=gSWo_xg61UniYgD7yNYxeT4I9uaXBCBSi3_nmZjn
16
16
  biolib/_internal/lfs/cache.py,sha256=pQS2np21rdJ6I3DpoOutnzPHpLOZgUIS8TMltUJk_k4,2226
17
17
  biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELrAFhw,98
18
18
  biolib/_internal/libs/fusepy/__init__.py,sha256=AWDzNFS-XV_5yKb0Qx7kggIhPzq1nj_BZS5y2Nso08k,41944
19
- biolib/_internal/push_application.py,sha256=rP835wYU6PpF8w149G7uNiKs-OauHbGbjQryGucmIt8,18684
19
+ biolib/_internal/push_application.py,sha256=5y5j3U6lf8VjXXeCqiQgMjGkwBH-tmqEW7WhpgTtaTs,19105
20
20
  biolib/_internal/runtime.py,sha256=BiHl4klUHr36MCpqKaUso4idHeBZfPAahLYRQrabFqA,486
21
21
  biolib/_internal/string_utils.py,sha256=N7J7oGu6_yA_z0pOiKqxEh__lRdiDLh6kigeDkQEZ5g,265
22
22
  biolib/_internal/templates/__init__.py,sha256=NVbhLUMC8HITzkLvP88Qu7FHaL-SvQord-DX3gh1Ykk,24
@@ -157,8 +157,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
157
157
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
158
158
  biolib/utils/seq_util.py,sha256=rImaghQGuIqTVWks6b9P2yKuN34uePUYPUFW_Wyoa4A,6737
159
159
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
160
- pybiolib-1.2.1180.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
161
- pybiolib-1.2.1180.dist-info/METADATA,sha256=uvyCdpVr94yTPMbWsufxJaRXVosq8oC_uF1pg4VyLTI,1571
162
- pybiolib-1.2.1180.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
163
- pybiolib-1.2.1180.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
164
- pybiolib-1.2.1180.dist-info/RECORD,,
160
+ pybiolib-1.2.1187.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
161
+ pybiolib-1.2.1187.dist-info/METADATA,sha256=KiLgziEE4QsvPYWHOD4WGzFsKQYlX15d8FMOj29gK1E,1571
162
+ pybiolib-1.2.1187.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
163
+ pybiolib-1.2.1187.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
164
+ pybiolib-1.2.1187.dist-info/RECORD,,