You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/06/29 19:46:57 UTC
(tooling-releases-client) branch main updated: Make the test transcripts compatible with the CI server
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-releases-client.git
The following commit(s) were added to refs/heads/main by this push:
new b528d79 Make the test transcripts compatible with the CI server
b528d79 is described below
commit b528d7964a3281d74f68986258c278b3ed117408
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Mon Jun 29 20:46:36 2026 +0100
Make the test transcripts compatible with the CI server
---
pyproject.toml | 4 ++--
tests/cli_workflow.t | 10 ++++------
tests/test_all.py | 5 ++---
uv.lock | 10 +++++-----
4 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index ca30ba9..37735c2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ build-backend = "hatchling.build"
[project]
name = "apache-trusted-releases"
-version = "0.20260626.1958"
+version = "0.20260629.1945"
description = "ATR CLI and Python API"
readme = "README.md"
requires-python = ">=3.12"
@@ -87,4 +87,4 @@ filterwarnings = [
]
[tool.uv]
-exclude-newer = "2026-06-26T19:58:00Z"
+exclude-newer = "2026-06-29T19:45:00Z"
diff --git a/tests/cli_workflow.t b/tests/cli_workflow.t
index 070303a..94414b6 100644
--- a/tests/cli_workflow.t
+++ b/tests/cli_workflow.t
@@ -44,14 +44,12 @@ $ atr check wait test-client 0.3+cli -i 25
Checks completed.
$ atr check status test-client 0.3+cli
-Total checks: 13
- note: 10
- concern: 3
+Total checks: <.skip.>
+<.etc.>
$ atr check status test-client 0.3+cli 00004
-Total checks: 13
- note: 10
- concern: 3
+Total checks: <.skip.>
+<.etc.>
$ atr vote start test-client 0.3+cli 00004 -m "<!user!>@apache.org" --concerns-noted atr.tasks.checks.rat.check
<.skip.>"email_to":"<!user!>@apache.org"<.skip.>
diff --git a/tests/test_all.py b/tests/test_all.py
index f946814..cfc3b44 100755
--- a/tests/test_all.py
+++ b/tests/test_all.py
@@ -410,6 +410,8 @@ def transcript_capture(
line = REGEX_COMMENT.sub("", line)
if line.startswith("$ ") or line.startswith("! ") or line.startswith("* "):
actual_output = transcript_execute(actual_output, line, script_runner, env)
+ elif line == "<.etc.>":
+ actual_output[:] = []
elif actual_output:
captures, actual_output = transcript_match(captures, actual_output, line)
elif line:
@@ -447,9 +449,6 @@ def transcript_execute(
def transcript_match(captures: dict[str, str], actual_output: list[str], line: str) -> tuple[dict[str, str], list[str]]:
- if line == "<.etc.>":
- actual_output[:] = []
- return captures, actual_output
actual_output_line = actual_output.pop(0)
# Replace captures with (?P<name>.*?)
diff --git a/uv.lock b/uv.lock
index fdcc03d..79a9edf 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,7 +3,7 @@ revision = 3
requires-python = ">=3.12"
[options]
-exclude-newer = "2026-06-26T19:58:00Z"
+exclude-newer = "2026-06-29T19:45:00Z"
[[package]]
name = "aiohappyeyeballs"
@@ -151,7 +151,7 @@ wheels = [
[[package]]
name = "apache-trusted-releases"
-version = "0.20260626.1958"
+version = "0.20260629.1945"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },
@@ -343,7 +343,7 @@ wheels = [
[[package]]
name = "cyclopts"
-version = "4.19.0"
+version = "4.20.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "attrs" },
@@ -351,9 +351,9 @@ dependencies = [
{ name = "rich" },
{ name = "rich-rst" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/65/e7/4b3048094559b86a800e0f0de7faf8e6d8213727cf31553ec58453f25abc/cyclopts-4.19.0.tar.gz", hash = "sha256:c7532803ab8560d4de8600769793c3de4b2dc8c3b23ec707b989d84d9bae6ff4", size = 189274, upload-time = "2026-06-22T23:58:54.176Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/74/89/f4c775c651d91f9cd8149f70baec94c902a34e5f17a7a67881881bcfb244/cyclopts-4.20.0.tar.gz", hash = "sha256:1d819de2b12dc6b1c9f17ce0f4937d82922c0b83ac846eb4b3289c9c9f321c9f", size = 190236, upload-time = "2026-06-29T15:04:42.253Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/eb/e8/b84c32f35a19107b55b8ceed260de9469206464da26bd0b979db470782c3/cyclopts-4.19.0-py3-none-any.whl", hash = "sha256:a8c11adb45afae25db310122950c7639c70b56e2ce341e5b29848bf3a8ecc1d4", size = 228005, upload-time = "2026-06-22T23:58:52.495Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/d4/7243bc65d33c5ff5150569c42c8c1154aadae20b25638afe35f7f568489c/cyclopts-4.20.0-py3-none-any.whl", hash = "sha256:0b4337e9c11303d86b33d3f37c629dc01638f84591681e0e5611286bdd507646", size = 229383, upload-time = "2026-06-29T15:04:40.621Z" },
]
[[package]]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org