]>
git.ipfire.org Git - thirdparty/dnspython.git/log
dependabot[bot] [Sun, 12 Jun 2022 00:17:09 +0000 (00:17 +0000)]
Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Sun, 12 Jun 2022 00:16:49 +0000 (17:16 -0700)]
have dependabot monitor github-actions too
Bob Halley [Sun, 12 Jun 2022 00:07:29 +0000 (17:07 -0700)]
deal with more windows idiosyncracies
Bob Halley [Sat, 11 Jun 2022 19:46:54 +0000 (12:46 -0700)]
on windows, skip curio xfr too
Bob Halley [Sat, 11 Jun 2022 19:37:59 +0000 (12:37 -0700)]
give up on curio tests on windows
Bob Halley [Sat, 11 Jun 2022 19:29:35 +0000 (12:29 -0700)]
attempt to workaround curio exceptions that happen only in CI
Bob Halley [Sat, 11 Jun 2022 19:12:12 +0000 (12:12 -0700)]
Merge pull request #815 from rthalley/network-checking
Improve network checking [#812].
Bob Halley [Sat, 11 Jun 2022 02:51:34 +0000 (19:51 -0700)]
Merge pull request #816 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.22
Update trio requirement from >=0.14,<0.21 to >=0.14,<0.22
Bob Halley [Sat, 11 Jun 2022 02:49:53 +0000 (19:49 -0700)]
apply v4/v6 testing scheme from query tests to async too
Bob Halley [Sat, 11 Jun 2022 02:49:26 +0000 (19:49 -0700)]
remove debugging print
dependabot[bot] [Wed, 8 Jun 2022 16:03:17 +0000 (16:03 +0000)]
Update trio requirement from >=0.14,<0.21 to >=0.14,<0.22
Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.21.0)
---
updated-dependencies:
- dependency-name: trio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Sat, 4 Jun 2022 21:03:56 +0000 (14:03 -0700)]
Improve network checking [#812].
Bob Halley [Fri, 3 Jun 2022 16:16:18 +0000 (09:16 -0700)]
Merge pull request #814 from chriskuipers/typo-fixes
fixed dnpython.org typo
Chris Kuipers [Fri, 3 Jun 2022 10:04:46 +0000 (12:04 +0200)]
fixed dnpython.org typo
Bob Halley [Mon, 16 May 2022 15:53:43 +0000 (08:53 -0700)]
Merge pull request #809 from bdrung/wrap-long-lines
Wrap long lines
Bob Halley [Mon, 16 May 2022 15:47:07 +0000 (08:47 -0700)]
Merge pull request #808 from bdrung/skip-online-tests
Allow skipping test cases that need Internet access
Benjamin Drung [Mon, 16 May 2022 14:14:20 +0000 (16:14 +0200)]
Wrap long lines
Make flake8 and pylint happy by wrapping the long lines.
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
Benjamin Drung [Mon, 16 May 2022 10:59:58 +0000 (12:59 +0200)]
Allow skipping test cases that need Internet access
Support skipping all test cases that access the Internet by setting the
environment variable `NO_INTERNET`. This is useful to make the test run
reproducible and robust for future runs (to avoid breaking in case some
random service on the Internet changes).
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
Benjamin Drung [Mon, 16 May 2022 10:39:40 +0000 (12:39 +0200)]
Add tests.util.is_internet_reachable()
Introduce `tests.util.is_internet_reachable` to avoid duplicate code.
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
Bob Halley [Thu, 12 May 2022 17:42:04 +0000 (10:42 -0700)]
Merge pull request #807 from rthalley/dependabot/pip/readthedocs-sphinx-search-0.1.2
Bump readthedocs-sphinx-search from 0.1.1 to 0.1.2
dependabot[bot] [Thu, 12 May 2022 16:03:20 +0000 (16:03 +0000)]
Bump readthedocs-sphinx-search from 0.1.1 to 0.1.2
Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases)
- [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/compare/0.1.1...0.1.2)
---
updated-dependencies:
- dependency-name: readthedocs-sphinx-search
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Wed, 27 Apr 2022 01:10:06 +0000 (18:10 -0700)]
Merge pull request #805 from rthalley/dependabot/pip/cryptography-gte-2.6-and-lt-38.0
Update cryptography requirement from >=2.6,<37.0 to >=2.6,<38.0
dependabot[bot] [Tue, 26 Apr 2022 16:04:34 +0000 (16:04 +0000)]
Update cryptography requirement from >=2.6,<37.0 to >=2.6,<38.0
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.6...37.0.0)
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Thu, 21 Apr 2022 13:34:35 +0000 (06:34 -0700)]
Merge pull request #804 from rthalley/dependabot/pip/sphinx-4.3.2
Bump sphinx from 4.2.0 to 4.3.2
dependabot[bot] [Wed, 20 Apr 2022 16:02:58 +0000 (16:02 +0000)]
Bump sphinx from 4.2.0 to 4.3.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.3.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.2.0...v4.3.2)
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Thu, 31 Mar 2022 22:33:13 +0000 (15:33 -0700)]
remove ChangeLog reference
Bob Halley [Thu, 31 Mar 2022 17:08:32 +0000 (10:08 -0700)]
Merge pull request #802 from rthalley/dependabot/pip/twine-tw-4.0.0
Update twine requirement from ^3.1.1 to ^4.0.0
dependabot[bot] [Thu, 31 Mar 2022 16:02:55 +0000 (16:02 +0000)]
Update twine requirement from ^3.1.1 to ^4.0.0
Updates the requirements on [twine](https://github.com/pypa/twine) to permit the latest version.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/3.1.1...4.0.0)
---
updated-dependencies:
- dependency-name: twine
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Fri, 25 Mar 2022 23:12:50 +0000 (16:12 -0700)]
Merge pull request #798 from bwelling/httpx-fixes
Httpx fixes
Brian Wellington [Fri, 25 Mar 2022 20:23:07 +0000 (13:23 -0700)]
Fix passing source address with httpx.
When dns.query.https() is passed a source address, it needs to create an
adapter for either requests or httpx to use it. As it doesn't know
which one will actually be used, it creates both. But then if it
decides to use httpx, it attempts to attach the requests adapter, which
fails.
Brian Wellington [Fri, 25 Mar 2022 20:21:16 +0000 (13:21 -0700)]
Fix httpx verify bug.
If both source and verify are passed to dns.query.https() when using
httpx, the verify parameter is ignored. This is because the code
creates a custom transport for the source address, and httpx only uses the
verify parameter when creating a transport.
The fix is to pass in the verify parameter when we create a transport.
Bob Halley [Fri, 25 Mar 2022 19:16:21 +0000 (12:16 -0700)]
always install types if needed when running mypy
Bob Halley [Fri, 25 Mar 2022 19:16:03 +0000 (12:16 -0700)]
fix type of query paramater to https() method
Bob Halley [Thu, 24 Mar 2022 15:03:56 +0000 (08:03 -0700)]
test multi-message TSIG with and without padding
Bob Halley [Wed, 23 Mar 2022 13:12:19 +0000 (06:12 -0700)]
add padding to whatsnew
Bob Halley [Wed, 23 Mar 2022 13:10:35 +0000 (06:10 -0700)]
test padding in DoT
Bob Halley [Wed, 23 Mar 2022 13:06:05 +0000 (06:06 -0700)]
test padding in DoH
Bob Halley [Wed, 23 Mar 2022 12:57:37 +0000 (05:57 -0700)]
Merge pull request #797 from rthalley/padding
Padding (RFC 7830, RFC 8467)
Bob Halley [Sun, 20 Mar 2022 19:19:54 +0000 (12:19 -0700)]
Add EDNS padding.
Bob Halley [Sun, 20 Mar 2022 19:35:32 +0000 (12:35 -0700)]
Merge pull request #795 from SaidBySolo/patch-1
style(asyncquery): change the ``httpx.AsyncClient`` type annotation to a string literal
Bob Halley [Sun, 20 Mar 2022 19:35:03 +0000 (12:35 -0700)]
Merge pull request #796 from tamarinvs19/tamarinvs19-patch-doc-backquote
Remove excess backquote
Vyacheslav Tamarin [Sun, 20 Mar 2022 15:09:16 +0000 (18:09 +0300)]
Remove excess backquote
Ryu juheon [Sun, 20 Mar 2022 03:18:07 +0000 (12:18 +0900)]
style(asyncquery): change the ``httpx.AsyncClient`` type annotation to a string literal
Bob Halley [Fri, 18 Mar 2022 21:00:48 +0000 (14:00 -0700)]
Merge pull request #794 from bwelling/asyncnullcontext
Use nullcontext for async code, as well.
Brian Wellington [Fri, 18 Mar 2022 20:41:28 +0000 (13:41 -0700)]
Use nullcontext for async code, as well.
We can't use contextlib.nullcontext(), as it doesn't support async
context managers until 3.10, but we can use
dns._asyncbackend.NullContext.
Bob Halley [Fri, 18 Mar 2022 19:55:56 +0000 (12:55 -0700)]
Merge pull request #793 from bwelling/nullcontext
Use contextlib.nullcontext().
Brian Wellington [Fri, 18 Mar 2022 19:48:08 +0000 (12:48 -0700)]
Add typing info.
Brian Wellington [Fri, 18 Mar 2022 19:26:31 +0000 (12:26 -0700)]
Use contextlib.nullcontext().
Replaces uses of contextlib.ExitStack, since nullcontext() is available
in 3.7.
Bob Halley [Fri, 18 Mar 2022 12:09:34 +0000 (05:09 -0700)]
threading is always available from 3.7 on
Bob Halley [Thu, 17 Mar 2022 12:29:55 +0000 (05:29 -0700)]
join adjacent strings (formatting)
Bob Halley [Tue, 15 Mar 2022 15:39:11 +0000 (08:39 -0700)]
add black to pyproject.toml
Bob Halley [Tue, 15 Mar 2022 15:37:20 +0000 (08:37 -0700)]
black autoformatting
Bob Halley [Sat, 12 Mar 2022 22:40:27 +0000 (14:40 -0800)]
test versioned zone non-txn get of nonexistent set
Bob Halley [Sat, 12 Mar 2022 17:48:54 +0000 (09:48 -0800)]
remove extraneous "pass", and follow the existing dnspython style
Bob Halley [Sat, 12 Mar 2022 17:45:16 +0000 (09:45 -0800)]
Merge pull request #791 from wbolster/base-resolver-annotations
Add type annotations for various BaseResolver attributes
Bob Halley [Fri, 11 Mar 2022 18:01:49 +0000 (10:01 -0800)]
change mypy version requirement to require less frequent updates
Bob Halley [Fri, 11 Mar 2022 17:55:57 +0000 (09:55 -0800)]
Merge pull request #790 from rthalley/dependabot/pip/mypy-tw-0.940
Update mypy requirement from ^0.931 to ^0.940
wouter bolsterlee [Fri, 11 Mar 2022 17:23:02 +0000 (18:23 +0100)]
Add type annotations for various BaseResolver attributes
This adds class level type annotations for BaseResolver attributes.
partially based on the existing annotations from `.reset()` (which have
now moved).
Mypy does not infer BaseResolver attributes because those are not
defined `.__init__()` method, but in `.reset()`; there is already a
pylint override for this. The result is that application code that
accesses `resolver.port` and other attributes incorrectly triggers mypy
errors about the seemingly not existing attribute.
While at it, fix a few easy to address mypy/flake8 warnings that popped
up on my screen while editing this file.
dependabot[bot] [Fri, 11 Mar 2022 16:04:19 +0000 (16:04 +0000)]
Update mypy requirement from ^0.931 to ^0.940
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.940)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Fri, 11 Mar 2022 15:41:41 +0000 (07:41 -0800)]
Merge pull request #789 from rthalley/more-typing
Typing Project Round 2
Bob Halley [Fri, 11 Mar 2022 15:35:21 +0000 (07:35 -0800)]
windows typing fixes
Bob Halley [Fri, 11 Mar 2022 15:06:05 +0000 (07:06 -0800)]
keep trying to fix workflow
Bob Halley [Fri, 11 Mar 2022 14:59:47 +0000 (06:59 -0800)]
fix workflow
Bob Halley [Fri, 11 Mar 2022 14:54:03 +0000 (06:54 -0800)]
One more pass, after adding --disallow-incomplete-defs
Bob Halley [Thu, 10 Mar 2022 20:56:54 +0000 (12:56 -0800)]
add missing request_mac annotation to async methods
Bob Halley [Wed, 9 Mar 2022 15:53:53 +0000 (07:53 -0800)]
Typing pass number 2, featuring typing of bools, adding a return type
of "-> None" to procedures, and various fixes for omissions, errors,
and new issues discovered by type checking previously unchecked things.
Bob Halley [Tue, 8 Mar 2022 19:43:41 +0000 (11:43 -0800)]
misc type annotation lint
Bob Halley [Tue, 8 Mar 2022 16:42:31 +0000 (08:42 -0800)]
add mypy back to dev tools
Bob Halley [Mon, 7 Mar 2022 16:08:23 +0000 (08:08 -0800)]
Add issue templates
Bob Halley [Mon, 7 Mar 2022 15:35:47 +0000 (07:35 -0800)]
add 2.2.1 to whatsnew
Bob Halley [Sun, 6 Mar 2022 23:20:29 +0000 (15:20 -0800)]
note minimum TLS version in whatsnew
Bob Halley [Sun, 6 Mar 2022 23:03:07 +0000 (15:03 -0800)]
try manual dispatch
Bob Halley [Sun, 6 Mar 2022 22:58:44 +0000 (14:58 -0800)]
only trigger workflows on .py file changes
Bob Halley [Sun, 6 Mar 2022 22:49:32 +0000 (14:49 -0800)]
add 2.2 workflow
Bob Halley [Sun, 6 Mar 2022 22:41:15 +0000 (14:41 -0800)]
add workflow for 2.2 branch
Bob Halley [Sun, 6 Mar 2022 18:08:45 +0000 (10:08 -0800)]
LGTM lint
Bob Halley [Sun, 6 Mar 2022 17:55:58 +0000 (09:55 -0800)]
add NameRelation class
Bob Halley [Sun, 6 Mar 2022 17:48:14 +0000 (09:48 -0800)]
improve version _validate_name test coverage
Bob Halley [Sun, 6 Mar 2022 17:42:18 +0000 (09:42 -0800)]
Merge pull request #787 from djanniss/patch-1
documentation update
DJ Anniss [Sun, 6 Mar 2022 04:18:42 +0000 (17:18 +1300)]
documentation update
Was just reading through and this part confused me a bit with the wording.
Bob Halley [Sat, 5 Mar 2022 22:04:19 +0000 (14:04 -0800)]
fix README typo
Bob Halley [Sat, 5 Mar 2022 21:48:15 +0000 (13:48 -0800)]
increase minimum version to 3.7 for readthedocs
Bob Halley [Sat, 5 Mar 2022 21:39:57 +0000 (13:39 -0800)]
Merge pull request #786 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.21
Update trio requirement from >=0.14,<0.20 to >=0.14,<0.21
dependabot[bot] [Sat, 5 Mar 2022 21:35:30 +0000 (21:35 +0000)]
Update trio requirement from >=0.14,<0.20 to >=0.14,<0.21
Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.20.0)
---
updated-dependencies:
- dependency-name: trio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Sat, 5 Mar 2022 21:32:36 +0000 (13:32 -0800)]
Remove 3.6-specific code.
We still have to add AsyncExitStacks, and this requires making
the associated socket wrappers async context managers.
Bob Halley [Sat, 5 Mar 2022 21:06:06 +0000 (13:06 -0800)]
Set minimum Python version to 3.7.
Bob Halley [Sat, 5 Mar 2022 20:54:52 +0000 (12:54 -0800)]
add return type to get_soa()
Bob Halley [Sat, 5 Mar 2022 20:49:57 +0000 (12:49 -0800)]
Merge pull request #785 from rthalley/type-work
Type Annotation Project
Bob Halley [Fri, 25 Feb 2022 21:29:09 +0000 (13:29 -0800)]
Add integrated typing to much of dnspython.
Bob Halley [Sun, 27 Feb 2022 17:07:06 +0000 (09:07 -0800)]
fix documentation broken by the immutable mechanism
Bob Halley [Wed, 23 Feb 2022 15:04:51 +0000 (07:04 -0800)]
Merge pull request #781 from jschlyter/zone_get_soa
implement dns.zone.Zone.get_soa()
Bob Halley [Wed, 23 Feb 2022 15:03:26 +0000 (07:03 -0800)]
more lgtm linting
Bob Halley [Mon, 21 Feb 2022 22:32:25 +0000 (14:32 -0800)]
update README w/ codecov and lgtm
Bob Halley [Mon, 21 Feb 2022 22:31:39 +0000 (14:31 -0800)]
more lgtm lint
Bob Halley [Mon, 21 Feb 2022 22:20:58 +0000 (14:20 -0800)]
try to restore codecov
Jakob Schlyter [Mon, 21 Feb 2022 18:35:34 +0000 (19:35 +0100)]
allow txn argument as suggested by @rthalley
Jakob Schlyter [Sat, 19 Feb 2022 14:23:43 +0000 (15:23 +0100)]
use get_soa() in compute_digest()
Jakob Schlyter [Sat, 19 Feb 2022 14:20:32 +0000 (15:20 +0100)]
raise NoSOA if there is no SOA record
Jakob Schlyter [Sat, 19 Feb 2022 11:37:56 +0000 (12:37 +0100)]
implement dns.zone.Zone.get_soa()
Bob Halley [Thu, 17 Feb 2022 16:29:52 +0000 (08:29 -0800)]
fix test TLS alert