1
0

- update to 2.0.0:

- Python 3.6 or newer is required.
 - The license is now the ISC license.
 - Rdata is now immutable. Use dns.rdata.Rdata.replace() to make a new Rdata based on an existing one.
 - dns.resolver.resolve() has been added, allowing control of whether search lists are used. dns.resolver.query() is retained for backwards compatibility, but deprecated. The default for search list behavior can be set at in the resolver object with the use_search_by_default parameter. The default is False.
 - DNS-over-TLS is supported with dns.query.tls().
 - DNS-over-HTTPS is supported with dns.query.https(), and the resolver will use DNS-over-HTTPS for a nameserver which is an HTTPS URL.
 - Basic query and resolver support for the Trio, Curio, and asyncio asynchronous I/O libraries has been added in dns.asyncquery and dns.asyncresolver. This API should be viewed as experimental as asynchronous I/O support in dnspython is still evolving.
 - TSIG now defaults to using SHA-256.
 - Basic type info has been added to some functions. Future releases will have comprehensive type info.
 - from_text() functions now have a relativize_to parameter.
 - python-cryptography is now used for DNSSEC.
 - Ed25519 and Ed448 signatures are now supported.
 - A helper for NSEC3 generating hashes has been added.
 - SHA384 DS records are supported.
 - Rdatasets and RRsets are much faster.
 - dns.resolver.resolve_address() has been added, allowing easy address-to-name lookups.
 - dns.reversename functions now allow an alternate origin to be specified.
 - The repr form of Rdatasets and RRsets now includes the rdata.
 - A number of standard resolv.conf options are now parsed.
 - The nameserver and port used to get a response are now part of the resolver’s Answer object.
 - The NINFO record is supported.
 - The dns.hash module has been removed; just use Python’s native hashlib module.
 - Rounding is done in the standard python 3 fashion; dnspython 1.x rounded in the python 2 style on both python 2 and 3.
 - The resolver will now do negative caching if a cache has been configured.
 - TSIG and OPT now have rdata types.
 - The class for query messages is now QueryMessage. Class Message is now a base class, and is also used for messages for which we don’t have a better class. Update messages are now class UpdateMessage, though class Update is retained for compatibility.
 - Support for Windows 95, 98, and ME has been removed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=49
This commit is contained in:
Sebastian Wagner 2020-07-18 10:31:03 +00:00 committed by Git OBS Bridge
parent 9994273251
commit fb99f93dac
6 changed files with 49 additions and 86 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9
size 150524

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEpYDe4FL+x42Kzzg98ks6/Iyi9ccFAlwMFb0VHGhhbGxleUBk
bnNweXRob24ub3JnAAoJEPJLOvyMovXHc8AP/itx1+byyZegYUqncJ2RITCr+Yjo
HYPTKBV5jb6Sbr6EGSLJxZtZxqoMiKEkhMXlKbQVM/PMgCdn6/C/HXvYB6yoy8R1
M/7HFAp+7dPWk4i1l+xlwP/fr0T0iJ28xfR5kScRxMcSrc525X/vrcLOq3Omhi7n
nWTTYoaKjbNjOAuJ+Wo50H8ei3R7MmxZDvMpm759+GKjH3GeB/kjWIp4qIXiIJr+
HHhHrecIYuiUNgQUjO9akbTjV3leZ2mAkKxY4ruP53yWwwW/PRX4vvtmFyjesH7d
j4WRDjY05lqzyuL5WhjSvtMHJtdFr/Hz7zy38AAX6TBklKYcKkESazYwKMUTPVsm
cw/JeSScprXX6mMrm7aX7EbGngDW5wqVUCgP6N01FqDrIY947cg4ua3NZvmtUoP6
qRAYN28Q8LAd6EYZs2K0GrinCF1i3+2faTV83dgKpCJfTlMebSI/+ul5GndEERVE
gr2BvMc2fjyVNLX40YKWuza5lB7y7f/xHHw1lzFTsSzucHF83NPJ/p6Cr7PhVOVu
GN/NMxGYtttry/xRtwNowrynQ8PaLmMIXE8ZneQNQxvgF0SaQWsPYTqIlL6LOiuw
5bPThPeRUBA29WOHCdJx6nluLB5Pftste8rCZ7+v5l3tjHKdpwi2dp1UlfhIdgIU
n90/zIC/vck/Q/44
=bDhR
-----END PGP SIGNATURE-----

3
dnspython-2.0.0.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7
size 324706

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sat Jul 18 10:30:15 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to 2.0.0:
- Python 3.6 or newer is required.
- The license is now the ISC license.
- Rdata is now immutable. Use dns.rdata.Rdata.replace() to make a new Rdata based on an existing one.
- dns.resolver.resolve() has been added, allowing control of whether search lists are used. dns.resolver.query() is retained for backwards compatibility, but deprecated. The default for search list behavior can be set at in the resolver object with the use_search_by_default parameter. The default is False.
- DNS-over-TLS is supported with dns.query.tls().
- DNS-over-HTTPS is supported with dns.query.https(), and the resolver will use DNS-over-HTTPS for a nameserver which is an HTTPS URL.
- Basic query and resolver support for the Trio, Curio, and asyncio asynchronous I/O libraries has been added in dns.asyncquery and dns.asyncresolver. This API should be viewed as experimental as asynchronous I/O support in dnspython is still evolving.
- TSIG now defaults to using SHA-256.
- Basic type info has been added to some functions. Future releases will have comprehensive type info.
- from_text() functions now have a relativize_to parameter.
- python-cryptography is now used for DNSSEC.
- Ed25519 and Ed448 signatures are now supported.
- A helper for NSEC3 generating hashes has been added.
- SHA384 DS records are supported.
- Rdatasets and RRsets are much faster.
- dns.resolver.resolve_address() has been added, allowing easy address-to-name lookups.
- dns.reversename functions now allow an alternate origin to be specified.
- The repr form of Rdatasets and RRsets now includes the rdata.
- A number of standard resolv.conf options are now parsed.
- The nameserver and port used to get a response are now part of the resolvers Answer object.
- The NINFO record is supported.
- The dns.hash module has been removed; just use Pythons native hashlib module.
- Rounding is done in the standard python 3 fashion; dnspython 1.x rounded in the python 2 style on both python 2 and 3.
- The resolver will now do negative caching if a cache has been configured.
- TSIG and OPT now have rdata types.
- The class for query messages is now QueryMessage. Class Message is now a base class, and is also used for messages for which we dont have a better class. Update messages are now class UpdateMessage, though class Update is retained for compatibility.
- Support for Windows 95, 98, and ME has been removed.
-------------------------------------------------------------------
Fri Mar 8 13:55:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,52 +0,0 @@
-----BEGIN PG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cnqZjaF6nxRjgcAUT5ra5jXSf4oPaeMfmHaey
77JhTMEOLntS8Qwer41zS541s9b+r/cPaQneSv6Q2RLOzh6AoKu/wJHp9pdacLwZ
dmavu0C4UUJkXekI6PSRADDrCxcPcKH+i5w8sa/AT8MAEQEAAYkCJQQYAQgADwUC
VzIXTAIbDAUJCWYBgAAKCRDySzr8jKL1x/SmD/909LRicdi2kgQdRSAWcF7X7oDh
sCLpHd7aONusg7ew6pc2eWTRd7K9++7iZDRpmhm7es+y/ktZqg2d4CZDi6faj7ya
DpsiD9v9hinaK5fCiNY3afV/nWFS5NgtbyKQsfYa7g072g05bNRJgw+NvWPKXZYE
STCryKxMgzp4uEh4ZyCVWirzzZK3zmz9XIFhRd4aeYOrKsJXTLmDbzazdmAHSo5Q
EkJxm10uyH1rK4FKl379orj1B6rXwEodzDO4DrlwvpRRmDNmXTytvCCAcrkb803k
WgtvaZ4mziog6DziB/XtrB1nSE1JWbXZfWEo9IbJLwo20AMT7XMt6/hql+RXg5Cp
WOgQDlqcUaOiSyOeBDgsWedg0sB7wxHP7XKJHtgKQ76o3ZCMXzXH9HzUhAwf/eM/
kTEsBS7WiEstaCqT0OwfDL1vwnY1n2hAarkivUTe5BjQtxiNjUjwL+3On06V4Jhq
VVqcgu98GUr0OajUjNs98epDwsYB/xZJeA2R5c4N295CHtVKwWq9Q0fqG8vhNBDS
rZB+FCjCj/LmHQNxlYEq/K1GZL3J3eEzKn1kh/gQIMfSgwUie97b8OhGYvp0wbVY
mg+wonBsIfHrXui2ae5GGLk3gRYyWkSwVLeRfFbvO8PQxNgnZWPKqUIldLCR3KZs
zop4c2LqLsFWb9aPuQ==
=UDwa
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package python-dnspython
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,28 +17,34 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dnspython
Version: 1.16.0
Version: 2.0.0
Release: 0
Summary: A DNS toolkit for Python
License: ISC
Group: Development/Languages/Python
URL: https://github.com/rthalley/dnspython
Source: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz
Source2: http://dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz.asc
Source3: python-dnspython.keyring
Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip
BuildRequires: %{python_module setuptools}
# SECTION tests
BuildRequires: %{python_module ecdsa}
BuildRequires: %{python_module idna}
BuildRequires: %{python_module pycryptodome}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module trio >= 0.14.0}
# /SECTION tests
BuildRequires: fdupes
BuildRequires: netcfg
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-ecdsa
Requires: python-pycryptodome
BuildArch: noarch
Recommends: python-idna
Recommends: python-idna >= 2.1
Recommends: python-requests
Recommends: python-requests-toolbelt
Recommends: python-trio >= 0.14.0
Recommends: python-sniffio >= 1.1
%description
dnspython is a DNS toolkit for Python. It supports almost all
@ -50,10 +56,6 @@ level classes perform queries for data of a given name, type, and
class, and return an answer set. The low level classes allow direct
manipulation of DNS zones, messages, names, and records.
dnspython originated at Nominum where it was developed to
facilitate the testing of DNS software. Nominum has generously
allowed it to be opened under a BSD-style licence.
%python_subpackages
%prep
@ -68,8 +70,6 @@ chmod -x examples/*
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%check
# Skip the resolver test suite as it requires Internet connection.
#test -f tests/test_resolver.py && rm tests/test_resolver.py
%python_exec setup.py test
%files %{python_files}