Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman 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: 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: 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: archive/latest/18563 List-ID: List-URL: 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 --nextPart3020894.cRorbhMTPy Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart3020894.cRorbhMTPy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl8wkg0ACgkQeNfe+5rV mvGj+w//cb710nllc4k/jEsFIYrJ9mta6CVuzaq9AdltlJujrRDYDOW7pHXFj1hA nEdmZDrFoeL7WymoZjBK5x2bhHTRbiI0TM+NBIhgzdD1eWf74cSv1P8jo83MVYFx ixbqZ/l9UPQMISlYDlEM/iK24wsSFs0NvUZR+BDDBfitiDjpDNn9XjOqjJC+KKMP rTcEuzO0E3Xf7neOYG9eTytcumhkR/BWCxgscjBqUc1HiAlrpOr7cV6iJU6/ZQyi hk7GtCzzOVTp3Fo61pzd3zIlfYPM1aAWoDBi6euUG6FTSc4NfuWmtdWRpBCq2SXq CbG4YeLaXKJvvj3NgMWQ44lxpaNmDPmQ3i3k8w/ZtNAPHvGeFVcRRRDXxte56B1E uXJCZOeM4FLt8dzxVEpc/LRM9tNDojFvzAk8MZfUIocYkrAv0xDXbnOQXBMlCGyr 3sUMy1tIlTXetNFL3Bc5PpS7G6ctSGgjlTMkJ4BBBS+m702wSgjV4QoUSLprVwhu 0ZN0jcl8pKVp/y9ExOrNgOtYxSgQF5vrNqIaOQrDKhZ3QYxhuQiphkIwvzHtWxkq QvGIJKk9aW7avty9/stoWIYrk5fyqyeSqDVlwK7sJ8XjLkE5BKgpbQieCP2o0/Wv rrpDSbRP9iPK8AA1Gv3xiluhU2Mpk9M8gf/t8hxb6gPOMpGhXWM= =IAwL -----END PGP SIGNATURE----- --nextPart3020894.cRorbhMTPy--