From 06d878cdee3b38b1e180c23e88034b39241531082a9503539a9b9f839647eb9f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 17 Dec 2023 02:25:26 +0000 Subject: [PATCH] - 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 --- 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, 27 insertions(+), 7 deletions(-) delete mode 100644 openapi-spec-validator-0.6.0-gh.tar.gz create 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 deleted file mode 100644 index 755803a..0000000 --- a/openapi-spec-validator-0.6.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -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 new file mode 100644 index 0000000..f98b037 --- /dev/null +++ b/openapi-spec-validator-0.7.1-gh.tar.gz @@ -0,0 +1,3 @@ +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 8705d98..1e4e655 100644 --- a/python-openapi-spec-validator.changes +++ b/python-openapi-spec-validator.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +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 @@ -55,7 +75,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 e306ab5..6426db8 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.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}