scriptworker 62.2.2__tar.gz → 62.2.3__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 (29) hide show
  1. {scriptworker-62.2.2 → scriptworker-62.2.3}/HISTORY.rst +9 -0
  2. {scriptworker-62.2.2 → scriptworker-62.2.3}/PKG-INFO +1 -1
  3. {scriptworker-62.2.2 → scriptworker-62.2.3}/pyproject.toml +1 -1
  4. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/artifacts.py +9 -3
  5. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/constants.py +2 -1
  6. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/cot/verify.py +1 -1
  7. {scriptworker-62.2.2 → scriptworker-62.2.3}/.gitignore +0 -0
  8. {scriptworker-62.2.2 → scriptworker-62.2.3}/CONTRIBUTING.rst +0 -0
  9. {scriptworker-62.2.2 → scriptworker-62.2.3}/LICENSE +0 -0
  10. {scriptworker-62.2.2 → scriptworker-62.2.3}/README.rst +0 -0
  11. {scriptworker-62.2.2 → scriptworker-62.2.3}/scripts/gen_ed25519_key.py +0 -0
  12. {scriptworker-62.2.2 → scriptworker-62.2.3}/scriptworker.yaml.tmpl +0 -0
  13. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/__init__.py +0 -0
  14. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/client.py +0 -0
  15. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/config.py +0 -0
  16. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/context.py +0 -0
  17. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/cot/__init__.py +0 -0
  18. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/cot/generate.py +0 -0
  19. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/data/cot_v1_schema.json +0 -0
  20. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/data/scriptworker_task_schema.json +0 -0
  21. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/ed25519.py +0 -0
  22. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/exceptions.py +0 -0
  23. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/github.py +0 -0
  24. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/log.py +0 -0
  25. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/task.py +0 -0
  26. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/task_process.py +0 -0
  27. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/utils.py +0 -0
  28. {scriptworker-62.2.2 → scriptworker-62.2.3}/src/scriptworker/worker.py +0 -0
  29. {scriptworker-62.2.2 → scriptworker-62.2.3}/tox.ini +0 -0
@@ -4,6 +4,15 @@ Change Log
4
4
  All notable changes to this project will be documented in this file.
5
5
  This project adheres to `Semantic Versioning <http://semver.org/>`__.
6
6
 
7
+ 62.2.3 - 2025-12-05
8
+ -------------------
9
+
10
+ Fixed
11
+ ~~~~~
12
+
13
+ - Added some Thunderbird CoT restricted scopes
14
+ - Downloading wildcard artifacts from tasks with over a thousand artifacts
15
+
7
16
  62.2.2 - 2025-12-02
8
17
  -------------------
9
18
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptworker
3
- Version: 62.2.2
3
+ Version: 62.2.3
4
4
  Summary: Taskcluster scriptworker
5
5
  Author-email: Mozilla Release Engineering <releng@mozilla.com>
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scriptworker"
3
- version = "62.2.2"
3
+ version = "62.2.3"
4
4
  description = "Taskcluster scriptworker"
5
5
  authors = [
6
6
  { name = "Mozilla Release Engineering", email = "releng@mozilla.com" },
@@ -224,13 +224,19 @@ def get_artifact_url(context, task_id, path):
224
224
 
225
225
 
226
226
  # list_latest_artifacts {{{1
227
- async def list_latest_artifacts(queue, task_id, exception=TaskclusterFailure):
228
- return await queue.listLatestArtifacts(task_id)
227
+ async def list_latest_artifacts(queue, task_id):
228
+ artifacts = []
229
+
230
+ def pagination_handler(response):
231
+ artifacts.extend(response["artifacts"])
232
+
233
+ await queue.listLatestArtifacts(task_id, paginationHandler=pagination_handler)
234
+ return artifacts
229
235
 
230
236
 
231
237
  async def retry_list_latest_artifacts(queue, task_id, exception=TaskclusterFailure, **kwargs):
232
238
  kwargs.setdefault("retry_exceptions", tuple(set([TaskclusterFailure, exception])))
233
- return await retry_async(list_latest_artifacts, args=(queue, task_id), kwargs={"exception": exception}, **kwargs)
239
+ return await retry_async(list_latest_artifacts, args=(queue, task_id), **kwargs)
234
240
 
235
241
 
236
242
  # get_expiration_arrow {{{1
@@ -588,7 +588,8 @@ DEFAULT_CONFIG: immutabledict[str, Any] = immutabledict(
588
588
  "project:comm:thunderbird:releng:flathub:beta": "beta",
589
589
  "project:comm:thunderbird:releng:flathub:stable": "release-or-esr",
590
590
  "project:comm:thunderbird:releng:microsoftstore:beta": "beta",
591
- "project:comm:thunderbird:releng:microsoftstore:release": "release-or-esr",
591
+ "project:comm:thunderbird:releng:microsoftstore:release": "release",
592
+ "project:comm:thunderbird:releng:microsoftstore:esr": "esr",
592
593
  }
593
594
  ),
594
595
  "translations": immutabledict(
@@ -783,7 +783,7 @@ async def download_cot_artifacts(chain):
783
783
  # artifacts from the completed tasks and then determine
784
784
  # which are needed based on the pattern given.
785
785
  if not latest_artifacts.get(task_id):
786
- latest_artifacts[task_id] = (await retry_list_latest_artifacts(chain.context.queue, task_id))["artifacts"]
786
+ latest_artifacts[task_id] = await retry_list_latest_artifacts(chain.context.queue, task_id)
787
787
  coroutines = []
788
788
  for artifact in latest_artifacts[task_id]:
789
789
  if fnmatch.fnmatch(artifact["name"], path):
File without changes
File without changes
File without changes
File without changes