Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-localzone for 
openSUSE:Factory checked in at 2025-09-15 19:52:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-localzone (Old)
 and      /work/SRC/openSUSE:Factory/.python-localzone.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-localzone"

Mon Sep 15 19:52:43 2025 rev:9 rq:1304710 version:0.9.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-localzone/python-localzone.changes        
2025-06-02 22:00:44.093654943 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-localzone.new.1977/python-localzone.changes  
    2025-09-15 19:56:46.044829379 +0200
@@ -1,0 +2,6 @@
+Mon Sep 15 03:02:51 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-dnspython-2.8.0.patch:
+  * Support dnspython 2.8.0 changes.
+
+-------------------------------------------------------------------

New:
----
  support-dnspython-2.8.0.patch

----------(New B)----------
  New:
- Add patch support-dnspython-2.8.0.patch:
  * Support dnspython 2.8.0 changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-localzone.spec ++++++
--- /var/tmp/diff_new_pack.TG3E2M/_old  2025-09-15 19:56:46.920866163 +0200
+++ /var/tmp/diff_new_pack.TG3E2M/_new  2025-09-15 19:56:46.928866498 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-localzone
 #
-# Copyright (c) 2025 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
@@ -22,10 +22,11 @@
 Release:        0
 Summary:        A library for managing DNS zones
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/ags-slc/localzone
 # The PyPI sdist does not provide the tests
 Source:         
https://github.com/ags-slc/localzone/archive/v%{version}.tar.gz#/localzone-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#ags-slc/localzone#6
+Patch0:         support-dnspython-2.8.0.patch
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
@@ -57,5 +58,5 @@
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/localzone
-%{python_sitelib}/localzone-%{version}*-info
+%{python_sitelib}/localzone-%{version}.dist-info
 

++++++ support-dnspython-2.8.0.patch ++++++
>From 200f4b47187c137340781ba05f3b79738f86ffa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?=
 <[email protected]>
Date: Tue, 9 Sep 2025 13:17:37 +0200
Subject: [PATCH] Fix test_zone_add_record_no_content with dnspython 2.8.0

Fixes: https://github.com/ags-slc/localzone/issues/5
---
 tests/test_models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_models.py b/tests/test_models.py
index 621f6c0..b4e8687 100644
--- a/tests/test_models.py
+++ b/tests/test_models.py
@@ -78,7 +78,7 @@ def test_zone_add_record_unknown_type():
 
 def test_zone_add_record_no_content():
     with localzone.manage(ZONEFILE, ORIGIN) as z:
-        with pytest.raises((AttributeError, DNSSyntaxError)):
+        with pytest.raises((AttributeError, DNSSyntaxError, ValueError)):
             z.add_record("test", "txt", None)
 
 

Reply via email to