From: Petr Špaček Date: Wed, 30 Jul 2025 08:10:59 +0000 (+0200) Subject: Fix compatibility with Python < 3.10 X-Git-Tag: v9.21.11~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c7f8b598d8a37fa7560d0d1b6c87e429b2446a;p=thirdparty%2Fbind9.git Fix compatibility with Python < 3.10 Dataclass kw_only argument was added only in Python 3.10 but EL9 image has only 3.9.21. --- diff --git a/bin/tests/system/nsec3-answer/tests_nsec3.py b/bin/tests/system/nsec3-answer/tests_nsec3.py index 8396e9bb5ee..33d16aca7f0 100755 --- a/bin/tests/system/nsec3-answer/tests_nsec3.py +++ b/bin/tests/system/nsec3-answer/tests_nsec3.py @@ -268,7 +268,7 @@ def check_wildcard_synthesis(qname: dns.name.Name, nsec3check: "NSEC3Checker") - nsec3check.check_extraneous_rrs() -@dataclass(kw_only=True, frozen=True) +@dataclass(frozen=True) class NSEC3Params: """Common values from a single DNS response"""