]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
3 years agoBump sphinx-rtd-theme from 1.1.0 to 1.1.1 858/head
dependabot[bot] [Mon, 7 Nov 2022 16:09:15 +0000 (16:09 +0000)] 
Bump sphinx-rtd-theme from 1.1.0 to 1.1.1

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #856 from GlennChia/docs/fix-typo-examples
Bob Halley [Mon, 7 Nov 2022 13:45:46 +0000 (05:45 -0800)] 
Merge pull request #856 from GlennChia/docs/fix-typo-examples

docs: programs typo

3 years agodocs: programs typo 856/head
Glenn [Mon, 7 Nov 2022 06:58:14 +0000 (14:58 +0800)] 
docs: programs typo

3 years agoMerge pull request #852 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.0
Bob Halley [Sun, 6 Nov 2022 00:47:30 +0000 (17:47 -0700)] 
Merge pull request #852 from rthalley/dependabot/pip/sphinx-rtd-theme-1.1.0

Bump sphinx-rtd-theme from 1.0.0 to 1.1.0

3 years agoMerge pull request #855 from rthalley/dependabot/pip/wheel-tw-0.38.1
Bob Halley [Sun, 6 Nov 2022 00:46:13 +0000 (17:46 -0700)] 
Merge pull request #855 from rthalley/dependabot/pip/wheel-tw-0.38.1

Update wheel requirement from ^0.37.1 to ^0.38.1

3 years agoMerge pull request #853 from jameshilliard/no-wheel
Bob Halley [Sun, 6 Nov 2022 00:45:22 +0000 (17:45 -0700)] 
Merge pull request #853 from jameshilliard/no-wheel

Remove spurious wheel build dependency

3 years agoUpdate wheel requirement from ^0.37.1 to ^0.38.1 855/head
dependabot[bot] [Fri, 4 Nov 2022 16:08:34 +0000 (16:08 +0000)] 
Update wheel requirement from ^0.37.1 to ^0.38.1

Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.37.1...0.38.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoRemove spurious wheel build dependency 853/head
James Hilliard [Wed, 2 Nov 2022 20:01:58 +0000 (14:01 -0600)] 
Remove spurious wheel build dependency

Wheel isn't a build dependency so it shouldn't be in setup_requires.

3 years agoBump sphinx-rtd-theme from 1.0.0 to 1.1.0 852/head
dependabot[bot] [Wed, 2 Nov 2022 16:38:19 +0000 (16:38 +0000)] 
Bump sphinx-rtd-theme from 1.0.0 to 1.1.0

Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases)
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.0.0...1.1.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoupdate to dev version
Bob Halley [Fri, 28 Oct 2022 01:23:37 +0000 (18:23 -0700)] 
update to dev version

3 years agoMerge pull request #849 from eaglegai/master
Bob Halley [Fri, 28 Oct 2022 01:22:30 +0000 (18:22 -0700)] 
Merge pull request #849 from eaglegai/master

fix missing version in setup.cfg

3 years agofix missing version in setup.cfg 849/head
eaglegai [Thu, 27 Oct 2022 15:07:17 +0000 (23:07 +0800)] 
fix missing version in setup.cfg

Signed-off-by: eaglegai <eaglegai@163.com>
3 years agoFor async send_udp(), return a length and clarify the expiration
Bob Halley [Fri, 14 Oct 2022 01:10:34 +0000 (18:10 -0700)] 
For async send_udp(), return a length and clarify the expiration
is meaningless.

For async receive_udp(), document that the return type is always a
3-tuple, as opposed to being either a pair or a 3-tuple as in the
sync version.  (I chose to document rather than change the behavior
as changing it broke dnspython tests and might possibly break other
code.)  [#848]

3 years agotemporarily add aioquic
Bob Halley [Mon, 10 Oct 2022 01:03:05 +0000 (18:03 -0700)] 
temporarily add aioquic

3 years agoMerge pull request #845 from rthalley/asyncio-timeout-fix
Bob Halley [Sat, 8 Oct 2022 14:04:29 +0000 (07:04 -0700)] 
Merge pull request #845 from rthalley/asyncio-timeout-fix

Asyncio sockets should work after a timeout [#843].

3 years agoMerge pull request #846 from rthalley/dependabot/pip/requests-toolbelt-gte-0.9.1...
Bob Halley [Fri, 7 Oct 2022 19:07:55 +0000 (12:07 -0700)] 
Merge pull request #846 from rthalley/dependabot/pip/requests-toolbelt-gte-0.9.1-and-lt-0.11.0

Update requests-toolbelt requirement from ^0.9.1 to >=0.9.1,<0.11.0

3 years agoUpdate requests-toolbelt requirement from ^0.9.1 to >=0.9.1,<0.11.0 846/head
dependabot[bot] [Fri, 7 Oct 2022 16:04:54 +0000 (16:04 +0000)] 
Update requests-toolbelt requirement from ^0.9.1 to >=0.9.1,<0.11.0

Updates the requirements on [requests-toolbelt](https://github.com/requests/toolbelt) to permit the latest version.
- [Release notes](https://github.com/requests/toolbelt/releases)
- [Changelog](https://github.com/requests/toolbelt/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/toolbelt/compare/0.9.1...0.10.0)

---
updated-dependencies:
- dependency-name: requests-toolbelt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoAsyncio sockets should work after a timeout [#843]. 845/head
Bob Halley [Thu, 6 Oct 2022 11:33:16 +0000 (04:33 -0700)] 
Asyncio sockets should work after a timeout [#843].

3 years agoDeal with leading dots in search lists on Windows [#844].
Bob Halley [Thu, 6 Oct 2022 11:08:38 +0000 (04:08 -0700)] 
Deal with leading dots in search lists on Windows [#844].

3 years agomore lint
Bob Halley [Sun, 2 Oct 2022 17:04:05 +0000 (10:04 -0700)] 
more lint

3 years agotry again to fix CodeQL
Bob Halley [Sun, 2 Oct 2022 17:03:59 +0000 (10:03 -0700)] 
try again to fix CodeQL

3 years agolint
Bob Halley [Sun, 2 Oct 2022 16:40:42 +0000 (09:40 -0700)] 
lint

3 years agotry to fix codeql
Bob Halley [Thu, 29 Sep 2022 19:19:17 +0000 (12:19 -0700)] 
try to fix codeql

3 years agoMerge pull request #841 from rthalley/dependabot/pip/pytest-cov-tw-4.0.0
Bob Halley [Thu, 29 Sep 2022 19:11:19 +0000 (12:11 -0700)] 
Merge pull request #841 from rthalley/dependabot/pip/pytest-cov-tw-4.0.0

Update pytest-cov requirement from ^3.0.0 to ^4.0.0

3 years agoUpdate pytest-cov requirement from ^3.0.0 to ^4.0.0 841/head
dependabot[bot] [Thu, 29 Sep 2022 16:03:47 +0000 (16:03 +0000)] 
Update pytest-cov requirement from ^3.0.0 to ^4.0.0

Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #840 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.23
Bob Halley [Wed, 28 Sep 2022 16:40:41 +0000 (09:40 -0700)] 
Merge pull request #840 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.23

Update trio requirement from >=0.14,<0.22 to >=0.14,<0.23

3 years agoUpdate trio requirement from >=0.14,<0.22 to >=0.14,<0.23 840/head
dependabot[bot] [Wed, 28 Sep 2022 16:04:52 +0000 (16:04 +0000)] 
Update trio requirement from >=0.14,<0.22 to >=0.14,<0.23

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.22.0)

---
updated-dependencies:
- dependency-name: trio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #837 from rthalley/dependabot/pip/cryptography-gte-2.6-and-lt...
Bob Halley [Wed, 7 Sep 2022 19:08:27 +0000 (12:08 -0700)] 
Merge pull request #837 from rthalley/dependabot/pip/cryptography-gte-2.6-and-lt-39.0

Update cryptography requirement from >=2.6,<38.0 to >=2.6,<39.0

3 years agoUpdate cryptography requirement from >=2.6,<38.0 to >=2.6,<39.0 837/head
dependabot[bot] [Wed, 7 Sep 2022 16:02:50 +0000 (16:02 +0000)] 
Update cryptography requirement from >=2.6,<38.0 to >=2.6,<39.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...38.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #836 from rthalley/dependabot/pip/wheel-tw-0.37.1
Bob Halley [Mon, 5 Sep 2022 18:24:43 +0000 (11:24 -0700)] 
Merge pull request #836 from rthalley/dependabot/pip/wheel-tw-0.37.1

Update wheel requirement from ^0.35.0 to ^0.37.1

3 years agoUpdate wheel requirement from ^0.35.0 to ^0.37.1 836/head
dependabot[bot] [Mon, 5 Sep 2022 16:55:50 +0000 (16:55 +0000)] 
Update wheel requirement from ^0.35.0 to ^0.37.1

Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.35.0...0.37.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoWhen scanning interfaces with WMI, ignore those without DNS
Bob Halley [Tue, 23 Aug 2022 12:23:08 +0000 (05:23 -0700)] 
When scanning interfaces with WMI, ignore those without DNS
configuration.  [#834]

3 years agoMerge pull request #833 from rthalley/allow-directives
Bob Halley [Tue, 16 Aug 2022 23:49:57 +0000 (16:49 -0700)] 
Merge pull request #833 from rthalley/allow-directives

Allow zonefile directives to be specified explicitly

3 years agoadd $ to allow_directives if missing 833/head
Bob Halley [Tue, 16 Aug 2022 23:44:35 +0000 (16:44 -0700)] 
add $ to allow_directives if missing

3 years agofix typos
Bob Halley [Mon, 15 Aug 2022 18:02:09 +0000 (11:02 -0700)] 
fix typos

3 years agoallow zonefile directives to be specified explicitly
Bob Halley [Sun, 14 Aug 2022 17:33:50 +0000 (10:33 -0700)] 
allow zonefile directives to be specified explicitly

3 years agoAdd idna_codec parameter to dns.zone.from_file() [#832]
Bob Halley [Sun, 14 Aug 2022 17:31:48 +0000 (10:31 -0700)] 
Add idna_codec parameter to dns.zone.from_file() [#832]

3 years agoMerge pull request #828 from corubba/feature/generate-base
Bob Halley [Sun, 14 Aug 2022 16:17:00 +0000 (09:17 -0700)] 
Merge pull request #828 from corubba/feature/generate-base

Add support for more bases in `$GENERATE`

3 years agoAdd support for more bases in $GENERATE 828/head
corubba [Fri, 5 Aug 2022 12:09:52 +0000 (14:09 +0200)] 
Add support for more bases in $GENERATE

When reading a zone from a zonefile, the `$GENERATE` resolution now not
only supports decimal but also octal, hexadecimal and nibbles.

When using nibbles with an even width, the generated index may end with
a dot, and alone is interpreted as a absolute name. This behaviour is
consistent with bind, but may cause these records to be dropped by the
subdomain-check in `zonefile.py:398` (see also the `h.*` labels in the
testcase that are missing from the result).

3 years agoMerge pull request #827 from rthalley/dependabot/pip/flake8-tw-5.0.3
Bob Halley [Tue, 2 Aug 2022 17:57:57 +0000 (10:57 -0700)] 
Merge pull request #827 from rthalley/dependabot/pip/flake8-tw-5.0.3

Update flake8 requirement from ^4.0.1 to ^5.0.3

3 years agofix format string lint detected by flake8 5.0.3
Bob Halley [Tue, 2 Aug 2022 17:57:47 +0000 (10:57 -0700)] 
fix format string lint detected by flake8 5.0.3

3 years agoUpdate flake8 requirement from ^4.0.1 to ^5.0.3 827/head
dependabot[bot] [Tue, 2 Aug 2022 16:02:37 +0000 (16:02 +0000)] 
Update flake8 requirement from ^4.0.1 to ^5.0.3

Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.3)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #822 from bwelling/rdatatype-fixes
Bob Halley [Mon, 18 Jul 2022 00:40:08 +0000 (17:40 -0700)] 
Merge pull request #822 from bwelling/rdatatype-fixes

Fix dns.rdatatype special cases.

3 years agoFix dns.rdatatype special cases. 822/head
Brian Wellington [Fri, 15 Jul 2022 16:01:17 +0000 (09:01 -0700)] 
Fix dns.rdatatype special cases.

Prior to this change, there was logic in dns.rdatatype.from_text() and
to_text() to deal with types not handled by the RdataType enum;
specifically, the NSAP-PTR type (the enum value has a different name,
because of the hyphen) and user-registered types.

This was fine when internal code called these methods, but most callers
of from_text() were converted to dns.rdatatype.RdataType.make(), which
supports both integer and text input, and it doesn't handle the special
cases.

This change adds more hooks into the enum wrapper and moves the special
case handling for RdataType into them.

3 years agoMerge pull request #820 from rthalley/dependabot/github_actions/actions/setup-python-4
Bob Halley [Sun, 12 Jun 2022 00:25:14 +0000 (17:25 -0700)] 
Merge pull request #820 from rthalley/dependabot/github_actions/actions/setup-python-4

Bump actions/setup-python from 2 to 4

3 years agoMerge pull request #819 from rthalley/dependabot/github_actions/codecov/codecov-action-3
Bob Halley [Sun, 12 Jun 2022 00:25:05 +0000 (17:25 -0700)] 
Merge pull request #819 from rthalley/dependabot/github_actions/codecov/codecov-action-3

Bump codecov/codecov-action from 2 to 3

3 years agoMerge pull request #818 from rthalley/dependabot/github_actions/actions/checkout-3
Bob Halley [Sun, 12 Jun 2022 00:24:57 +0000 (17:24 -0700)] 
Merge pull request #818 from rthalley/dependabot/github_actions/actions/checkout-3

Bump actions/checkout from 2 to 3

3 years agoMerge pull request #817 from rthalley/dependabot/github_actions/github/codeql-action-2
Bob Halley [Sun, 12 Jun 2022 00:24:51 +0000 (17:24 -0700)] 
Merge pull request #817 from rthalley/dependabot/github_actions/github/codeql-action-2

Bump github/codeql-action from 1 to 2

3 years agoBump actions/setup-python from 2 to 4 820/head
dependabot[bot] [Sun, 12 Jun 2022 00:17:17 +0000 (00:17 +0000)] 
Bump actions/setup-python from 2 to 4

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump codecov/codecov-action from 2 to 3 819/head
dependabot[bot] [Sun, 12 Jun 2022 00:17:14 +0000 (00:17 +0000)] 
Bump codecov/codecov-action from 2 to 3

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump actions/checkout from 2 to 3 818/head
dependabot[bot] [Sun, 12 Jun 2022 00:17:11 +0000 (00:17 +0000)] 
Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump github/codeql-action from 1 to 2 817/head
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>
3 years agohave dependabot monitor github-actions too
Bob Halley [Sun, 12 Jun 2022 00:16:49 +0000 (17:16 -0700)] 
have dependabot monitor github-actions too

3 years agodeal with more windows idiosyncracies
Bob Halley [Sun, 12 Jun 2022 00:07:29 +0000 (17:07 -0700)] 
deal with more windows idiosyncracies

3 years agoon windows, skip curio xfr too
Bob Halley [Sat, 11 Jun 2022 19:46:54 +0000 (12:46 -0700)] 
on windows, skip curio xfr too

3 years agogive up on curio tests on windows
Bob Halley [Sat, 11 Jun 2022 19:37:59 +0000 (12:37 -0700)] 
give up on curio tests on windows

3 years agoattempt to workaround curio exceptions that happen only in CI
Bob Halley [Sat, 11 Jun 2022 19:29:35 +0000 (12:29 -0700)] 
attempt to workaround curio exceptions that happen only in CI

3 years agoMerge pull request #815 from rthalley/network-checking
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].

3 years agoMerge pull request #816 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.22
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

3 years agoapply v4/v6 testing scheme from query tests to async too 815/head
Bob Halley [Sat, 11 Jun 2022 02:49:53 +0000 (19:49 -0700)] 
apply v4/v6 testing scheme from query tests to async too

3 years agoremove debugging print
Bob Halley [Sat, 11 Jun 2022 02:49:26 +0000 (19:49 -0700)] 
remove debugging print

3 years agoUpdate trio requirement from >=0.14,<0.21 to >=0.14,<0.22 816/head
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>
3 years agoImprove network checking [#812].
Bob Halley [Sat, 4 Jun 2022 21:03:56 +0000 (14:03 -0700)] 
Improve network checking [#812].

3 years agoMerge pull request #814 from chriskuipers/typo-fixes
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

3 years agofixed dnpython.org typo 814/head
Chris Kuipers [Fri, 3 Jun 2022 10:04:46 +0000 (12:04 +0200)] 
fixed dnpython.org typo

3 years agoMerge pull request #809 from bdrung/wrap-long-lines
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

3 years agoMerge pull request #808 from bdrung/skip-online-tests
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

3 years agoWrap long lines 809/head
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>
3 years agoAllow skipping test cases that need Internet access 808/head
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>
3 years agoAdd tests.util.is_internet_reachable()
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>
3 years agoMerge pull request #807 from rthalley/dependabot/pip/readthedocs-sphinx-search-0.1.2
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

3 years agoBump readthedocs-sphinx-search from 0.1.1 to 0.1.2 807/head
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>
3 years agoMerge pull request #805 from rthalley/dependabot/pip/cryptography-gte-2.6-and-lt...
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

3 years agoUpdate cryptography requirement from >=2.6,<37.0 to >=2.6,<38.0 805/head
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>
3 years agoMerge pull request #804 from rthalley/dependabot/pip/sphinx-4.3.2
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

3 years agoBump sphinx from 4.2.0 to 4.3.2 804/head
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>
3 years agoremove ChangeLog reference
Bob Halley [Thu, 31 Mar 2022 22:33:13 +0000 (15:33 -0700)] 
remove ChangeLog reference

3 years agoMerge pull request #802 from rthalley/dependabot/pip/twine-tw-4.0.0
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

3 years agoUpdate twine requirement from ^3.1.1 to ^4.0.0 802/head
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>
3 years agoMerge pull request #798 from bwelling/httpx-fixes
Bob Halley [Fri, 25 Mar 2022 23:12:50 +0000 (16:12 -0700)] 
Merge pull request #798 from bwelling/httpx-fixes

Httpx fixes

3 years agoFix passing source address with httpx. 798/head
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.

3 years agoFix httpx verify bug.
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.

3 years agoalways install types if needed when running mypy
Bob Halley [Fri, 25 Mar 2022 19:16:21 +0000 (12:16 -0700)] 
always install types if needed when running mypy

3 years agofix type of query paramater to https() method
Bob Halley [Fri, 25 Mar 2022 19:16:03 +0000 (12:16 -0700)] 
fix type of query paramater to https() method

3 years agotest multi-message TSIG with and without padding
Bob Halley [Thu, 24 Mar 2022 15:03:56 +0000 (08:03 -0700)] 
test multi-message TSIG with and without padding

3 years agoadd padding to whatsnew
Bob Halley [Wed, 23 Mar 2022 13:12:19 +0000 (06:12 -0700)] 
add padding to whatsnew

3 years agotest padding in DoT
Bob Halley [Wed, 23 Mar 2022 13:10:35 +0000 (06:10 -0700)] 
test padding in DoT

3 years agotest padding in DoH
Bob Halley [Wed, 23 Mar 2022 13:06:05 +0000 (06:06 -0700)] 
test padding in DoH

3 years agoMerge pull request #797 from rthalley/padding
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)

3 years agoAdd EDNS padding. 797/head
Bob Halley [Sun, 20 Mar 2022 19:19:54 +0000 (12:19 -0700)] 
Add EDNS padding.

3 years agoMerge pull request #795 from SaidBySolo/patch-1
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

3 years agoMerge pull request #796 from tamarinvs19/tamarinvs19-patch-doc-backquote
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

3 years agoRemove excess backquote 796/head
Vyacheslav Tamarin [Sun, 20 Mar 2022 15:09:16 +0000 (18:09 +0300)] 
Remove excess backquote

3 years agostyle(asyncquery): change the ``httpx.AsyncClient`` type annotation to a string literal 795/head
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

3 years agoMerge pull request #794 from bwelling/asyncnullcontext
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.

3 years agoUse nullcontext for async code, as well. 794/head
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.

3 years agoMerge pull request #793 from bwelling/nullcontext
Bob Halley [Fri, 18 Mar 2022 19:55:56 +0000 (12:55 -0700)] 
Merge pull request #793 from bwelling/nullcontext

Use contextlib.nullcontext().

3 years agoAdd typing info. 793/head
Brian Wellington [Fri, 18 Mar 2022 19:48:08 +0000 (12:48 -0700)] 
Add typing info.

3 years agoUse contextlib.nullcontext().
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.

3 years agothreading is always available from 3.7 on
Bob Halley [Fri, 18 Mar 2022 12:09:34 +0000 (05:09 -0700)] 
threading is always available from 3.7 on