]>
git.ipfire.org Git - thirdparty/dnspython.git/log
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
Bob Halley [Thu, 17 Feb 2022 16:18:18 +0000 (08:18 -0800)]
give up on fixing warning as advice was bad
Bob Halley [Thu, 17 Feb 2022 16:17:07 +0000 (08:17 -0800)]
try again with dependency error warning
Bob Halley [Thu, 17 Feb 2022 16:16:37 +0000 (08:16 -0800)]
apply TLS minimums on 3.6 too
Bob Halley [Thu, 17 Feb 2022 16:00:28 +0000 (08:00 -0800)]
try to clean up a warning on the codeql job
Bob Halley [Thu, 17 Feb 2022 16:00:13 +0000 (08:00 -0800)]
lgtm lint: suppress false positive
Bob Halley [Thu, 17 Feb 2022 15:24:06 +0000 (07:24 -0800)]
try to fix dependencies on codeql build
Bob Halley [Thu, 17 Feb 2022 15:23:51 +0000 (07:23 -0800)]
set a minimum TLS version when we can
Bob Halley [Thu, 17 Feb 2022 14:55:06 +0000 (06:55 -0800)]
Create codeql-analysis.yml
Bob Halley [Thu, 17 Feb 2022 14:53:11 +0000 (06:53 -0800)]
one more bit of lgtm lint
Bob Halley [Thu, 17 Feb 2022 14:51:15 +0000 (06:51 -0800)]
more lgtm linting
Bob Halley [Thu, 17 Feb 2022 00:44:33 +0000 (16:44 -0800)]
LGTM linting
Bob Halley [Tue, 8 Feb 2022 23:49:54 +0000 (15:49 -0800)]
freshen versions, clarify policy
Bob Halley [Fri, 4 Feb 2022 16:23:02 +0000 (08:23 -0800)]
Merge pull request #778 from blink1073/patch-1
Add missing types to exceptions stub
Bob Halley [Fri, 4 Feb 2022 16:19:07 +0000 (08:19 -0800)]
Merge pull request #779 from rthalley/dependabot/pip/pytest-gte-5.4.1-and-lt-8
Update pytest requirement from >=5.4.1,<7 to >=5.4.1,<8
dependabot[bot] [Fri, 4 Feb 2022 16:02:49 +0000 (16:02 +0000)]
Update pytest requirement from >=5.4.1,<7 to >=5.4.1,<8
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.1...7.0.0)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Steven Silvester [Thu, 3 Feb 2022 23:03:17 +0000 (17:03 -0600)]
Add missing types to exceptions stub
Bob Halley [Wed, 2 Feb 2022 13:04:50 +0000 (05:04 -0800)]
Merge pull request #777 from wesinator/patch-1
resolve() docstring - fix `lifetime` var rendering
Wes [Wed, 2 Feb 2022 03:59:30 +0000 (22:59 -0500)]
resolve func docs - fix `lifetime` var rendering
Bob Halley [Mon, 31 Jan 2022 15:41:07 +0000 (07:41 -0800)]
Add more metadata to pyproject.toml [#775]
Bob Halley [Mon, 31 Jan 2022 15:39:35 +0000 (07:39 -0800)]
Merge pull request #776 from ryancheley/ryancheley-patch-project-urls
added project_urls for easier discovery by users
Ryan Cheley [Mon, 31 Jan 2022 03:20:27 +0000 (19:20 -0800)]
added project_urls for easier discovery by users
Craig Leres [Sun, 30 Jan 2022 18:40:54 +0000 (10:40 -0800)]
Reduce the number of digits after the decimal point for the Timeout DNSException from 15 to 1 (#772)
* Reduce the number of digits after the decimal point for the Timeout
DNSException from 15 to 1
* Address Bob Halley's concerns: change .1f to .3f and update LifetimeTimeout