https://bugs.gentoo.org/978396 https://github.com/frostming/unearth/pull/176 https://github.com/frostming/unearth/commit/69ece0800edeefb1daf035bb0ee348e17a4393fd From 69ece0800edeefb1daf035bb0ee348e17a4393fd Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 9 Feb 2026 18:05:48 +1100 Subject: [PATCH] fix: support packaging 26.0 changes (#176) packaging 26.0 changed how Specifier.contains() behaves with prereleases=None[0], so call it with False explicitly in the two tests that fail without it. 0: https://github.com/pypa/packaging/issues/895 Signed-off-by: Steve Kowalik --- a/tests/test_evaluator.py +++ b/tests/test_evaluator.py @@ -251,9 +251,9 @@ def test_evaluate_compatibility_tags(link, expected, ignore_compatibility): ("8.1.3", ">=8.0", None, True), ("7.1", ">=8.0", None, False), ("8.0.0a0", ">=8.0.0dev0", None, True), - ("8.0.0dev0", ">=7", None, False), + ("8.0.0dev0", ">=7", False, False), ("8.0.0dev0", ">=7", True, True), - ("8.0.0a0", "", None, False), + ("8.0.0a0", "", False, False), ("8.0.0a0", ">=8.0.0dev0", False, False), ], )