Sync from SUSE:SLFO:Main python-openapi-spec-validator revision ec889299182b633fe4403e3fe2e19261

This commit is contained in:
Adrian Schröter 2024-12-13 11:50:56 +01:00
parent 968706bc65
commit bab5712ea5
4 changed files with 27 additions and 7 deletions

BIN
openapi-spec-validator-0.6.0-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
openapi-spec-validator-0.7.1-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Dec 17 02:23:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Sat Jul 29 21:54:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
@ -55,7 +75,7 @@ Wed Oct 5 05:23:42 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
* detect spec schema version #167
* static types and Mypy static type check #168
* tests mark network #169
* schemas and validators lazy loading proxy #170
* schemas and validators lazy loading proxy #170
- Drop patch openapi-spec-validator-skip-urls.patch, fixed by upstream
by markers.

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}