Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fastjsonschema for 
openSUSE:Factory checked in at 2025-09-30 17:34:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fastjsonschema (Old)
 and      /work/SRC/openSUSE:Factory/.python-fastjsonschema.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fastjsonschema"

Tue Sep 30 17:34:38 2025 rev:12 rq:1307730 version:2.21.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-fastjsonschema/python-fastjsonschema.changes  
    2024-12-06 14:25:10.769449064 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fastjsonschema.new.11973/python-fastjsonschema.changes
   2025-09-30 17:34:54.374387409 +0200
@@ -1,0 +2,6 @@
+Mon Sep 29 10:38:05 UTC 2025 - Dirk Müller <[email protected]>
+
+-update to 2.21.2:
+  * correct the escaping of periods in the ipv6 format regex
+
+-------------------------------------------------------------------

Old:
----
  fastjsonschema-2.21.1.tar.gz

New:
----
  fastjsonschema-2.21.2.tar.gz

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

Other differences:
------------------
++++++ python-fastjsonschema.spec ++++++
--- /var/tmp/diff_new_pack.e6GnJk/_old  2025-09-30 17:34:55.250424368 +0200
+++ /var/tmp/diff_new_pack.e6GnJk/_new  2025-09-30 17:34:55.254424536 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fastjsonschema
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-fastjsonschema
-Version:        2.21.1
+Version:        2.21.2
 Release:        0
 Summary:        Fastest Python implementation of JSON schema
 License:        BSD-3-Clause

++++++ fastjsonschema-2.21.1.tar.gz -> fastjsonschema-2.21.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fastjsonschema-2.21.1/PKG-INFO 
new/fastjsonschema-2.21.2/PKG-INFO
--- old/fastjsonschema-2.21.1/PKG-INFO  2024-12-02 11:55:02.064669600 +0100
+++ new/fastjsonschema-2.21.2/PKG-INFO  2025-08-14 20:49:31.150451000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: fastjsonschema
-Version: 2.21.1
+Version: 2.21.2
 Summary: Fastest Python implementation of JSON schema
 Home-page: https://github.com/horejsek/python-fastjsonschema
 Author: Michal Horejsek
@@ -36,6 +36,15 @@
 Requires-Dist: pytest-benchmark; extra == "devel"
 Requires-Dist: pytest-cache; extra == "devel"
 Requires-Dist: validictory; extra == "devel"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: license
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: summary
 
 ===========================
 Fast JSON schema for Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fastjsonschema-2.21.1/fastjsonschema/draft04.py 
new/fastjsonschema-2.21.2/fastjsonschema/draft04.py
--- old/fastjsonschema-2.21.1/fastjsonschema/draft04.py 2024-11-27 
21:45:10.000000000 +0100
+++ new/fastjsonschema-2.21.2/fastjsonschema/draft04.py 2025-08-14 
20:30:58.000000000 +0200
@@ -30,7 +30,7 @@
         'email': r'^(?!.*\.\..*@)[^@.][^@]*(?<!\.)@[^@]+\.[^@]+\Z',
         'hostname': 
r'^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9])\Z',
         'ipv4': 
r'^((25[0-5]|2[0-4][0-9]|1?[0-9][0-9]?)\.){3}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onschema-2.21.1/fastjsonschema/version.py 
new/fastjsonschema-2.21.2/fastjsonschema/version.py
--- old/fastjsonschema-2.21.1/fastjsonschema/version.py 2024-12-02 
11:54:19.000000000 +0100
+++ new/fastjsonschema-2.21.2/fastjsonschema/version.py 2025-08-14 
20:40:22.000000000 +0200
@@ -1 +1 @@
-VERSION = '2.21.1'
+VERSION = '2.21.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/fastjsonschema-2.21.1/fastjsonschema.egg-info/PKG-INFO 
new/fastjsonschema-2.21.2/fastjsonschema.egg-info/PKG-INFO
--- old/fastjsonschema-2.21.1/fastjsonschema.egg-info/PKG-INFO  2024-12-02 
11:55:01.000000000 +0100
+++ new/fastjsonschema-2.21.2/fastjsonschema.egg-info/PKG-INFO  2025-08-14 
20:49:31.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: fastjsonschema
-Version: 2.21.1
+Version: 2.21.2
 Summary: Fastest Python implementation of JSON schema
 Home-page: https://github.com/horejsek/python-fastjsonschema
 Author: Michal Horejsek
@@ -36,6 +36,15 @@
 Requires-Dist: pytest-benchmark; extra == "devel"
 Requires-Dist: pytest-cache; extra == "devel"
 Requires-Dist: validictory; extra == "devel"
+Dynamic: author
+Dynamic: author-email
+Dynamic: classifier
+Dynamic: description
+Dynamic: home-page
+Dynamic: license
+Dynamic: license-file
+Dynamic: provides-extra
+Dynamic: summary
 
 ===========================
 Fast JSON schema for Python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fastjsonschema-2.21.1/tests/test_format.py 
new/fastjsonschema-2.21.2/tests/test_format.py
--- old/fastjsonschema-2.21.1/tests/test_format.py      2024-12-02 
11:53:39.000000000 +0100
+++ new/fastjsonschema-2.21.2/tests/test_format.py      2025-08-14 
20:30:58.000000000 +0200
@@ -52,6 +52,32 @@
     }, value, expected)
 
 
+exc = JsonSchemaValueException('data must be ipv4', value='{data}', 
name='data', definition='{definition}', rule='format')
[email protected]('value, expected', [
+    ('', exc),
+    ('bla', exc),
+    ('03.04.05', exc),
+    ('2001:db8::1:1', exc),
+    ('::ffff:1.1.1.1', exc),
+    ('1.1.1.1', '1.1.1.1'),
+    ('192.168.0.1', '192.168.0.1'),
+])
+def test_ipv4(asserter, value, expected):
+    asserter({'type': 'string', 'format': 'ipv4'}, value, expected)
+
+
+exc = JsonSchemaValueException('data must be ipv6', value='{data}', 
name='data', definition='{definition}', rule='format')
[email protected]('value, expected', [
+    ('', exc),
+    ('bla', exc),
+    ('1.1.1.1', exc),
+    ('2001:db8::1:1', '2001:db8::1:1'),
+    ('::ffff:1.1.1.1', '::ffff:1.1.1.1'),
+])
+def test_ipv6(asserter, value, expected):
+    asserter({'type': 'string', 'format': 'ipv6'}, value, expected)
+
+
 exc = JsonSchemaValueException('data must be custom-format', value='{data}', 
name='data', definition='{definition}', rule='format')
 @pytest.mark.parametrize('value,expected,custom_format', [
     ('', exc, r'^[ab]$'),

Reply via email to