Skip to content

Commit fe57a61

Browse files
committed
Raise pycares dependency
There is no Channel.destroy() method anymore.
1 parent c8c4697 commit fe57a61

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

aiodns/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,3 @@ def _timer_cb(self):
140140
else:
141141
self._timer = None
142142

143-
def __del__(self):
144-
# type: () -> None
145-
self._channel.destroy()
146-

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def get_version():
1818
url = "http://github.com/saghul/aiodns",
1919
description = "Simple DNS resolver for asyncio",
2020
long_description = codecs.open("README.rst", encoding="utf-8").read(),
21-
install_requires = ['pycares>=3.0.0b2', 'typing; python_version<"3.7"'],
21+
install_requires = ['pycares>=3.0.0b4', 'typing; python_version<"3.7"'],
2222
packages = ['aiodns'],
2323
platforms = ["POSIX", "Microsoft Windows"],
2424
classifiers = [

0 commit comments

Comments
 (0)