From d289f82c46c06ece1dc18810dfa378e0e158bc25 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 07:44:08 +0000 Subject: [PATCH 1/2] build(deps-dev): bump ruff from 0.15.8 to 0.15.9 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.8 to 0.15.9. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.8...0.15.9) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.15.9 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 68fb18c6..d4ae34a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ Homepage = "https://github.com/testing-cabal/testtools" test = ["testscenarios", "testresources"] twisted = ["Twisted", "fixtures"] dev = [ - "ruff==0.15.8", + "ruff==0.15.9", "mypy>=1.20.0", "typing-extensions;python_version<'3.11'", ] From 729f33c10ebad6d68529edff505f7edbe19f659b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 6 Apr 2026 11:24:05 +0100 Subject: [PATCH 2/2] release 2.9.0 Signed-off-by: Stephen Finucane --- NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/NEWS b/NEWS index 4d5f9c87..f45e388c 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,18 @@ Changes and improvements to testtools_, grouped by release. NEXT ~~~~ +2.9.0 +~~~~~ + +Improvements +------------ +* Add ``LessThanOrEqual`` and ``GreaterThanOrEqual`` matchers. + (Julian Edwards, #594) + +* Improve type annotations throughout the codebase, including compatibility + fixes for mypy 1.20.0. + (Stephen Finucane, #587, #591, #592, #593, #600) + 2.8.7 ~~~~~