From e8f07eede1f60c8bf5ab56a8ca049166be8b16bbf0d026f3177f9199d7ea0024 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 8 Sep 2025 20:27:44 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Update=20to=20version=202.8.0:=20=20=20?= =?UTF-8?q?*=20dns/btreezone.py=20provides=20another=20zone=20versioned=20?= =?UTF-8?q?implementation=20built=20on=20top=20of=20a=20B-tree.=20It=20mai?= =?UTF-8?q?ntains=20DNSSEC=20sort=20order,=20labels=20nodes=20as=20delegat?= =?UTF-8?q?ion=20points=20or=20glue,=20and=20can=20find=20the=20=E2=80=9Cb?= =?UTF-8?q?ounds=E2=80=9D=20of=20a=20name=20(useful=20for=20DNSSEC=20respo?= =?UTF-8?q?nses).=20=20=20*=20dns/query.py=20now=20provides=20make=5Fsocke?= =?UTF-8?q?t(),=20make=5Fssl=5Fsocket(),=20and=20make=5Fssl=5Fcontext()=20?= =?UTF-8?q?to=20make=20using=20persistent=20connections=20with=20the=20que?= =?UTF-8?q?ry=20code=20easier.=20=20=20*=20dns/win32util.py=20now=20suppor?= =?UTF-8?q?ts=20explicitly=20setting=20the=20configuration=20method=20used?= =?UTF-8?q?=20to=20get=20system=20dns=20info,=20using=20the=20set=5Fconfig?= =?UTF-8?q?=5Fmethod()=20function.=20There=20is=20a=20new=20configuration?= =?UTF-8?q?=20method=20that=20uses=20the=20Win32=20API,=20which=20can=20be?= =?UTF-8?q?=20set=20using=20set=5Fconfig=5Fmethod(ConfigMethod.Win32).=20W?= =?UTF-8?q?e=20are=20considering=20making=20the=20Win32=20API=20the=20defa?= =?UTF-8?q?ult=20in=20the=20future=20as=20we=20believe=20it=20to=20be=20th?= =?UTF-8?q?e=20most=20accurate.=20Any=20feedback=20on=20it=20compared=20to?= =?UTF-8?q?=20the=20other=20methods=20is=20welcome.=20=20=20*=20The=20DSYN?= =?UTF-8?q?C=20record=20is=20now=20supported.=20This=20type=20is=20still?= =?UTF-8?q?=20in=20draft=20stage=20at=20the=20IETF=20and=20is=20subject=20?= =?UTF-8?q?to=20change.=20=20=20*=20The=20minimum=20supported=20Python=20v?= =?UTF-8?q?ersion=20is=20now=203.10.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=81 --- dnspython-2.7.0.tar.gz | 3 --- dnspython-2.8.0.tar.gz | 3 +++ python-dnspython.changes | 10 ++++++++++ python-dnspython.spec | 6 +++--- 4 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 dnspython-2.7.0.tar.gz create mode 100644 dnspython-2.8.0.tar.gz diff --git a/dnspython-2.7.0.tar.gz b/dnspython-2.7.0.tar.gz deleted file mode 100644 index d674705..0000000 --- a/dnspython-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1 -size 345197 diff --git a/dnspython-2.8.0.tar.gz b/dnspython-2.8.0.tar.gz new file mode 100644 index 0000000..0c35e26 --- /dev/null +++ b/dnspython-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181d3c6996452cb1189c4046c61599b84a5a86e099562ffde77d26984ff26d0f +size 368251 diff --git a/python-dnspython.changes b/python-dnspython.changes index bbf8a16..be62c25 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Sep 8 20:26:46 UTC 2025 - Sebastian Wagner + +- Update to version 2.8.0: + * dns/btreezone.py provides another zone versioned implementation built on top of a B-tree. It maintains DNSSEC sort order, labels nodes as delegation points or glue, and can find the “bounds” of a name (useful for DNSSEC responses). + * dns/query.py now provides make_socket(), make_ssl_socket(), and make_ssl_context() to make using persistent connections with the query code easier. + * dns/win32util.py now supports explicitly setting the configuration method used to get system dns info, using the set_config_method() function. There is a new configuration method that uses the Win32 API, which can be set using set_config_method(ConfigMethod.Win32). We are considering making the Win32 API the default in the future as we believe it to be the most accurate. Any feedback on it compared to the other methods is welcome. + * The DSYNC record is now supported. This type is still in draft stage at the IETF and is subject to change. + * The minimum supported Python version is now 3.10. + ------------------------------------------------------------------- Tue Oct 8 20:19:23 UTC 2024 - Martin Hauke diff --git a/python-dnspython.spec b/python-dnspython.spec index d37f272..9d1650b 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -1,7 +1,7 @@ # # spec file for package python-dnspython # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,14 +27,14 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-dnspython%{psuffix} -Version: 2.7.0 +Version: 2.8.0 Release: 0 Summary: A DNS toolkit for Python License: ISC Group: Development/Languages/Python URL: https://github.com/rthalley/dnspython Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} From 59a845afcafda07aaf3bf8362f9e2679258afa5c8ed7352a79ff1948cc2e53e8 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Mon, 8 Sep 2025 20:34:42 +0000 Subject: [PATCH 2/2] - Update trio version depedency to fix broken test on 15.6. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=82 --- python-dnspython.changes | 1 + python-dnspython.spec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/python-dnspython.changes b/python-dnspython.changes index be62c25..c078a9a 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -7,6 +7,7 @@ Mon Sep 8 20:26:46 UTC 2025 - Sebastian Wagner * dns/win32util.py now supports explicitly setting the configuration method used to get system dns info, using the set_config_method() function. There is a new configuration method that uses the Win32 API, which can be set using set_config_method(ConfigMethod.Win32). We are considering making the Win32 API the default in the future as we believe it to be the most accurate. Any feedback on it compared to the other methods is welcome. * The DSYNC record is now supported. This type is still in draft stage at the IETF and is subject to change. * The minimum supported Python version is now 3.10. +- Update trio version depedency to fix broken test on 15.6. ------------------------------------------------------------------- Tue Oct 8 20:19:23 UTC 2024 - Martin Hauke diff --git a/python-dnspython.spec b/python-dnspython.spec index 9d1650b..7eff1b8 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -50,7 +50,7 @@ Recommends: python-h2 # quic Recommends: python-aioquic # trio -Suggests: python-trio >= 0.14.0 +Suggests: python-trio >= 0.30 BuildArch: noarch %if %{with test} # dnssec @@ -69,7 +69,7 @@ BuildRequires: %{python_module requests} # # curio # BuildRequires: %%{python_module sniffio >= 1.1} # trio -BuildRequires: %{python_module trio >= 0.14.0} +BuildRequires: %{python_module trio >= 0.30.0} BuildRequires: %{python_module typing} BuildRequires: netcfg BuildRequires: (python3-contextvars if python3-base < 3.7)