taskcluster-taskgraph 4.3.0__tar.gz → 5.0.0__tar.gz

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.
Files changed (128) hide show
  1. {taskcluster-taskgraph-4.3.0/src/taskcluster_taskgraph.egg-info → taskcluster-taskgraph-5.0.0}/PKG-INFO +1 -2
  2. taskcluster-taskgraph-5.0.0/pyproject.toml +31 -0
  3. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/setup.py +0 -1
  4. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0/src/taskcluster_taskgraph.egg-info}/PKG-INFO +1 -2
  5. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/__init__.py +1 -1
  6. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/cancel_all.py +1 -1
  7. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/util.py +1 -1
  8. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/create.py +1 -1
  9. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/main.py +2 -3
  10. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/run-task/run-task +7 -5
  11. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/task.py +4 -4
  12. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/path.py +2 -7
  13. taskcluster-taskgraph-4.3.0/pyproject.toml +0 -16
  14. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/LICENSE +0 -0
  15. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/MANIFEST.in +0 -0
  16. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/README.rst +0 -0
  17. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/base.in +0 -0
  18. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/base.txt +0 -0
  19. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/dev.in +0 -0
  20. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/dev.txt +0 -0
  21. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/test.in +0 -0
  22. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/requirements/test.txt +0 -0
  23. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/setup.cfg +0 -0
  24. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskcluster_taskgraph.egg-info/SOURCES.txt +0 -0
  25. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskcluster_taskgraph.egg-info/dependency_links.txt +0 -0
  26. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskcluster_taskgraph.egg-info/entry_points.txt +0 -0
  27. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskcluster_taskgraph.egg-info/requires.txt +1 -1
  28. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskcluster_taskgraph.egg-info/top_level.txt +0 -0
  29. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/__init__.py +0 -0
  30. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/add_new_jobs.py +0 -0
  31. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/cancel.py +0 -0
  32. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/rebuild_cached_tasks.py +0 -0
  33. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/registry.py +0 -0
  34. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/actions/retrigger.py +0 -0
  35. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/config.py +0 -0
  36. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/decision.py +0 -0
  37. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/docker.py +0 -0
  38. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/files_changed.py +0 -0
  39. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/filter_tasks.py +0 -0
  40. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/generator.py +0 -0
  41. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/graph.py +0 -0
  42. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/loader/__init__.py +0 -0
  43. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/loader/transform.py +0 -0
  44. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/morph.py +0 -0
  45. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/optimize/__init__.py +0 -0
  46. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/optimize/base.py +0 -0
  47. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/optimize/strategies.py +0 -0
  48. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/parameters.py +0 -0
  49. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/run-task/fetch-content +0 -0
  50. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/run-task/hgrc +0 -0
  51. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/run-task/robustcheckout.py +0 -0
  52. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/target_tasks.py +0 -0
  53. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/task.py +0 -0
  54. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/taskgraph.py +0 -0
  55. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/__init__.py +0 -0
  56. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/base.py +0 -0
  57. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/cached_tasks.py +0 -0
  58. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/code_review.py +0 -0
  59. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/docker_image.py +0 -0
  60. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/fetch.py +0 -0
  61. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/job/__init__.py +0 -0
  62. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/job/common.py +0 -0
  63. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/job/index_search.py +0 -0
  64. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/job/run_task.py +0 -0
  65. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/job/toolchain.py +0 -0
  66. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/transforms/notify.py +0 -0
  67. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/__init__.py +0 -0
  68. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/archive.py +0 -0
  69. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/attributes.py +0 -0
  70. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/cached_tasks.py +0 -0
  71. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/decision.py +0 -0
  72. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/docker.py +0 -0
  73. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/hash.py +0 -0
  74. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/keyed_by.py +0 -0
  75. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/memoize.py +0 -0
  76. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/parameterization.py +0 -0
  77. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/python_path.py +0 -0
  78. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/readonlydict.py +0 -0
  79. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/schema.py +0 -0
  80. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/shell.py +0 -0
  81. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/taskcluster.py +0 -0
  82. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/taskgraph.py +0 -0
  83. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/templates.py +0 -0
  84. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/time.py +0 -0
  85. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/treeherder.py +0 -0
  86. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/vcs.py +0 -0
  87. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/verify.py +0 -0
  88. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/workertypes.py +0 -0
  89. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/src/taskgraph/util/yaml.py +0 -0
  90. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_actions_rebuild_cached_tasks.py +0 -0
  91. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_actions_registry.py +0 -0
  92. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_create.py +0 -0
  93. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_decision.py +0 -0
  94. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_files_changed.py +0 -0
  95. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_generator.py +0 -0
  96. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_graph.py +0 -0
  97. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_main.py +0 -0
  98. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_morph.py +0 -0
  99. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_optimize.py +0 -0
  100. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_optimize_strategies.py +0 -0
  101. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_parameters.py +0 -0
  102. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_scripts_fetch_content.py +0 -0
  103. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_scripts_run_task.py +0 -0
  104. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_target_tasks.py +0 -0
  105. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_taskgraph.py +0 -0
  106. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_base.py +0 -0
  107. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_fetch.py +0 -0
  108. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_job.py +0 -0
  109. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_job_run_task.py +0 -0
  110. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_job_toolchain.py +0 -0
  111. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_notify.py +0 -0
  112. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_transforms_task.py +0 -0
  113. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_attributes.py +0 -0
  114. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_docker.py +0 -0
  115. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_memoize.py +0 -0
  116. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_parameterization.py +0 -0
  117. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_path.py +0 -0
  118. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_python_path.py +0 -0
  119. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_readonlydict.py +0 -0
  120. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_schema.py +0 -0
  121. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_taskcluster.py +0 -0
  122. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_templates.py +0 -0
  123. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_time.py +0 -0
  124. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_treeherder.py +0 -0
  125. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_vcs.py +0 -0
  126. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_verify.py +0 -0
  127. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_workertypes.py +0 -0
  128. {taskcluster-taskgraph-4.3.0 → taskcluster-taskgraph-5.0.0}/test/test_util_yaml.py +0 -0
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: taskcluster-taskgraph
3
- Version: 4.3.0
3
+ Version: 5.0.0
4
4
  Summary: Build taskcluster taskgraphs
5
5
  Home-page: https://github.com/taskcluster/taskgraph
6
6
  Classifier: Development Status :: 5 - Production/Stable
7
7
  Classifier: Environment :: Console
8
8
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
9
- Classifier: Programming Language :: Python :: 3.6
10
9
  Classifier: Programming Language :: Python :: 3.7
11
10
  Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
@@ -0,0 +1,31 @@
1
+ [tool.black]
2
+ line-length = 88
3
+ extend-exclude = """(\
4
+ taskcluster/scripts/external_tools)\
5
+ """
6
+
7
+ [tool.pytest.ini_options]
8
+ xfail_strict = true
9
+
10
+ [tool.coverage.run]
11
+ parallel = true
12
+ branch = true
13
+ source = ["src/taskgraph/", "taskgraph", "src/taskgraph/run-task/"]
14
+
15
+ [tool.ruff]
16
+ select = [
17
+ "E", "W", # pycodestyle
18
+ "F", # pyflakes
19
+ "I", # isort
20
+ "PLC", "PLE", # pylint
21
+ "UP", # pyupgrade
22
+ ]
23
+ ignore = [
24
+ "E402",
25
+ "E501", # let black handle line-length
26
+ "E741",
27
+ ]
28
+ target-version = "py37"
29
+
30
+ [tool.ruff.isort]
31
+ known-first-party = ["taskgraph"]
@@ -28,7 +28,6 @@ setup(
28
28
  "Development Status :: 5 - Production/Stable",
29
29
  "Environment :: Console",
30
30
  "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
31
- "Programming Language :: Python :: 3.6",
32
31
  "Programming Language :: Python :: 3.7",
33
32
  "Programming Language :: Python :: 3.8",
34
33
  "Programming Language :: Python :: 3.9",
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: taskcluster-taskgraph
3
- Version: 4.3.0
3
+ Version: 5.0.0
4
4
  Summary: Build taskcluster taskgraphs
5
5
  Home-page: https://github.com/taskcluster/taskgraph
6
6
  Classifier: Development Status :: 5 - Production/Stable
7
7
  Classifier: Environment :: Console
8
8
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
9
- Classifier: Programming Language :: Python :: 3.6
10
9
  Classifier: Programming Language :: Python :: 3.7
11
10
  Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
@@ -2,7 +2,7 @@
2
2
  # License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
4
 
5
- __version__ = "4.3.0"
5
+ __version__ = "5.0.0"
6
6
 
7
7
  # Maximum number of dependencies a single task can have
8
8
  # https://docs.taskcluster.net/reference/platform/taskcluster-queue/references/api#createTask
@@ -3,9 +3,9 @@
3
3
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
4
 
5
5
 
6
- import concurrent.futures as futures
7
6
  import logging
8
7
  import os
8
+ from concurrent import futures
9
9
 
10
10
  import requests
11
11
 
@@ -3,11 +3,11 @@
3
3
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
4
 
5
5
 
6
- import concurrent.futures as futures
7
6
  import copy
8
7
  import logging
9
8
  import os
10
9
  import re
10
+ from concurrent import futures
11
11
  from functools import reduce
12
12
 
13
13
  from requests.exceptions import HTTPError
@@ -3,10 +3,10 @@
3
3
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
4
 
5
5
 
6
- import concurrent.futures as futures
7
6
  import json
8
7
  import logging
9
8
  import sys
9
+ from concurrent import futures
10
10
 
11
11
  from slugid import nice as slugid
12
12
 
@@ -457,9 +457,8 @@ def show_taskgraph(options):
457
457
  try:
458
458
  proc = subprocess.run(
459
459
  diffcmd + [base_path, cur_path],
460
- stdout=subprocess.PIPE,
461
- stderr=subprocess.PIPE,
462
- universal_newlines=True,
460
+ capture_output=True,
461
+ text=True,
463
462
  check=True,
464
463
  )
465
464
  diff_output = proc.stdout
@@ -45,11 +45,13 @@ SECRET_BASEURL_TPL = "http://taskcluster/secrets/v1/secret/{}"
45
45
 
46
46
  GITHUB_SSH_FINGERPRINT = (
47
47
  b"github.com ssh-rsa "
48
- b"AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkcc"
49
- b"Krpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFz"
50
- b"LQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaS"
51
- b"jB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3sku"
52
- b"a2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\n"
48
+ b"AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY"
49
+ b"4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDP"
50
+ b"gVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyR"
51
+ b"kQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWO"
52
+ b"WRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZ"
53
+ b"yaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+"
54
+ b"2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=\n"
53
55
  )
54
56
 
55
57
 
@@ -1283,17 +1283,17 @@ def check_run_task_caches(config, tasks):
1283
1283
 
1284
1284
  if not run_task:
1285
1285
  raise Exception(
1286
- "%s is using a cache (%s) reserved for run-task "
1286
+ f"{task['label']} is using a cache ({cache}) reserved for run-task "
1287
1287
  "change the task to use run-task or use a different "
1288
- "cache name" % (task["label"], cache)
1288
+ "cache name"
1289
1289
  )
1290
1290
 
1291
1291
  if not cache.endswith(suffix):
1292
1292
  raise Exception(
1293
- "%s is using a cache (%s) reserved for run-task "
1293
+ f"{task['label']} is using a cache ({cache}) reserved for run-task "
1294
1294
  "but the cache name is not dependent on the contents "
1295
1295
  "of run-task; change the cache name to conform to the "
1296
- "naming requirements" % (task["label"], cache)
1296
+ "naming requirements"
1297
1297
  )
1298
1298
 
1299
1299
  yield task
@@ -93,13 +93,8 @@ def basedir(path, bases):
93
93
 
94
94
 
95
95
  re_cache = {}
96
- # Python versions < 3.7 return r'\/' for re.escape('/').
97
- if re.escape("/") == "/":
98
- MATCH_STAR_STAR_RE = re.compile(r"(^|/)\\\*\\\*/")
99
- MATCH_STAR_STAR_END_RE = re.compile(r"(^|/)\\\*\\\*$")
100
- else:
101
- MATCH_STAR_STAR_RE = re.compile(r"(^|\\\/)\\\*\\\*\\\/")
102
- MATCH_STAR_STAR_END_RE = re.compile(r"(^|\\\/)\\\*\\\*$")
96
+ MATCH_STAR_STAR_RE = re.compile(r"(^|/)\\\*\\\*/")
97
+ MATCH_STAR_STAR_END_RE = re.compile(r"(^|/)\\\*\\\*$")
103
98
 
104
99
 
105
100
  def match(path, pattern):
@@ -1,16 +0,0 @@
1
- [tool.black]
2
- line-length = 88
3
- extend-exclude = """(\
4
- taskcluster/scripts/external_tools)\
5
- """
6
-
7
- [tool.pytest.ini_options]
8
- xfail_strict = true
9
-
10
- [tool.isort]
11
- profile = "black"
12
-
13
- [tool.coverage.run]
14
- parallel = true
15
- branch = true
16
- source = ["src/taskgraph/", "taskgraph", "src/taskgraph/run-task/"]
@@ -1,9 +1,9 @@
1
+ PyYAML>=5.4
1
2
  appdirs>=1.4
2
3
  attrs>=19.1.0
3
4
  cookiecutter~=2.1
4
5
  json-e>=2.7
5
6
  mozilla-repo-urls
6
- PyYAML>=5.4
7
7
  redo>=2.0
8
8
  requests>=2.25
9
9
  requests_unixsocket>=0.2