forked from pool/python-dnspython
- 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/package/show/devel:languages:python/python-dnspython?expand=0&rev=55
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dnspython
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-dnspython
|
||||
Version: 2.0.0
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: A DNS toolkit for Python
|
||||
License: ISC
|
||||
@@ -80,7 +80,8 @@ chmod -x examples/*
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# exclude the testcase which requires an unpackaged pickle file in the tests. see https://github.com/rthalley/dnspython/issues/622
|
||||
%pytest -k 'not test_unpickle'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user