15
0

- update to 0.7.1:

* Move to jsonschema-path package #292
  * Validator accepts any schema (schema dictionary or
    SchemaPath) #293
  * `validate` and `validate_url` shortcuts #294
  * `validate_spec` shortcut in deprecated. Use`validate`
    instead.
  * `validate_spec_url` shortcut is deprecated. Use
    `validate_url` instead.
- update to 0.7.0:
  * Allow validate multiple files (also with pre-commit hook)
  * Validators and keywords refactor #286
  * Python 3.12 support #290
  * Bump docker image python from 3.11.5-alpine to 3.12.0-alpine
  * `openapi_*_spec_validator` objects are deprecated. Use
    `*SpecValidator` classes instead.
  * schemas and validators lazy loading proxy #170

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-spec-validator?expand=0&rev=30
This commit is contained in:
2023-12-17 02:25:26 +00:00
committed by Git OBS Bridge
parent 582d73cdda
commit 06d878cdee
4 changed files with 27 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-openapi-spec-validator
Version: 0.6.0
Version: 0.7.1
Release: 0
Summary: Python module for validating OpenAPI Specs against Swagger and OAS3
License: Apache-2.0
@@ -31,7 +31,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-openapi_spec_validator
Requires: (python-jsonschema >= 4.18 with python-jsonschema < 5)
Requires: (python-jsonschema-spec >= 0.2.3 with python-jsonschema-spec < 0.3)
Requires: (python-jsonschema-path >= 0.3.1 with python-jsonschema-path < 0.4)
Requires: (python-lazy-object-proxy >= 1.7.1 with python-lazy-object-proxy < 2)
Requires: (python-openapi-schema-validator >= 0.6.0 with python-openapi-schema-validator < 0.7)
%if %{python_version_nodots} < 39
@@ -43,7 +43,7 @@ BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module importlib-resources >= 5.8.0 if %python-base < 3.9}
BuildRequires: %{python_module jsonschema >= 4.18 with %python-jsonschema < 5}
BuildRequires: %{python_module jsonschema-spec >= 0.2.3 with %python-jsonschema-spec < 0.3}
BuildRequires: %{python_module jsonschema-path >= 0.3.1 with %python-jsonschema-path < 0.4}
BuildRequires: %{python_module lazy-object-proxy >= 1.7.1 with %python-lazy-object-proxy < 2}
BuildRequires: %{python_module openapi-schema-validator >= 0.6.0 with %python-openapi-schema-validator < 0.7}
BuildRequires: %{python_module pytest}