1
0

34 Commits

Author SHA256 Message Date
f993a020d4 Accepting request 1206395 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=40
2024-10-09 20:03:19 +00:00
a0a937dad6 - Skip some tests
* that require a working resolver and external DNS resolution
  * that require an openssl3 version with support for
    ECDSA with deterministic signature (RFC 6979)"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=79
2024-10-08 20:25:32 +00:00
d9f18315ed - Update to version 2.7.0
* dns.query.https() and dns.asyncquery.https() now support
    HTTP/3 and the http_version parameter may be used to specify
    which version to use.
  * If the cryptography module is installed, then dnspython will
    now create deterministic ECDSA signatures by default.
  * The RESINFO and WALLET RdataTypes are now supported.
  * The COOKIE and Report-Channel EDNS0 options are now supported.
  * All supported RdataTypes can now be imported at a single time
    rather than lazily on first use by calling
    dns.rdata.load_all_types().
  * The SVCB and HTTPS records now support the ohttp parameter.
  * xfr() and inbound_xfr() now share a common implementation.
  * Tokens are now supported for QUIC and HTTP/3.
  * dns.message.from_wire() now saves the input wire format in the
    Message’s “wire” attribute. Likewise,
    dns.message.Message.to_wire() now records the generated wire
    format in that attribute.
  * The dns.message.Message object now has a get_options() helper
    to retrieve EDNS0 options of a specified type, and an
    extended_errors() helper to retrieve the list of EDE options
    in a message (if any).
  * dns.message.make_response() now has a copy mode which controls
    how sections are copied. By default, a copy mode appropriate
    for the opcode is used.
    This is currently dns.message.CopyMode.QUESTION for all opcodes
  * If an IP address is used as the hostname in a URL, the https
    query code now passes the sni_hostname to httpx as this is
    required to get httpx to validate the certificate and check for
    an IP subject alternative name.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=78
2024-10-06 07:18:04 +00:00
460377d2b4 Accepting request 1181942 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=39
2024-06-21 14:02:32 +00:00
29a2710da5 Accepting request 1115900 from devel:languages:python
- Don't use curio.

OBS-URL: https://build.opensuse.org/request/show/1115900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=38
2023-10-06 19:12:46 +00:00
2e7565f6ab Accepting request 1107881 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1107881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=37
2023-08-30 08:18:21 +00:00
ddb517f14f Accepting request 1081944 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=36
2023-04-22 20:01:18 +00:00
cd54c926a6 Accepting request 1063213 from devel:languages:python
- Update to version 2.3.0
  * The get_soa() method has been added to dns.zone.Zone.
  * The minimum TLS version is now 1.2.
  * EDNS padding is now supported. Messages with EDNS enabled and
    with a non-zero pad option will be automatically padded
    appropriately when converted to wire format.
  * dns.zone.from_text() and dns.zone.from_file() now have an
    allow_directives parameter to allow finer control over how
    directives in zonefiles are processed.
  * A preliminary implementation of DNS-over-QUIC has been added,
    and will be available if the aioquic library is present. See
    dns.query.quic(), dns.asyncquery.quic(), and examples/doq.py
    for more info. This API is subject to change in future releases
    For asynchronous I/O, both asyncio and Trio are supported,
    but Curio is not.
  * DNSSEC signing support has been added to the dns.dnssec module,
    along with a number of functions to help generate DS, CDS, and
    CDNSKEY RRsets.
  * Curio asynchronous I/O support is deprecated as of this release
    and will be removed in a future release.
  * The resolver object’s nameserver field is planned to become a
    property in dnspython 2.4. Writing to this field other than by
    direct assignment is deprecated, and so is depending on the
    mutability and form of the iterable returned when it is read.

OBS-URL: https://build.opensuse.org/request/show/1063213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=35
2023-02-05 18:20:08 +00:00
a485837e82 Accepting request 1009260 from devel:languages:python
- Include in filelist directories with their content.

OBS-URL: https://build.opensuse.org/request/show/1009260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=34
2022-10-12 16:23:08 +00:00
dfccd9a196 Accepting request 963789 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/963789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=33
2022-03-24 21:56:49 +00:00
549410c9d9 Accepting request 953817 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/953817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=32
2022-02-13 18:50:35 +00:00
70fcbc8ef2 Accepting request 950808 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/950808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=31
2022-02-03 22:16:15 +00:00
4d3191bd23 Accepting request 861794 from devel:languages:python
- update to version 2.1.0:
 * End-of-line comments are now associated with rdata when read from text.
   For backwards compatibility with prior versions of dnspython, they are
   only emitted in to_text() when requested.
 * Synchronous I/O is a bit more efficient, as we now try the I/O and only
   use poll() or select() if the I/O would block.
 * The resolver cache classes now offer basic hit and miss statistics, and
   the LRUCache can also provide hits for every cache key.
 * The resolver has a canonical_name() method.
 * There is now a registration mechanism for EDNS option types.
 * The default EDNS payload size has changed from 1280 to 1232.
 * The SVCB, HTTPS, and SMIMEA RR types are now supported.
 * TSIG has been enhanced with TKEY and GSS-TSIG support.  Thanks to
   Nick Hall for writing this.
 * Zones now can be updated via transactions.
 * A new zone subclass, dns.versioned.Zone is available which has a
   thread-safe transaction implementation and support for keeping many
   versions of a zone.
 * The zone file reading code has been adapted to use transactions, and
   is now a public API.
 * Inbound zone transfer support has been rewritten and is available as
   dns.query.inbound_xfr() and dns.asyncquery.inbound_xfr().  It uses
   the transaction mechanism, and fully supports IXFR and AXFR.

OBS-URL: https://build.opensuse.org/request/show/861794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=30
2021-01-15 18:43:30 +00:00
aa1a3b6a55 Accepting request 855345 from devel:languages:python
- Remove skipping tests which are acutally passing.

- Python < 3.7 requires external contextvars (forwarded request 855332 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/855345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=29
2020-12-16 09:59:06 +00:00
2e4e881e04 Accepting request 824769 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/824769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=28
2020-08-13 08:11:57 +00:00
d781c905f4 Accepting request 682862 from devel:languages:python
- Update to 1.16.0:
  * various fixes for wheel/cryptodome/etc
- Remove all patches, merged upstream:
  * 210.patch
  * pycryptodome.patch
  * readme.patch

OBS-URL: https://build.opensuse.org/request/show/682862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=27
2019-03-12 08:45:45 +00:00
400252d8a5 Accepting request 654018 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=26
2018-12-13 18:43:07 +00:00
f41dc1a4dd Accepting request 607507 from devel:languages:python
- require python-pycryptodome instead of recommending it

OBS-URL: https://build.opensuse.org/request/show/607507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=25
2018-05-19 13:41:11 +00:00
eace8d8b46 Accepting request 605770 from devel:languages:python
- Add patch pycryptodome.patch to work with pycryptodome:
  * pycryptodome.patch

OBS-URL: https://build.opensuse.org/request/show/605770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=24
2018-05-11 09:28:55 +00:00
43e5337e4b Accepting request 493313 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/493313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=23
2017-05-16 12:29:35 +00:00
f2efa5e5e1 Accepting request 435073 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/435073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=22
2016-10-18 08:42:46 +00:00
052b0d6736 Accepting request 433898 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/433898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=21
2016-10-13 09:30:21 +00:00
756ff706b0 Accepting request 403573 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/403573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=20
2016-06-21 09:30:55 +00:00
4776dcb4c8 Accepting request 263157 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/263157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=19
2014-11-28 07:44:37 +00:00
Stephan Kulow
3d7c6a7d36 Accepting request 257912 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/257912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=18
2014-10-25 06:33:11 +00:00
Tomáš Chvátal
99fcf96030 Accepting request 198876 from devel:languages:python
- update to 1.11.1:
  * fix syntax error exception on dns server failure
  * various fixlets for DNSSEC support (forwarded request 198593 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/198876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=15
2013-09-13 12:46:16 +00:00
Stephan Kulow
34f8eeecde Accepting request 183064 from devel:languages:python
- Package LICENSE, use proper upstream URL
- Run testsuite
- Cleanup macro usage

- update to 1.11.0:
  * TLSA RR support
  * Added set_flags() method to dns.resolver.Resolver
  * Names with offsets >= 2^14 are no longer added to the compression
    table.
  * The "::" syntax is not used to shorten a single 16-bit section of
  the text form an IPv6 address.
  * Empty rdatasets are not printed.
  * DNSKEY key tags are no longer assumed to be unique.

OBS-URL: https://build.opensuse.org/request/show/183064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=14
2013-07-16 14:14:48 +00:00
Stephan Kulow
b43466029e Accepting request 123105 from devel:languages:python
- license update: ISC
  See LICENSE (and compare http://www.spdx.org/licenses/MIT with
  http://www.spdx.org/licenses/ISC)

- Update to new upstream release 1.10.0
* Added dns.resolver.LRUCache.
* dns.resolver.query() will try TCP if a UDP response is truncated.
* The python socket module's DNS methods can be now be overriden
  with implementations that use dnspython's resolver.
- Remove redundant tags/sections from specfile
- Correct license field

OBS-URL: https://build.opensuse.org/request/show/123105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=11
2012-06-01 20:32:05 +00:00
Sascha Peilicke
13ea7dec1d Accepting request 65342 from devel:languages:python
Accepted submit request 65342 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=9
2011-03-30 07:27:51 +00:00
Sascha Peilicke
9d72e8e977 Autobuild autoformatter for 65170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=8
2011-03-25 07:55:40 +00:00
Sascha Peilicke
9be535098a Accepting request 65170 from devel:languages:python
Accepted submit request 65170 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/65170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=7
2011-03-25 07:55:27 +00:00
ec84a4905f Accepting request 53764 from devel:languages:python
Accepted submit request 53764 from user jengelh

OBS-URL: https://build.opensuse.org/request/show/53764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=5
2010-11-23 13:42:27 +00:00
b94cc7e2b0 Autobuild autoformatter for 53679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=4
2010-11-22 16:07:16 +00:00
51c45f0cd5 Accepting request 53679 from devel:languages:python
Accepted submit request 53679 from user jengelh

OBS-URL: https://build.opensuse.org/request/show/53679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=3
2010-11-22 16:07:05 +00:00
4 changed files with 65 additions and 6 deletions

Binary file not shown.

BIN
dnspython-2.7.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Tue Oct 8 20:19:23 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Skip some tests
* that require a working resolver and external DNS resolution
* that require an openssl3 version with support for
ECDSA with deterministic signature (RFC 6979)"
-------------------------------------------------------------------
Sun Oct 6 07:03:50 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.7.0
* dns.query.https() and dns.asyncquery.https() now support
HTTP/3 and the http_version parameter may be used to specify
which version to use.
* If the cryptography module is installed, then dnspython will
now create deterministic ECDSA signatures by default.
* The RESINFO and WALLET RdataTypes are now supported.
* The COOKIE and Report-Channel EDNS0 options are now supported.
* All supported RdataTypes can now be imported at a single time
rather than lazily on first use by calling
dns.rdata.load_all_types().
* The SVCB and HTTPS records now support the ohttp parameter.
* xfr() and inbound_xfr() now share a common implementation.
* Tokens are now supported for QUIC and HTTP/3.
* dns.message.from_wire() now saves the input wire format in the
Messages “wire” attribute. Likewise,
dns.message.Message.to_wire() now records the generated wire
format in that attribute.
* The dns.message.Message object now has a get_options() helper
to retrieve EDNS0 options of a specified type, and an
extended_errors() helper to retrieve the list of EDE options
in a message (if any).
* dns.message.make_response() now has a copy mode which controls
how sections are copied. By default, a copy mode appropriate
for the opcode is used.
This is currently dns.message.CopyMode.QUESTION for all opcodes
* If an IP address is used as the hostname in a URL, the https
query code now passes the sni_hostname to httpx as this is
required to get httpx to validate the certificate and check for
an IP subject alternative name.
* The minimum supported aioquic version is now 1.0.0.
* The minimum supported Python version is now 3.9.
-------------------------------------------------------------------
Thu Jun 20 12:26:09 UTC 2024 - Martin Hauke <mardnh@gmx.de>

View File

@@ -27,7 +27,7 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-dnspython%{psuffix}
Version: 2.6.1
Version: 2.7.0
Release: 0
Summary: A DNS toolkit for Python
License: ISC
@@ -41,12 +41,14 @@ BuildRequires: %{python_module poetry-core}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# dnssec
Requires: python-cryptography
Requires: python-cryptography >= 43.0
Requires: python-httpx
# idna
Requires: python-idna >= 2.1
# HTTP/2 support in httpx
Recommends: python-h2
# quic
Recommends: python-aioquic
# trio
Suggests: python-trio >= 0.14.0
BuildArch: noarch
@@ -55,8 +57,10 @@ BuildArch: noarch
BuildRequires: %{python_module cryptography}
# BuildRequires: %%{python_module curio >= 1.2}
BuildRequires: %{python_module h2}
# doh:
# doh
BuildRequires: %{python_module httpx}
# quic
BuildRequires: %{python_module aioquic}
# idna
BuildRequires: %{python_module idna}
BuildRequires: %{python_module pytest}
@@ -111,6 +115,17 @@ chmod -x dns/win32util.py
%if %{with test}
%check
# remove tests that require a working resolver and external DNS resolution
rm tests/test_async.py
rm tests/test_doh.py
rm tests/test_resolver.py
rm tests/test_resolver_override.py
# remove dnssec related tests since those require an openssl version with
# support for supports "ECDSA with deterministic signature (RFC 6979)"
# https://github.com/pyca/cryptography/pull/10369
# TODO: reenable once TW ships openssl >= 3.2.0
rm tests/test_dnssec.py
rm tests/test_dnssecalgs.py
%pytest
%endif