- Update to 0.6.0:

* Compatibility with jsonschema 4.18 #72
  * Python 3.7 support dropped #84
  * OAS30Validator no longer accept read and write properties. Use
    OASReadValidator and OAS30WriteValidator instead. #85
  * Formats raise error for other types fix #67
  * Format validators ignore other types and pass (in accordance with the
    specification)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-schema-validator?expand=0&rev=15
This commit is contained in:
2023-07-25 06:13:04 +00:00
committed by Git OBS Bridge
parent a365cca36f
commit bc17985d9d
4 changed files with 22 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2aad8e8ed1a9313b82f2fcc27084a1e630eeed17747461c1e393e74d0febea0b
size 45207

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a005a91c6d2fc1769632d1583d9e4e82d36144e4ec745c794ca2ec3a4db817d
size 52700

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jul 25 06:06:43 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.6.0:
* Compatibility with jsonschema 4.18 #72
* Python 3.7 support dropped #84
* OAS30Validator no longer accept read and write properties. Use
OASReadValidator and OAS30WriteValidator instead. #85
* Formats raise error for other types fix #67
* Format validators ignore other types and pass (in accordance with the
specification)
-------------------------------------------------------------------
Tue Jun 13 12:13:08 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -18,24 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-openapi-schema-validator
Version: 0.4.4
Version: 0.6.0
Release: 0
Summary: OpenAPI schema validator for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/p1c2u/openapi-schema-validator
Source: https://github.com/p1c2u/openapi-schema-validator/archive/%{version}.tar.gz#/openapi-schema-validator-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-openapi_schema_validator = %{version}-%{release}
Requires: python-jsonschema >= 4.18
Requires: python-jsonschema-specifications >= 2023.5
Requires: python-rfc3339-validator
Requires: (python-jsonschema >= 4 with python-jsonschema < 4.18)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module jsonschema >= 4 with %python-jsonschema < 4.18}
BuildRequires: %{python_module jsonschema >= 4.18}
BuildRequires: %{python_module jsonschema-specifications >= 2023.5}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rfc3339-validator}
# /SECTION
@@ -48,7 +49,7 @@ is an extended subset of the JSON Schema Specification
Wright Draft 00.
%prep
%setup -q -n openapi-schema-validator-%{version}
%autosetup -p1 -n openapi-schema-validator-%{version}
sed -i 's:tool.pytest.ini_options:hide:' pyproject.toml
%build