From 24dba6f4422db81f953f435c968695e6c9040df6f01ed0b60f9da6cc09807d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 16 Apr 2025 01:33:13 +0200 Subject: [PATCH] Sync from SUSE:SLFO:1.1 python-openapi-spec-validator revision 61f3f6b18bb30e50d734080462b07f1c --- openapi-spec-validator-0.6.0-gh.tar.gz | 3 +++ openapi-spec-validator-0.7.1-gh.tar.gz | 3 --- python-openapi-spec-validator.changes | 22 +--------------------- python-openapi-spec-validator.spec | 6 +++--- 4 files changed, 7 insertions(+), 27 deletions(-) create mode 100644 openapi-spec-validator-0.6.0-gh.tar.gz delete mode 100644 openapi-spec-validator-0.7.1-gh.tar.gz diff --git a/openapi-spec-validator-0.6.0-gh.tar.gz b/openapi-spec-validator-0.6.0-gh.tar.gz new file mode 100644 index 0000000..755803a --- /dev/null +++ b/openapi-spec-validator-0.6.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88fe92b3533a76a074c3471d45f918c76fd9d33693def9fa7397fce484515caa +size 79469 diff --git a/openapi-spec-validator-0.7.1-gh.tar.gz b/openapi-spec-validator-0.7.1-gh.tar.gz deleted file mode 100644 index f98b037..0000000 --- a/openapi-spec-validator-0.7.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d7201cbef1e584f7323c96dc3e45d1a8d1f387a5b0ed808948e094fee328ee2 -size 84887 diff --git a/python-openapi-spec-validator.changes b/python-openapi-spec-validator.changes index 1e4e655..8705d98 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,23 +1,3 @@ -------------------------------------------------------------------- -Sun Dec 17 02:23:35 UTC 2023 - Dirk Müller - -- 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 @@ -75,7 +55,7 @@ Wed Oct 5 05:23:42 UTC 2022 - Steve Kowalik * 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. diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index 6426db8..e306ab5 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-openapi-spec-validator -Version: 0.7.1 +Version: 0.6.0 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-path >= 0.3.1 with python-jsonschema-path < 0.4) +Requires: (python-jsonschema-spec >= 0.2.3 with python-jsonschema-spec < 0.3) 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-path >= 0.3.1 with %python-jsonschema-path < 0.4} +BuildRequires: %{python_module jsonschema-spec >= 0.2.3 with %python-jsonschema-spec < 0.3} 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}