]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
3 days agoUpdate BADTSIG text. main
Brian Wellington [Mon, 13 Jul 2026 19:28:12 +0000 (12:28 -0700)] 
Update BADTSIG text.

13 days agoNote module name is "dns"
Bob Halley [Fri, 3 Jul 2026 15:24:13 +0000 (08:24 -0700)] 
Note module name is "dns"

13 days agoFix other isdigit() instances that are better as isdecimal().
Bob Halley [Fri, 3 Jul 2026 15:18:39 +0000 (08:18 -0700)] 
Fix other isdigit() instances that are better as isdecimal().

Both raised exceptions, but the latter raises a
dns.exception.SyntaxError in cases where the old code raised
ValueError.

This change also fixes the tokenizer's get_int() method, which
did not work for bases bigger than 10.

13 days agoRaise BadTTL for non-decimal Unicode digits in dns.ttl.from_text(). (#1279)
Sanjay Santhanam [Fri, 3 Jul 2026 14:48:24 +0000 (07:48 -0700)] 
Raise BadTTL for non-decimal Unicode digits in dns.ttl.from_text(). (#1279)

from_text() gated its integer parsing on str.isdigit(), then handed the
text to int().  str.isdigit() is True for Unicode "digit" characters whose
category is No (e.g. the superscript "\u00b2" or the Ethiopic "\u1369"),
but int() only accepts decimal digits, so such input escaped the parser's
validation and raised a bare ValueError instead of the documented
dns.ttl.BadTTL.

This was reachable through the public zone-file parser: a resource-record
TTL or a $TTL directive containing such a character crashed
dns.zone.from_text() with a ValueError rather than a clean
dns.exception.SyntaxError.

Switch both isdigit() checks to isdecimal().  For a single character,
int()-acceptance is exactly equivalent to isdecimal(), and isdecimal() is a
strict subset of isdigit(), so every previously valid TTL still parses while
the non-decimal digits are now rejected as BadTTL.

Add a regression test covering the fast (all-digit) path and the BIND-style
units path.

2 weeks agoFix uv globbing.
Bob Halley [Sun, 28 Jun 2026 01:00:10 +0000 (18:00 -0700)] 
Fix uv globbing.

Source kit builds were not longer including the tests, examples,
and utilities because the glob stopped matching.  Previously we
were using an "absolute" syntax starting with "/" but this doesn't
seem to work now.

Also, added tests/tsigkeys/*.key to the glob so they are included.

2 weeks agoUnknown flag fixes.
Bob Halley [Sun, 28 Jun 2026 00:39:57 +0000 (17:39 -0700)] 
Unknown flag fixes.

We now mask out opcode and rcode for (regular) flags,
and the extended rcode and version for EDNS flags.

We now test with unknown flag 0x0040 for flags, as
it is the only actually undefined flag bit.

We now test with unknown flags 0x0003 for EDNS, as
flag 0x2000 is expected to be used in DELEG.

2 weeks agoRender unnamed flag bits in to_text() instead of dropping them (#1276)
Eugen Goebel [Sat, 27 Jun 2026 23:43:55 +0000 (01:43 +0200)] 
Render unnamed flag bits in to_text() instead of dropping them (#1276)

Closes #1264.

dns.flags.to_text() and dns.flags.edns_to_text() iterated only the named
enum members, so any set bit without a named flag (for example the EDNS
0x2000 bit) was silently dropped from the text representation. Such bits
are now rendered as FLAGn, where n is the bit position, and from_text()
and edns_from_text() parse that form back, so the conversions round-trip.

Adds tests in tests/test_flags.py and a whatsnew entry.

Fixes [#1264].

Co-authored-by: Eugen Goebel <eugen-goebel@users.noreply.github.com>
2 weeks agoOpen tsig key file (#1271)
Remi Jouannet [Sat, 27 Jun 2026 18:02:43 +0000 (20:02 +0200)] 
Open tsig key file (#1271)

* add tsigkeyring.from_file to use key file generate by tsig-keygen

* add tsigkeyring.from_file to use key file generate by tsig-keygen

2 weeks agoTell black we target our least supported version.
Bob Halley [Sat, 27 Jun 2026 17:50:40 +0000 (10:50 -0700)] 
Tell black we target our least supported version.

2 weeks agosimplify Serial hash tests; remove "equality contract" comments
Bob Halley [Sat, 27 Jun 2026 17:41:50 +0000 (10:41 -0700)] 
simplify Serial hash tests; remove "equality contract" comments

2 weeks agoMake dns.serial.Serial hashable (#1277)
Vincent Gao [Sat, 27 Jun 2026 17:35:49 +0000 (19:35 +0200)] 
Make dns.serial.Serial hashable (#1277)

3 weeks agoBump actions/checkout from 6 to 7 (#1275)
dependabot[bot] [Sat, 20 Jun 2026 23:28:38 +0000 (16:28 -0700)] 
Bump actions/checkout from 6 to 7 (#1275)

Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 weeks agofix typo
Bob Halley [Tue, 16 Jun 2026 23:34:56 +0000 (16:34 -0700)] 
fix typo

4 weeks agoswitch from httpx to httpx2
Bob Halley [Tue, 16 Jun 2026 23:29:12 +0000 (16:29 -0700)] 
switch from httpx to httpx2

7 weeks agoupgrade pypy to 3.11; fixes issue building cryptography wheel for CI
Bob Halley [Tue, 26 May 2026 12:43:05 +0000 (05:43 -0700)] 
upgrade pypy to 3.11; fixes issue building cryptography wheel for CI

7 weeks agofix encoding bug with new EDNS options; apply black
Bob Halley [Mon, 25 May 2026 19:36:31 +0000 (12:36 -0700)] 
fix encoding bug with new EDNS options; apply black

7 weeks agoAdd new IANA-allocated options from draft-muks-dns-filtering (#1269)
Mukund Sivaraman [Mon, 25 May 2026 19:28:36 +0000 (19:28 +0000)] 
Add new IANA-allocated options from draft-muks-dns-filtering (#1269)

7 weeks agoAdd newly allocated EDE INFO-CODEs (#1268)
Mukund Sivaraman [Mon, 25 May 2026 19:25:19 +0000 (19:25 +0000)] 
Add newly allocated EDE INFO-CODEs (#1268)

These are from the "Extended DNS Error Codes" registry in the "Domain
Name System (DNS) Parameters" registry group.

2 months agomodernize pyproject license format
Bob Halley [Sat, 16 May 2026 19:41:04 +0000 (12:41 -0700)] 
modernize pyproject license format

2 months agolicense classifiers are deprecated now
Bob Halley [Sat, 16 May 2026 19:36:18 +0000 (12:36 -0700)] 
license classifiers are deprecated now

2 months agotype lint
Bob Halley [Sat, 16 May 2026 19:23:22 +0000 (12:23 -0700)] 
type lint

3 months agofix testInvalidDigestLengthCDS0 for 3.15
Bob Halley [Sun, 12 Apr 2026 17:47:20 +0000 (10:47 -0700)] 
fix testInvalidDigestLengthCDS0 for 3.15

3 months agoComprehensive conversion of documentation to Python documentation norms. (#1266)
Bob Halley [Sun, 12 Apr 2026 17:43:45 +0000 (10:43 -0700)] 
Comprehensive conversion of documentation to Python documentation norms. (#1266)

3 months agoForgot the HHIT file!
Bob Halley [Sat, 4 Apr 2026 15:41:49 +0000 (08:41 -0700)] 
Forgot the HHIT file!

3 months agoAdd HHIT and BRID types (RFC 9886).
Bob Halley [Sat, 4 Apr 2026 15:37:02 +0000 (08:37 -0700)] 
Add HHIT and BRID types (RFC 9886).

3 months agoUpdate uv-build requirement from <0.11.0,>=0.9.21 to >=0.9.21,<0.12.0 (#1265)
dependabot[bot] [Sat, 28 Mar 2026 18:36:26 +0000 (11:36 -0700)] 
Update uv-build requirement from <0.11.0,>=0.9.21 to >=0.9.21,<0.12.0 (#1265)

Updates the requirements on [uv-build](https://github.com/astral-sh/uv) to permit the latest version.
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/uv/compare/0.9.21...0.11.0)

---
updated-dependencies:
- dependency-name: uv-build
  dependency-version: 0.11.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months agolatest ty lint
Bob Halley [Sun, 15 Mar 2026 22:55:19 +0000 (15:55 -0700)] 
latest ty lint

4 months agorearrange docpath and alpn inheritance to make typing happy.
Bob Halley [Sun, 15 Mar 2026 22:51:56 +0000 (15:51 -0700)] 
rearrange docpath and alpn inheritance to make typing happy.

4 months agosvcbbase: add docpath SvcParamKey (#1262)
Martine Lenders [Sun, 15 Mar 2026 22:41:50 +0000 (23:41 +0100)] 
svcbbase: add docpath SvcParamKey (#1262)

* svcbbase: add docpath SvcParamKey

* tests: add tests for docpath

* svcbbase: remove debug print

* Allow for empty docpath to be printed without ""

* Remove now unnecessary DoCPathParam construtor

4 months agomisc black formatting lint
Bob Halley [Sun, 8 Mar 2026 13:34:57 +0000 (06:34 -0700)] 
misc black formatting lint

4 months agoBump actions/upload-artifact from 6 to 7 (#1260)
dependabot[bot] [Fri, 27 Feb 2026 19:08:37 +0000 (11:08 -0800)] 
Bump actions/upload-artifact from 6 to 7 (#1260)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months agoBump actions/download-artifact from 7 to 8 (#1259)
dependabot[bot] [Fri, 27 Feb 2026 19:08:14 +0000 (11:08 -0800)] 
Bump actions/download-artifact from 7 to 8 (#1259)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months agoProvide a "styled text" mechanism to comprehensively control (#1258)
Bob Halley [Wed, 18 Feb 2026 23:49:59 +0000 (15:49 -0800)] 
Provide a "styled text" mechanism to comprehensively control (#1258)

text generation, and to make it easier to enhance in the future.

Styled text includes the ability to output to a (non-standard)
zonefile format which is like the normal format except that
Punycoded names are converted back to Unicode, and (optionally)
TXT-like records may use UTF-8, and if they do the text is rendered
as Unicode.

5 months agofix more IDNA tests
Bob Halley [Sat, 7 Feb 2026 15:51:25 +0000 (07:51 -0800)] 
fix more IDNA tests

5 months agomore IDNA doco updates
Bob Halley [Sat, 7 Feb 2026 15:46:58 +0000 (07:46 -0800)] 
more IDNA doco updates

5 months agoFix missed things in IDNA default change.
Bob Halley [Sat, 7 Feb 2026 15:29:42 +0000 (07:29 -0800)] 
Fix missed things in IDNA default change.

5 months agoIDNA default improvements
Bob Halley [Sat, 7 Feb 2026 15:14:14 +0000 (07:14 -0800)] 
IDNA default improvements

* If idna is available, make IDNA_2008_Practical the default idna_codec.

* Add a way to set the default IDNA codec.

5 months agoUpdate uv-build requirement from <0.10.0,>=0.9.21 to >=0.9.21,<0.11.0 (#1256)
dependabot[bot] [Fri, 6 Feb 2026 16:22:35 +0000 (08:22 -0800)] 
Update uv-build requirement from <0.10.0,>=0.9.21 to >=0.9.21,<0.11.0 (#1256)

Updates the requirements on [uv-build](https://github.com/astral-sh/uv) to permit the latest version.
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/uv/compare/0.9.21...0.10.0)

---
updated-dependencies:
- dependency-name: uv-build
  dependency-version: 0.10.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months agomore dev dependency updates
Bob Halley [Mon, 2 Feb 2026 01:43:00 +0000 (17:43 -0800)] 
more dev dependency updates

5 months agoty 0.0.14 lint
Bob Halley [Sat, 31 Jan 2026 14:28:50 +0000 (06:28 -0800)] 
ty 0.0.14 lint

5 months agoapply black 26.1
Bob Halley [Sat, 24 Jan 2026 00:56:02 +0000 (16:56 -0800)] 
apply black 26.1

5 months agoAdd RFC 9824 CO EDNS flag
Bob Halley [Sun, 18 Jan 2026 13:23:47 +0000 (05:23 -0800)] 
Add RFC 9824 CO EDNS flag

5 months agoremove mypy from pyproject.toml
Bob Halley [Sun, 18 Jan 2026 13:05:07 +0000 (05:05 -0800)] 
remove mypy from pyproject.toml

5 months agomore mypy removal
Bob Halley [Sun, 18 Jan 2026 13:03:01 +0000 (05:03 -0800)] 
more mypy removal

5 months agoty 0.0.12 lint
Bob Halley [Sat, 17 Jan 2026 16:11:37 +0000 (08:11 -0800)] 
ty 0.0.12 lint

6 months agoBump sphinx-rtd-theme from 3.0.2 to 3.1.0 (#1253)
dependabot[bot] [Tue, 13 Jan 2026 15:48:04 +0000 (07:48 -0800)] 
Bump sphinx-rtd-theme from 3.0.2 to 3.1.0 (#1253)

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 3.0.2 to 3.1.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/3.0.2...3.1.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months agofurther typing fixes for zone to file
Bob Halley [Sat, 10 Jan 2026 22:18:19 +0000 (14:18 -0800)] 
further typing fixes for zone to file

6 months agotype lint for latest ty and pyright
Bob Halley [Sat, 10 Jan 2026 20:07:05 +0000 (12:07 -0800)] 
type lint for latest ty and pyright

6 months agofix logging formatting
Bob Halley [Fri, 9 Jan 2026 14:28:30 +0000 (06:28 -0800)] 
fix logging formatting

6 months agoAdd DDNS server example (#1246)
darkdragon-001 [Fri, 9 Jan 2026 14:24:21 +0000 (15:24 +0100)] 
Add DDNS server example (#1246)

Adjust the default values of the DDNS client example to connect to the one from the server example.

6 months agoUse queue instead of single future in asyncio datagram socket (#1250)
darkdragon-001 [Fri, 2 Jan 2026 21:14:52 +0000 (22:14 +0100)] 
Use queue instead of single future in asyncio datagram socket (#1250)

Previously, a single future was used and any package which was received before the future was awaited was silently discarded.

6 months agoVarious small improvements (#1248)
darkdragon-001 [Thu, 1 Jan 2026 21:16:41 +0000 (22:16 +0100)] 
Various small improvements (#1248)

* Use name parameter

This increases clarity and is less error-prone.

* Improve optional error ignore

* Prefix private classes with underscore to avoid confusion

The public interface is the base class in dns._asyncbackend.

* Inherit from asyncio.DatagramProtocol

6 months agoswitch to uv build; update deps
Bob Halley [Thu, 1 Jan 2026 14:04:46 +0000 (06:04 -0800)] 
switch to uv build; update deps

6 months agoadd NXNAME
Bob Halley [Thu, 1 Jan 2026 14:04:15 +0000 (06:04 -0800)] 
add NXNAME

6 months agominor coverage enhancements
Bob Halley [Wed, 24 Dec 2025 22:25:21 +0000 (14:25 -0800)] 
minor coverage enhancements

6 months agoremove unneed name tests; more circular import fixes
Bob Halley [Wed, 24 Dec 2025 01:48:33 +0000 (17:48 -0800)] 
remove unneed name tests; more circular import fixes

6 months agoremove now-unneeded test
Bob Halley [Wed, 24 Dec 2025 01:18:36 +0000 (17:18 -0800)] 
remove now-unneeded test

6 months agobreak name/wire circular imports; name type tweaks
Bob Halley [Wed, 24 Dec 2025 01:16:00 +0000 (17:16 -0800)] 
break name/wire circular imports; name type tweaks

6 months agoConvert deprecated typing module types to modern forms.
Bob Halley [Tue, 23 Dec 2025 17:30:06 +0000 (09:30 -0800)] 
Convert deprecated typing module types to modern forms.

6 months agoBump actions/upload-artifact from 5 to 6 (#1244)
dependabot[bot] [Wed, 17 Dec 2025 14:44:48 +0000 (06:44 -0800)] 
Bump actions/upload-artifact from 5 to 6 (#1244)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months agoBump actions/download-artifact from 6 to 7 (#1243)
dependabot[bot] [Wed, 17 Dec 2025 14:44:36 +0000 (06:44 -0800)] 
Bump actions/download-artifact from 6 to 7 (#1243)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months agoremove duplication
Bob Halley [Sat, 6 Dec 2025 22:50:20 +0000 (14:50 -0800)] 
remove duplication

7 months agomore ty fixes
Bob Halley [Sat, 6 Dec 2025 22:46:42 +0000 (14:46 -0800)] 
more ty fixes

7 months agoty requires a venv currently
Bob Halley [Sat, 6 Dec 2025 18:20:03 +0000 (10:20 -0800)] 
ty requires a venv currently

7 months agolint
Bob Halley [Sat, 6 Dec 2025 18:16:21 +0000 (10:16 -0800)] 
lint

7 months agoremove mypy as librt build failure breaks CI on 3.15dev and pypy
Bob Halley [Sat, 6 Dec 2025 18:05:52 +0000 (10:05 -0800)] 
remove mypy as librt build failure breaks CI on 3.15dev and pypy

7 months agoinitial support for "ty" type checker
Bob Halley [Sat, 6 Dec 2025 18:00:05 +0000 (10:00 -0800)] 
initial support for "ty" type checker

7 months agoconform to abstract set class type for __contains__
Bob Halley [Fri, 5 Dec 2025 23:57:20 +0000 (15:57 -0800)] 
conform to abstract set class type for __contains__

7 months agoimprove typing and remove unneeded assignments
Bob Halley [Fri, 5 Dec 2025 23:48:37 +0000 (15:48 -0800)] 
improve typing and remove unneeded assignments

7 months agouse the generic type checker ignore syntax instead of pyright
Bob Halley [Fri, 5 Dec 2025 23:42:14 +0000 (15:42 -0800)] 
use the generic type checker ignore syntax instead of pyright

7 months agodocs: Add :py:func:`...` annotations (#1238)
Josh Soref [Fri, 21 Nov 2025 20:47:36 +0000 (15:47 -0500)] 
docs: Add :py:func:`...` annotations (#1238)

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
7 months agoBump actions/checkout from 5 to 6 (#1239)
dependabot[bot] [Fri, 21 Nov 2025 16:55:20 +0000 (08:55 -0800)] 
Bump actions/checkout from 5 to 6 (#1239)

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months agoZone transfers should ignore glue that is not a subdomain of the
Bob Halley [Sat, 15 Nov 2025 15:53:25 +0000 (07:53 -0800)] 
Zone transfers should ignore glue that is not a subdomain of the
origin [#1236].

Ideally, we'd actually store this somewhere as in theory it is
needed for pathological cross zone dependencies.  We are
not doing this as in practice such dependencies break a lot of
DNS software, and are usually not viable "in the wild".

8 months agoBump actions/upload-artifact from 4 to 5 (#1234)
dependabot[bot] [Tue, 28 Oct 2025 01:34:07 +0000 (18:34 -0700)] 
Bump actions/upload-artifact from 4 to 5 (#1234)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months agoBump actions/download-artifact from 5 to 6 (#1233)
dependabot[bot] [Tue, 28 Oct 2025 01:33:56 +0000 (18:33 -0700)] 
Bump actions/download-artifact from 5 to 6 (#1233)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months agore-export immutable
Bob Halley [Wed, 22 Oct 2025 18:54:33 +0000 (11:54 -0700)] 
re-export immutable

8 months agopass args to uv
Bob Halley [Wed, 22 Oct 2025 18:53:29 +0000 (11:53 -0700)] 
pass args to uv

9 months agoupdate test matrix post 3.14 release
Bob Halley [Sat, 11 Oct 2025 13:14:29 +0000 (06:14 -0700)] 
update test matrix post 3.14 release

9 months agoadd python 3.14 to classifiers
Bob Halley [Sat, 11 Oct 2025 13:05:12 +0000 (06:05 -0700)] 
add python 3.14 to classifiers

9 months agoremove old lint configs
Bob Halley [Fri, 10 Oct 2025 16:53:49 +0000 (09:53 -0700)] 
remove old lint configs

9 months agoruff is enough for linting
Bob Halley [Fri, 10 Oct 2025 16:41:16 +0000 (09:41 -0700)] 
ruff is enough for linting

9 months agoVersion updater and uv build support (off by default).
Bob Halley [Fri, 10 Oct 2025 16:27:26 +0000 (09:27 -0700)] 
Version updater and uv build support (off by default).

9 months agoRename the getaddrinfo parameter "socktype" to "type" [#1231]
Bob Halley [Wed, 8 Oct 2025 18:21:54 +0000 (11:21 -0700)] 
Rename the getaddrinfo parameter "socktype" to "type" [#1231]

The socket type parameter to socket.getaddrinfo used to be called "socktype" in
Python 2, but was renamed to "type" in Python 3.  We applied this change on
the python3 branch almost a decade ago, but it was lost in the "single code base,
only Python 3" update, also quite some time ago.  It is now renamed to "type"
(again) so it matches the Python 3 code it is overriding.

9 months agouv helpers
Bob Halley [Wed, 8 Oct 2025 13:56:05 +0000 (06:56 -0700)] 
uv helpers

9 months agoFix typo in pyproject.toml (#1228)
Jakob Schlyter [Fri, 26 Sep 2025 15:14:45 +0000 (17:14 +0200)] 
Fix typo in pyproject.toml (#1228)

9 months agoadd ruff to dev deps
Bob Halley [Thu, 25 Sep 2025 18:14:12 +0000 (11:14 -0700)] 
add ruff to dev deps

9 months agoruff lint, add rrsigbase to __all__
Bob Halley [Thu, 25 Sep 2025 18:11:13 +0000 (11:11 -0700)] 
ruff lint, add rrsigbase to __all__

9 months agoInclude pyright in dev extra (#1227)
Jakob Schlyter [Thu, 25 Sep 2025 18:02:26 +0000 (20:02 +0200)] 
Include pyright in dev extra (#1227)

9 months agoInitial changes to prepare for SIG(0) (#1202)
Jakob Schlyter [Thu, 25 Sep 2025 18:01:43 +0000 (20:01 +0200)] 
Initial changes to prepare for SIG(0) (#1202)

* # This is a combination of 6 commits.
# This is the 1st commit message:

Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR

# This is the commit message #2:

Parse flags mnemonics and symbolic protocol names

# This is the commit message #3:

RFC 2535 section 7.1 says "Note that if the type flags field has the NOKEY value, nothing appears after the algorithm octet."

# This is the commit message #4:

Include sphinx only for Python 3.11 or later (#1225)

* Include sphinx only for Python 3.11 or later

* Use python_version
# This is the commit message #5:

Save token before returning it (for exception handling)

# This is the commit message #6:

Replace get/unget with plain unget and last token

* Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR
- Parse flags mnemonics and symbolic protocol names

* Make pyright happy

9 months agoDo not test ECDSA deterministic mode if cryptography could not build
Bob Halley [Sat, 20 Sep 2025 17:17:27 +0000 (10:17 -0700)] 
Do not test ECDSA deterministic mode if cryptography could not build
a wheel with support for it.  This can happen with pypy on ubuntu-latest.

9 months agoExtend tokenizer (#1226)
Jakob Schlyter [Thu, 18 Sep 2025 21:22:39 +0000 (23:22 +0200)] 
Extend tokenizer (#1226)

* Extend tokenizer with as_int, as_uint8, as_uint16, as_uint32, as_uint48 and as_string

* Add as_identifier()

9 months agoInclude sphinx only for Python 3.11 or later (#1225)
Jakob Schlyter [Tue, 16 Sep 2025 19:06:30 +0000 (21:06 +0200)] 
Include sphinx only for Python 3.11 or later (#1225)

* Include sphinx only for Python 3.11 or later

* Use python_version

9 months agoAvoid infinite recursion when unpickling an Answer [#1224]
Bob Halley [Mon, 15 Sep 2025 19:19:29 +0000 (12:19 -0700)] 
Avoid infinite recursion when unpickling an Answer [#1224]

10 months agoupdate SECURITY.md after 2.8.0 release
Bob Halley [Sun, 7 Sep 2025 19:11:38 +0000 (12:11 -0700)] 
update SECURITY.md after 2.8.0 release

10 months agofurther update workflows
Bob Halley [Thu, 4 Sep 2025 19:18:23 +0000 (12:18 -0700)] 
further update workflows

10 months agoupdate workflows
Bob Halley [Thu, 4 Sep 2025 19:12:56 +0000 (12:12 -0700)] 
update workflows

10 months agoBump actions/checkout from 4 to 5 (#1222)
dependabot[bot] [Thu, 4 Sep 2025 18:55:47 +0000 (11:55 -0700)] 
Bump actions/checkout from 4 to 5 (#1222)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump actions/setup-python from 5 to 6 (#1221)
dependabot[bot] [Thu, 4 Sep 2025 18:55:24 +0000 (11:55 -0700)] 
Bump actions/setup-python from 5 to 6 (#1221)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoBump actions/download-artifact from 4 to 5 (#1220)
dependabot[bot] [Thu, 4 Sep 2025 18:55:03 +0000 (11:55 -0700)] 
Bump actions/download-artifact from 4 to 5 (#1220)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months agoonly publish on manual dispatch
Bob Halley [Thu, 4 Sep 2025 18:54:28 +0000 (11:54 -0700)] 
only publish on manual dispatch