Add changelog entries for economic-test-suite, click-8.4.2-compatibility and openssh-bug3967-workaround
Marco Ricci

Marco Ricci commited on 2026-07-05 22:22:00
Zeige 3 geänderte Dateien mit 57 Einfügungen und 0 Löschungen.

... ...
@@ -0,0 +1,10 @@
1
+### Fixed
2
+
3
+  - Work around [OpenSSH bug 3967][OPENSSH_BZ3967] where a `query`
4
+    request would receive a spurious [`SUCCESS`][_types.SSH_AGENT.SUCCESS]
5
+    response, so subsequent interactions (request-response pairs) would be
6
+    misaligned.
7
+    This only affects OpenSSH 10.3/10.3p1.
8
+
9
+[OPENSSH_BZ3967]: https://bugzilla.mindrot.org/show_bug.cgi?id=3967
10
+
... ...
@@ -0,0 +1,40 @@
1
+### Changed
2
+
3
+  - For developers: The [SSH agent client][ssh_agent.SSHAgentClient] has
4
+    separate internal methods for the "send" and the "receive" halves of
5
+    a request, each of which can be stubbed individually.
6
+
7
+  - For developers: Several internal and mostly-minor changes to the
8
+    categorization and organization of the test suite should make it
9
+    altogether faster to run if "correctness tests" are not desired, but
10
+    fast feedback/"regression tests" are:
11
+
12
+      - The `dev` and `intense` [hypothesis][] profiles are
13
+        replaced by `regression`/`debug-regression` and `correctness`.
14
+        The `flaky` profile has been dropped without replacement.
15
+      - Some parametrized tests that should be property-based tests are now
16
+        stubbed property-based tests.
17
+        Likewise, some exhaustive property-based tests with only few inputs
18
+        are now parametrized tests.
19
+        There is explicit machinery for converting parametrized tests into
20
+        stubbed property-based tests without too much writing effort.
21
+
22
+    Other test suite improvements are not primarily based on the
23
+    "correctness"/"regression" split, but nonetheless should make the test
24
+    suite faster and/or easier to use:
25
+
26
+      - SSH agent configurations and built-in SSH agent socket providers are
27
+        now stored as an enum.
28
+        SSH protocol numbers serialize as their byte representation.
29
+      - A new "agent protocol response queue" class provides stub methods
30
+        for the "send" and "receive" halves of an SSH agent request which
31
+        map fixed request messages to fixed lists of response messages.
32
+      - The stubbed SSH agent better mimics real-world agent communication
33
+        channel behavior (incomplete requests, pipelined requests, channel
34
+        shutdown).
35
+      - SSH agent interaction tests run against the stubbed SSH agent or the
36
+        agent protocol response queue where possible.
37
+      - Some common functionality has been moved into `tests.data`,
38
+        `tests.machinery` or `conftest`.
39
+
40
+[hypothesis]: https://pypi.org/project/hypothesis/
... ...
@@ -0,0 +1,7 @@
1
+### Fixed
2
+
3
+  - Changes in the test runner behavior of [`click`][] 8.2.0 and higher are
4
+    now accomodated in the test suite.
5
+    (User-visible behavior is still the same.)
6
+
7
+[click]: https://pypi.org/project/click/
0 8