Created attachment 232165 [details] a patch for update to 2.0.0 Update to 2.0.0(not 3.0.0). I confirmed that - aiodns 1.1.1 has some issues on latest python(3.6+), - but aiodns 2.0.0 is OK on latest python(3.6+), - and some applications don't work on aiodns 3.0.0. Maybe, to support aiodns 3.0.0, some ports (i.g. pycares, ...) will be update required. So I give up. SEE ALSO: https://github.com/saghul/aiodns/releases/tag/aiodns-2.0.0 https://github.com/saghul/aiodns/releases/tag/aiodns-1.2.0
Oops, sorry. I found a problem different from 2.0.0 and 3.0.0. (on my test environments) In /etc/resolve.conf, `nameserver 0.0.0.0` doesn't work, but `nameserver 127.0.0.1` works well. So we can update to 3.0.0(but py-pycares must be updated). I don't research that this issue is on aiodns and/or pycares, I'll be trying..
Created attachment 232266 [details] a patch for update to 3.0.0
Update to 3.0.0. - Add support for pycares 4.0.0's feature. - Confirmed support for Python 3.10. SEE ALSO: - https://github.com/saghul/aiodns/releases/tag/aiodns-3.0.0
maintainer timeout.
Port is terrible outdated py39-aiodns throws tons of exceptions like Exception ignored in: <function DNSResolver.__del__ at 0x801faaca0> Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/aiodns/__init__.py", line 123, in __del__ self._channel.destroy() AttributeError: 'Channel' object has no attribute 'destroy' And yes the attribute is missing.
(In reply to p5B2EA84B3 from comment #5) >> AttributeError: 'Channel' object has no attribute 'destroy' Having installed aiodns 3.0.0 with pip does not have this bug. aiodns 3.0.0 runs like a charm on python3.9 here now.
Created attachment 235149 [details] a patch for update to 3.0.0 and update maintainer I'll handle this port, so please update.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b3c78a9dafc80cc71890cf87f24515a8a7d2569 commit 9b3c78a9dafc80cc71890cf87f24515a8a7d2569 Author: Norikatsu Shigemura <nork@ninth-nine.com> AuthorDate: 2022-07-09 19:19:48 +0000 Commit: Romain Tartière <romain@FreeBSD.org> CommitDate: 2022-07-09 19:26:20 +0000 dns/py-aiodns: Update to 3.0.0 Release notes: https://github.com/saghul/aiodns/releases/tag/aiodns-3.0.0 PR: 262251 dns/py-aiodns/Makefile | 9 ++++----- dns/py-aiodns/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-)
Committed, thanks!