dcicutils 8.13.3.1b1__tar.gz → 8.13.3.1b4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/PKG-INFO +5 -4
  2. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/common.py +1 -2
  3. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_utils.py +8 -6
  4. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/qa_checkers.py +1 -2
  5. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/qa_utils.py +1 -2
  6. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/s3_utils.py +1 -2
  7. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/pyproject.toml +7 -6
  8. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/LICENSE.txt +0 -0
  9. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/README.rst +0 -0
  10. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/__init__.py +0 -0
  11. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/base.py +0 -0
  12. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/beanstalk_utils.py +0 -0
  13. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/bundle_utils.py +0 -0
  14. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/captured_output.py +0 -0
  15. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/cloudformation_utils.py +0 -0
  16. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/codebuild_utils.py +0 -0
  17. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/command_utils.py +0 -0
  18. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/contribution_scripts.py +0 -0
  19. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/contribution_utils.py +0 -0
  20. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/creds_utils.py +0 -0
  21. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/data_readers.py +0 -0
  22. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/data_utils.py +0 -0
  23. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/datetime_utils.py +0 -0
  24. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/deployment_utils.py +0 -0
  25. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/diff_utils.py +0 -0
  26. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/docker_utils.py +0 -0
  27. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ecr_scripts.py +0 -0
  28. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ecr_utils.py +0 -0
  29. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ecs_utils.py +0 -0
  30. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/env_base.py +0 -0
  31. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/env_manager.py +0 -0
  32. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/env_scripts.py +0 -0
  33. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/env_utils.py +0 -0
  34. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/env_utils_legacy.py +0 -0
  35. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/es_utils.py +0 -0
  36. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/exceptions.py +0 -0
  37. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ff_mocks.py +0 -0
  38. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ff_utils.py +0 -0
  39. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/file_utils.py +0 -0
  40. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/function_cache_decorator.py +0 -0
  41. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/glacier_utils.py +0 -0
  42. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/hack_for_elasticsearch_numpy_usage.py +0 -0
  43. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/http_utils.py +0 -0
  44. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/jh_utils.py +0 -0
  45. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/kibana/dashboards.json +0 -0
  46. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/kibana/readme.md +0 -0
  47. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/lang_utils.py +0 -0
  48. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/c4-infrastructure.jsonc +0 -0
  49. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/c4-python-infrastructure.jsonc +0 -0
  50. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/park-lab-common-server.jsonc +0 -0
  51. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/park-lab-common.jsonc +0 -0
  52. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/park-lab-gpl-pipeline.jsonc +0 -0
  53. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/license_policies/park-lab-pipeline.jsonc +0 -0
  54. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/log_utils.py +0 -0
  55. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/misc_utils.py +0 -0
  56. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/obfuscation_utils.py +0 -0
  57. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/opensearch_utils.py +0 -0
  58. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/portal_object_utils.py +0 -0
  59. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/portal_utils.py +0 -0
  60. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/progress_bar.py +0 -0
  61. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/project_utils.py +0 -0
  62. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/redis_tools.py +0 -0
  63. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/redis_utils.py +0 -0
  64. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/schema_utils.py +0 -0
  65. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/scripts/publish_to_pypi.py +0 -0
  66. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/scripts/run_license_checker.py +0 -0
  67. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/scripts/update_portal_object.py +0 -0
  68. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/scripts/view_portal_object.py +0 -0
  69. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/secrets_utils.py +0 -0
  70. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/sheet_utils.py +0 -0
  71. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/snapshot_utils.py +0 -0
  72. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/ssl_certificate_utils.py +0 -0
  73. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/structured_data.py +0 -0
  74. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/submitr/progress_constants.py +0 -0
  75. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/submitr/ref_lookup_strategy.py +0 -0
  76. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/task_utils.py +0 -0
  77. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/tmpfile_utils.py +0 -0
  78. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/trace_utils.py +0 -0
  79. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/validation_utils.py +0 -0
  80. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/variant_utils.py +0 -0
  81. {dcicutils-8.13.3.1b1 → dcicutils-8.13.3.1b4}/dcicutils/zip_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.13.3.1b1
3
+ Version: 8.13.3.1b4
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
@@ -26,8 +26,8 @@ Requires-Dist: PyJWT (>=2.6.0,<3.0.0)
26
26
  Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
27
27
  Requires-Dist: appdirs (>=1.4.4,<2.0.0)
28
28
  Requires-Dist: aws-requests-auth (>=0.4.2,<1)
29
- Requires-Dist: boto3 (>=1.34.144,<2.0.0)
30
- Requires-Dist: botocore (>=1.34.144,<2.0.0)
29
+ Requires-Dist: boto3 (>=1.34.147,<2.0.0)
30
+ Requires-Dist: botocore (>=1.34.147,<2.0.0)
31
31
  Requires-Dist: chardet (>=5.2.0,<6.0.0)
32
32
  Requires-Dist: docker (>=4.4.4,<5.0.0)
33
33
  Requires-Dist: elasticsearch (==7.13.4)
@@ -41,11 +41,12 @@ Requires-Dist: pyperclip (>=1.8.2,<2.0.0)
41
41
  Requires-Dist: pyramid (==1.10.8)
42
42
  Requires-Dist: pytz (>=2020.4)
43
43
  Requires-Dist: redis (>=4.5.1,<5.0.0)
44
- Requires-Dist: requests (>=2.21.0,<3.0.0)
44
+ Requires-Dist: requests (==2.31.0)
45
45
  Requires-Dist: rfc3986 (>=1.4.0,<2.0.0)
46
46
  Requires-Dist: shortuuid (>=1.0.13,<2.0.0)
47
47
  Requires-Dist: structlog (>=19.2.0,<20.0.0)
48
48
  Requires-Dist: toml (>=0.10.1,<1)
49
+ Requires-Dist: tomli (>=2.0.1,<3.0.0)
49
50
  Requires-Dist: tqdm (>=4.66.2,<5.0.0)
50
51
  Requires-Dist: typing-extensions (>=3.8)
51
52
  Requires-Dist: urllib3 (>=1.26.19,<2.0.0)
@@ -3,8 +3,7 @@ import os
3
3
  import re
4
4
 
5
5
  from tempfile import TemporaryFile
6
- from typing import Dict, Union, Tuple, List, Any
7
- from typing_extensions import Literal
6
+ from typing import Dict, Union, Tuple, List, Any, Literal
8
7
 
9
8
 
10
9
  # ===== Useful constants =====
@@ -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 library"
20
+ " 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(' '))
@@ -6,8 +6,7 @@ import toml
6
6
  import warnings
7
7
 
8
8
  from collections import defaultdict
9
- from typing import Optional, List, Dict, Type
10
- from typing_extensions import Literal
9
+ from typing import Optional, List, Dict, Type, Literal
11
10
  from .contribution_utils import Contributions
12
11
  from .lang_utils import conjoined_list, n_of, there_are
13
12
  from .misc_utils import PRINT, remove_prefix, remove_suffix, getattr_customized, CustomizableProperty
@@ -25,8 +25,7 @@ from botocore.credentials import Credentials as Boto3Credentials
25
25
  from botocore.exceptions import ClientError
26
26
  from collections import defaultdict
27
27
  from json import dumps as json_dumps, loads as json_loads
28
- from typing import Any, Optional, List, DefaultDict, Union, Type, Dict
29
- from typing_extensions import Literal
28
+ from typing import Any, Optional, List, DefaultDict, Union, Type, Dict, Literal
30
29
  from unittest import mock
31
30
  from . import misc_utils as misc_utils_module, command_utils as command_utils_module
32
31
  from .common import S3StorageClass
@@ -5,8 +5,7 @@ import mimetypes
5
5
  import os
6
6
 
7
7
  from io import BytesIO
8
- from typing import Optional, Any, Union
9
- from typing_extensions import Literal
8
+ from typing import Optional, Any, Union, Literal
10
9
  from zipfile import ZipFile
11
10
  from .base import get_beanstalk_real_url
12
11
  from .common import (
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "dcicutils"
3
- version = "8.13.3.1b1" # TODO: To become 8.13.4
3
+ version = "8.13.3.1b4" # TODO: To become 8.13.4
4
4
  description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources"
5
5
  authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
6
6
  license = "MIT"
@@ -39,8 +39,8 @@ classifiers = [
39
39
 
40
40
  [tool.poetry.dependencies]
41
41
  python = ">=3.8.1,<3.13"
42
- boto3 = "^1.34.144"
43
- botocore = "^1.34.144"
42
+ boto3 = "^1.34.147"
43
+ botocore = "^1.34.147"
44
44
  # The DCIC portals (cgap-portal and fourfront) are very particular about which ElasticSearch version.
45
45
  # This value is intentionally pinned and must not be changed casually.
46
46
  elasticsearch = "7.13.4"
@@ -63,20 +63,21 @@ pyperclip = "^1.8.2"
63
63
  PyYAML = "^6.0.1"
64
64
  # N.B. 2024-06-30: Updating (via poetry update) from requests 2.31.0 (2023-05-22)
65
65
  # to 2.32.3 (2024-05-29) causes utils GA/CI to fail (on test_ecr_utils_workflow) for some reason.
66
- requests = "^2.21.0"
66
+ requests = "2.31.0"
67
67
  rfc3986 = "^1.4.0"
68
68
  shortuuid = "^1.0.13"
69
69
  structlog = "^19.2.0"
70
70
  toml = ">=0.10.1,<1"
71
71
  tqdm = "^4.66.2"
72
72
  typing-extensions = ">=3.8" # Fourfront uses 3.8
73
+ tomli = "^2.0.1" # Came up submitr for Python 3.12
73
74
  urllib3 = "^1.26.19"
74
75
  webtest = "^2.0.34"
75
76
 
76
77
 
77
78
  [tool.poetry.dev-dependencies]
78
- boto3-stubs = "^1.34.144"
79
- botocore-stubs = "^1.34.144"
79
+ boto3-stubs = "^1.34.147"
80
+ botocore-stubs = "^1.34.147"
80
81
  coverage = "^7.5.4"
81
82
  # Loaded manually in GA workflow for coverage because a dependency on 2to3
82
83
  # in its docopts dependency makes a problem for laoding it here in poetry. -kmp 7-Apr-2023