Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12815

Upcoming dnspython 2.0.0 upload (new and improved with incompatibilities)

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Upcoming dnspython 2.0.0 upload (new and improved with incompatibilities)
Date Mon, 10 Aug 2020 02:20:02 +0200
Message-ID <AC3HI-7Aw-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Aug 10 00:17:40 2020
Old-Return-Path <debian@kitterman.com>
X-Amavis-Spam-Status No, score=-12.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .kitterman. - helo: .interserver.kitterman. - helo-domain: .kitterman.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1597018642; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=4XMo1to325IC/3grI47fIPRJXjYfUaSLlDD6USCGj6U=; b=DtdFteIt47XoDuMPRUFny7/B25nKlRnV/CCa0VB9owWK2JAS8FBXh4qm7xYCDMYJb+IuI +InBI8ATH8zXe4FDg==
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1597018642; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=4XMo1to325IC/3grI47fIPRJXjYfUaSLlDD6USCGj6U=; b=JyxGeXJFbyWrzghVTayCho8LI7ZGkhwfEY5q3nsylG1/Nl9TsV1pjdf+utwrMMtBAclJI BMg5vpiihAvSht1+HpzYQBbzqiRCzWsCApZ4NTD5gCDDNRpxJaaI2ItB6EKij1FKXrRepSo lJR7krRnZGxh0u40XlZryIpbZaZuCcQmBc9xL/GanrbC3kZxt3iMitN96YcyCQavuwx18k/ WJNmVewkfYkcXDflyF3jPR5xwfDICv8y63wwguedMJeHrUYgUn2faswdfCD/NcXQmO51ydz JykZqY+s287CNSNoCRpe/y77mW75ngTjNsV5s3h++nRQkUIw5/ZzfBn9lJCA==
MIME-Version 1.0
Content-Type multipart/signed; boundary="nextPart3020894.cRorbhMTPy"; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18563
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/10174049.QMyPYvxX17@zini-1880
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 09 Aug 2020 20:17:17 -0400
X-Original-Message-ID <10174049.QMyPYvxX17@zini-1880>
Xref csiph.com linux.debian.maint.python:12815

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I've started working on updating dnspython to 2.0.0.  The package itself is 
basically ready to go, but there is at least one incompatibility I've found 
relative to the current 1.16.0 version.

As far as I can tell, this only affects DNS results for type TXT lookups.  For 
those, the data returned is a tuple instead of a list.  There is also a 
deprecation warning for the dns.resolver.query class:

DeprecationWarning: please use dns.resolver.resolve() instead

That will, eventually, affect all DNS lookups, so it's worth discussing with 
upstream developers.  For projects still maintaining python2 compatibility it 
will be slightly more complicated to deal with since dnspython 2.0.0 is 
python3 only and dns.resolver.resolve does not exist in the last python2 
version.

I suspect usage of DNS TXT lookups is somewhat of a niche thing.  I've already 
fixed pyspf, dkimpy, and dkimpy-milter to work with both the old and new 
dnspython (still using the deprecated dns.resolver.query class).  If anyone 
else know of packages that use dnspython to make DNS TXT lookups and would 
like help fixing their package, please let me know and I'll be glad to help as 
I have time (which has been very limited lately).

If I don't hear from anyone I' plan on uploading dnspython 2.0.0 to unstable 
in the coming days.

Scott K

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Upcoming dnspython 2.0.0 upload (new and improved with incompatibilities) Scott Kitterman <debian@kitterman.com> - 2020-08-10 02:20 +0200

csiph-web