New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of deprecated dnspython method #818
Labels
Comments
Hello, Thanks for reporting this issue. Do you want to create a pull request? |
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
I just proposed a patch to move to the usages to |
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 15, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
4383
added a commit
to 4383/eventlet
that referenced
this issue
Dec 18, 2023
Usages of `resolver.query` are deprecated[1][2][3] and should be replaced by `resolver.resolve`. Fix eventlet#818 [1] https://dnspython.readthedocs.io/en/latest/whatsnew.html#id8 [2] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1360 [3] https://github.com/rthalley/dnspython/blob/adfc942725bd36d28ec53f7e5480ace9eb543bd8/dns/resolver.py#L1596
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the dnspython 2.0 release notes, "dns.resolver.resolve() has been added, allowing control of whether search lists are used. dns.resolver.query() is retained for backwards compatibility, but deprecated".
Example traceback (with warnings turned to errors):
The text was updated successfully, but these errors were encountered: