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 2024-01-05 22:58:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fastjsonschema (Old)
and /work/SRC/openSUSE:Factory/.python-fastjsonschema.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fastjsonschema"
Fri Jan 5 22:58:26 2024 rev:8 rq:1135686 version:2.19.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-fastjsonschema/python-fastjsonschema.changes
2023-11-28 22:19:24.173784359 +0100
+++
/work/SRC/openSUSE:Factory/.python-fastjsonschema.new.28375/python-fastjsonschema.changes
2024-01-05 22:58:28.799837523 +0100
@@ -1,0 +2,6 @@
+Fri Dec 29 16:18:55 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.19.1:
+ * Fixed date format to accept only two digit months and days
+
+-------------------------------------------------------------------
Old:
----
fastjsonschema-2.19.0.tar.gz
New:
----
fastjsonschema-2.19.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fastjsonschema.spec ++++++
--- /var/tmp/diff_new_pack.5zMCPj/_old 2024-01-05 22:58:30.139886623 +0100
+++ /var/tmp/diff_new_pack.5zMCPj/_new 2024-01-05 22:58:30.155887209 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-fastjsonschema
-Version: 2.19.0
+Version: 2.19.1
Release: 0
Summary: Fastest Python implementation of JSON schema
License: BSD-3-Clause
++++++ fastjsonschema-2.19.0.tar.gz -> fastjsonschema-2.19.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fastjsonschema-2.19.0/AUTHORS
new/fastjsonschema-2.19.1/AUTHORS
--- old/fastjsonschema-2.19.0/AUTHORS 1970-01-01 01:00:00.000000000 +0100
+++ new/fastjsonschema-2.19.1/AUTHORS 2023-12-28 12:11:16.000000000 +0100
@@ -0,0 +1,11 @@
+MAINTAINER
+Michal HoÅejÅ¡ek <[email protected]>
+
+CONTRIBUTORS
+anentropic <[email protected]>
+Antti Jokipii <[email protected]>
+bcaller <[email protected]>
+Frederik Petersen <[email protected]>
+Guillaume Desvé <[email protected]>
+Kris Molendyke <[email protected]>
+David Majda <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fastjsonschema-2.19.0/PKG-INFO
new/fastjsonschema-2.19.1/PKG-INFO
--- old/fastjsonschema-2.19.0/PKG-INFO 2023-11-14 21:03:22.000000000 +0100
+++ new/fastjsonschema-2.19.1/PKG-INFO 2023-12-28 14:58:58.743027700 +0100
@@ -1,28 +1,11 @@
Metadata-Version: 2.1
Name: fastjsonschema
-Version: 2.19.0
+Version: 2.19.1
Summary: Fastest Python implementation of JSON schema
Home-page: https://github.com/horejsek/python-fastjsonschema
Author: Michal Horejsek
Author-email: [email protected]
License: BSD
-Description: ===========================
- Fast JSON schema for Python
- ===========================
-
- |PyPI| |Pythons|
-
- .. |PyPI| image:: https://img.shields.io/pypi/v/fastjsonschema.svg
- :alt: PyPI version
- :target: https://pypi.python.org/pypi/fastjsonschema
-
- .. |Pythons| image::
https://img.shields.io/pypi/pyversions/fastjsonschema.svg
- :alt: Supported Python versions
- :target: https://pypi.python.org/pypi/fastjsonschema
-
- See `documentation
<https://horejsek.github.io/python-fastjsonschema/>`_.
-
-Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
@@ -40,4 +23,30 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+License-File: LICENSE
+License-File: AUTHORS
Provides-Extra: devel
+Requires-Dist: colorama; extra == "devel"
+Requires-Dist: jsonschema; extra == "devel"
+Requires-Dist: json-spec; extra == "devel"
+Requires-Dist: pylint; extra == "devel"
+Requires-Dist: pytest; extra == "devel"
+Requires-Dist: pytest-benchmark; extra == "devel"
+Requires-Dist: pytest-cache; extra == "devel"
+Requires-Dist: validictory; extra == "devel"
+
+===========================
+Fast JSON schema for Python
+===========================
+
+|PyPI| |Pythons|
+
+.. |PyPI| image:: https://img.shields.io/pypi/v/fastjsonschema.svg
+ :alt: PyPI version
+ :target: https://pypi.python.org/pypi/fastjsonschema
+
+.. |Pythons| image:: https://img.shields.io/pypi/pyversions/fastjsonschema.svg
+ :alt: Supported Python versions
+ :target: https://pypi.python.org/pypi/fastjsonschema
+
+See `documentation <https://horejsek.github.io/python-fastjsonschema/>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fastjsonschema-2.19.0/fastjsonschema/draft07.py
new/fastjsonschema-2.19.1/fastjsonschema/draft07.py
--- old/fastjsonschema-2.19.0/fastjsonschema/draft07.py 2023-11-14
19:59:13.000000000 +0100
+++ new/fastjsonschema-2.19.1/fastjsonschema/draft07.py 2023-12-28
12:11:15.000000000 +0100
@@ -3,7 +3,7 @@
class CodeGeneratorDraft07(CodeGeneratorDraft06):
FORMAT_REGEXS = dict(CodeGeneratorDraft06.FORMAT_REGEXS, **{
- 'date': r'^(?P<year>\d{4})-(?P<month>\d{1,2})-(?P<day>\d{1,2})\Z',
+ 'date': r'^(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})\Z',
'iri': r'^\w+:(\/?\/?)[^\s]+\Z',
'iri-reference': r'^(\w+:(\/?\/?))?[^#\\\s]*(#[^\\\s]*)?\Z',
'idn-email': r'^[^@]+@[^@]+\.[^@]+\Z',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fastjsonschema-2.19.0/fastjsonschema/version.py
new/fastjsonschema-2.19.1/fastjsonschema/version.py
--- old/fastjsonschema-2.19.0/fastjsonschema/version.py 2023-11-14
21:01:47.000000000 +0100
+++ new/fastjsonschema-2.19.1/fastjsonschema/version.py 2023-12-28
13:11:27.000000000 +0100
@@ -1 +1 @@
-VERSION = '2.19.0'
+VERSION = '2.19.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fastjsonschema-2.19.0/fastjsonschema.egg-info/PKG-INFO
new/fastjsonschema-2.19.1/fastjsonschema.egg-info/PKG-INFO
--- old/fastjsonschema-2.19.0/fastjsonschema.egg-info/PKG-INFO 2023-11-14
21:03:22.000000000 +0100
+++ new/fastjsonschema-2.19.1/fastjsonschema.egg-info/PKG-INFO 2023-12-28
14:58:58.000000000 +0100
@@ -1,28 +1,11 @@
Metadata-Version: 2.1
Name: fastjsonschema
-Version: 2.19.0
+Version: 2.19.1
Summary: Fastest Python implementation of JSON schema
Home-page: https://github.com/horejsek/python-fastjsonschema
Author: Michal Horejsek
Author-email: [email protected]
License: BSD
-Description: ===========================
- Fast JSON schema for Python
- ===========================
-
- |PyPI| |Pythons|
-
- .. |PyPI| image:: https://img.shields.io/pypi/v/fastjsonschema.svg
- :alt: PyPI version
- :target: https://pypi.python.org/pypi/fastjsonschema
-
- .. |Pythons| image::
https://img.shields.io/pypi/pyversions/fastjsonschema.svg
- :alt: Supported Python versions
- :target: https://pypi.python.org/pypi/fastjsonschema
-
- See `documentation
<https://horejsek.github.io/python-fastjsonschema/>`_.
-
-Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
@@ -40,4 +23,30 @@
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+License-File: LICENSE
+License-File: AUTHORS
Provides-Extra: devel
+Requires-Dist: colorama; extra == "devel"
+Requires-Dist: jsonschema; extra == "devel"
+Requires-Dist: json-spec; extra == "devel"
+Requires-Dist: pylint; extra == "devel"
+Requires-Dist: pytest; extra == "devel"
+Requires-Dist: pytest-benchmark; extra == "devel"
+Requires-Dist: pytest-cache; extra == "devel"
+Requires-Dist: validictory; extra == "devel"
+
+===========================
+Fast JSON schema for Python
+===========================
+
+|PyPI| |Pythons|
+
+.. |PyPI| image:: https://img.shields.io/pypi/v/fastjsonschema.svg
+ :alt: PyPI version
+ :target: https://pypi.python.org/pypi/fastjsonschema
+
+.. |Pythons| image:: https://img.shields.io/pypi/pyversions/fastjsonschema.svg
+ :alt: Supported Python versions
+ :target: https://pypi.python.org/pypi/fastjsonschema
+
+See `documentation <https://horejsek.github.io/python-fastjsonschema/>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/fastjsonschema-2.19.0/fastjsonschema.egg-info/SOURCES.txt
new/fastjsonschema-2.19.1/fastjsonschema.egg-info/SOURCES.txt
--- old/fastjsonschema-2.19.0/fastjsonschema.egg-info/SOURCES.txt
2023-11-14 21:03:22.000000000 +0100
+++ new/fastjsonschema-2.19.1/fastjsonschema.egg-info/SOURCES.txt
2023-12-28 14:58:58.000000000 +0100
@@ -1,3 +1,4 @@
+AUTHORS
LICENSE
MANIFEST.in
README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/fastjsonschema-2.19.0/tests/test_format.py
new/fastjsonschema-2.19.1/tests/test_format.py
--- old/fastjsonschema-2.19.0/tests/test_format.py 2023-11-14
20:54:34.000000000 +0100
+++ new/fastjsonschema-2.19.1/tests/test_format.py 2023-12-28
12:11:15.000000000 +0100
@@ -37,6 +37,20 @@
asserter({'type': 'string', 'format': 'hostname'}, value, expected)
+exc = JsonSchemaValueException('data must be date', value='{data}',
name='data', definition='{definition}', rule='format')
[email protected]('value, expected', [
+ ('', exc),
+ ('bla', exc),
+ ('2018-2-5', exc),
+ ('2018-02-05', '2018-02-05'),
+])
+def test_date(asserter, value, expected):
+ asserter({
+ '$schema': 'http://json-schema.org/draft-07/schema',
+ 'format': 'date',
+ }, 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]$'),