dcicutils 8.13.3.1b3__py3-none-any.whl → 8.13.3.1b5__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.
@@ -7,17 +7,19 @@ import json
7
7
  import os
8
8
  import re
9
9
  import subprocess
10
+ import sys
10
11
  import warnings
11
12
 
12
13
  try:
13
14
  import piplicenses
14
15
  except ImportError: # pragma: no cover - not worth unit testing this case
15
- raise Exception("The dcicutils.license_utils module is intended for use at development time, not runtime."
16
- " It does not export a requirement for the pip-licenses library,"
17
- " but to use this in your unit tests, you are expected to assure a dev dependency on that library"
18
- " as part of the [tool.poetry.dependencies] section of your pyproject.toml file."
19
- " If you are trying to manually evaluate the utility of this library, you can"
20
- " do 'pip install pip-licenses' and then retry importing this library.")
16
+ if not ((sys.version_info[0] == 3) and (sys.version_info[1] >= 12)):
17
+ raise Exception("The dcicutils.license_utils module is intended for use at development time, not runtime."
18
+ " It does not export a requirement for the pip-licenses library,"
19
+ " but to use this in your unit tests, you are expected to assure a dev dependency on that"
20
+ " library as part of the [tool.poetry.dependencies] section of your pyproject.toml file."
21
+ " If you are trying to manually evaluate the utility of this library, you can"
22
+ " do 'pip install pip-licenses' and then retry importing this library.")
21
23
  # or you can comment out the above raise of Exception and instead execute:
22
24
  #
23
25
  # subprocess.check_output('pip install pip-licenses'.split(' '))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.13.3.1b3
3
+ Version: 8.13.3.1b5
4
4
  Summary: Utility package for interacting with the 4DN Data Portal and other 4DN resources
5
5
  Home-page: https://github.com/4dn-dcic/utils
6
6
  License: MIT
@@ -43,7 +43,7 @@ dcicutils/license_policies/park-lab-common-server.jsonc,sha256=aaK-NdFDT8f8z_gBX
43
43
  dcicutils/license_policies/park-lab-common.jsonc,sha256=QyzpPveVr87RMpjrLLhnxLSp4VuEWta1gehMAqgKKig,18995
44
44
  dcicutils/license_policies/park-lab-gpl-pipeline.jsonc,sha256=vLZkwm3Js-kjV44nug3PizRGDLVnDox4CnvDKu5d2oQ,3260
45
45
  dcicutils/license_policies/park-lab-pipeline.jsonc,sha256=9qlY0ASy3iUMQlr3gorVcXrSfRHnVGbLhkS427UaRy4,283
46
- dcicutils/license_utils.py,sha256=d1cq6iwv5Ju-VjdoINi6q7CPNNL7Oz6rcJdLMY38RX0,46978
46
+ dcicutils/license_utils.py,sha256=kpI7O2JO9lImq6YZ_m67Zx0bpCARGeNIMJBv7HmfLok,47086
47
47
  dcicutils/log_utils.py,sha256=7pWMc6vyrorUZQf-V-M3YC6zrPgNhuV_fzm9xqTPph0,10883
48
48
  dcicutils/misc_utils.py,sha256=-syqTAj8DESiiP_KHoyBv9VvfboFYB03QbBlmXnBZXw,109423
49
49
  dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmjw,5963
@@ -75,8 +75,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
75
75
  dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
76
76
  dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
77
77
  dcicutils/zip_utils.py,sha256=_Y9EmL3D2dUZhxucxHvrtmmlbZmK4FpSsHEb7rGSJLU,3265
78
- dcicutils-8.13.3.1b3.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
79
- dcicutils-8.13.3.1b3.dist-info/METADATA,sha256=4io9NlI1sQj2p9AKKe4nhAd_pmljEdYlxFxk44Vr0A0,3477
80
- dcicutils-8.13.3.1b3.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
81
- dcicutils-8.13.3.1b3.dist-info/entry_points.txt,sha256=W6kEWdUJk9tQ4myAgpehPdebcwvCAZ7UgB-wyPgDUMg,335
82
- dcicutils-8.13.3.1b3.dist-info/RECORD,,
78
+ dcicutils-8.13.3.1b5.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
79
+ dcicutils-8.13.3.1b5.dist-info/METADATA,sha256=1QgIsKyJBVcgEKPEebJ1eEN0O4fOc7yDg-f24Pu8I8k,3477
80
+ dcicutils-8.13.3.1b5.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
81
+ dcicutils-8.13.3.1b5.dist-info/entry_points.txt,sha256=W6kEWdUJk9tQ4myAgpehPdebcwvCAZ7UgB-wyPgDUMg,335
82
+ dcicutils-8.13.3.1b5.dist-info/RECORD,,