Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
169fa7b9c6 |
BIN
fastjsonschema-2.16.3.tar.gz
(Stored with Git LFS)
BIN
fastjsonschema-2.16.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
fastjsonschema-2.21.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
fastjsonschema-2.21.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 5 09:35:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.21.1:
|
||||||
|
* Fixed ResourceWarning where file was not properly closed
|
||||||
|
* Fixed regexp for date format
|
||||||
|
* Updated test suite
|
||||||
|
* Fixed detecting when infinity is reached with multipleOf
|
||||||
|
* Fixed that min/max items/lenght/properties can be float
|
||||||
|
* Fixed that everything with empty `not` is invalid
|
||||||
|
* Fixed missing re import when using regex pattern
|
||||||
|
* Improved regexp for email format to comfort test suite
|
||||||
|
* Improved regexp for date format to comfort test suite
|
||||||
|
* Improved regexp for ipv4 format to comfort test suite
|
||||||
|
* Added partial support of idn-hostname format
|
||||||
|
* Added `detailed_exceptions` flag (default to True to avoid
|
||||||
|
breaking change) - when used, results are twice as fast
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 20 09:47:35 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 2.20.0:
|
||||||
|
- Added validations at compile time:
|
||||||
|
- `required` must have unique items
|
||||||
|
- checking if schema is not allowing `required` items (item
|
||||||
|
is required, but is not listed in properties)
|
||||||
|
- Remove upstreamed patch:
|
||||||
|
- support-pytest-8.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 07:15:45 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch support-pytest-8.patch:
|
||||||
|
* Support pytest >= 8.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 29 16:18:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.19.1:
|
||||||
|
* Fixed date format to accept only two digit months and days
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 27 18:48:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.19.0:
|
||||||
|
* Added `use_formats` parameter to allow disable automatic assertions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 26 19:04:36 UTC 2023 - Torsten Gruner <simmphonie@opensuse.org>
|
||||||
|
|
||||||
|
- update to 2.18.0
|
||||||
|
* Improved error message for required props - only missing are reported
|
||||||
|
* Fixed support of boolean schema in if-then-else application
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 29 14:28:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.17.1:
|
||||||
|
* Fixed tests in sdist
|
||||||
|
* Added support for Decimals
|
||||||
|
* Added tests in sdist
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 12 10:18:43 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Fri May 12 10:18:43 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fastjsonschema
|
# spec file for package python-fastjsonschema
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,24 +18,21 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-fastjsonschema
|
Name: python-fastjsonschema
|
||||||
Version: 2.16.3
|
Version: 2.21.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fastest Python implementation of JSON schema
|
Summary: Fastest Python implementation of JSON schema
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/horejsek/python-fastjsonschema
|
URL: https://github.com/horejsek/python-fastjsonschema
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest-benchmark}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Suggests: python-colorama
|
|
||||||
Suggests: python-json-spec
|
Suggests: python-json-spec
|
||||||
Suggests: python-jsonschema
|
Suggests: python-jsonschema
|
||||||
Suggests: python-pylint
|
|
||||||
Suggests: python-pytest
|
|
||||||
Suggests: python-pytest-benchmark
|
|
||||||
Suggests: python-pytest-cache
|
|
||||||
Suggests: python-validictory
|
Suggests: python-validictory
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -46,19 +43,20 @@ Fastest Python implementation of JSON schema
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n fastjsonschema-%{version}
|
%autosetup -p1 -n fastjsonschema-%{version}
|
||||||
|
|
||||||
chmod -x fastjsonschema.egg-info/*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/fastjsonschema
|
%{python_sitelib}/fastjsonschema
|
||||||
%{python_sitelib}/fastjsonschema-%{version}*-info
|
%{python_sitelib}/fastjsonschema-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user