Bump dnspython from 2.2.0 to 2.2.1 (#1679)

* Bump dnspython from 2.2.0 to 2.2.1

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/master/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: dnspython
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update dnspython==2.2.1

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

[skip ci]
This commit is contained in:
dependabot[bot] 2022-05-16 20:33:29 -07:00 committed by GitHub
commit aa0c58ef0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 88 additions and 30 deletions

View file

@ -63,7 +63,7 @@ class TKEY(dns.rdata.Rdata):
error = tok.get_uint16()
key_b64 = tok.get_string().encode()
key = base64.b64decode(key_b64)
other_b64 = tok.concatenate_remaining_identifiers().encode()
other_b64 = tok.concatenate_remaining_identifiers(True).encode()
other = base64.b64decode(other_b64)
return cls(rdclass, rdtype, algorithm, inception, expiration, mode,

View file

@ -37,8 +37,12 @@ __all__ = [
'HINFO',
'HIP',
'ISDN',
'L32',
'L64',
'LOC',
'LP',
'MX',
'NID',
'NINFO',
'NS',
'NSEC',

View file

@ -435,7 +435,7 @@ class SVCBBase(dns.rdata.Rdata):
if not isinstance(v, Param) and v is not None:
raise ValueError("not a Param")
self.params = dns.immutable.Dict(params)
# Make sure any paramater listed as mandatory is present in the
# Make sure any parameter listed as mandatory is present in the
# record.
mandatory = params.get(ParamKey.MANDATORY)
if mandatory:

View file

@ -1,6 +1,12 @@
import typing
from .. import rdata
class TXTBase(rdata.Rdata):
...
strings: typing.Tuple[bytes, ...]
def __init__(self, rdclass: int, rdtype: int, strings: typing.Iterable[bytes]) -> None:
...
def to_text(self, origin: typing.Any, relativize: bool, **kw: typing.Any) -> str:
...
class TXT(TXTBase):
...