diff --git a/openapi-schema-validator-0.4.4-gh.tar.gz b/openapi-schema-validator-0.4.4-gh.tar.gz deleted file mode 100644 index bbcef20..0000000 --- a/openapi-schema-validator-0.4.4-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2aad8e8ed1a9313b82f2fcc27084a1e630eeed17747461c1e393e74d0febea0b -size 45207 diff --git a/openapi-schema-validator-0.6.0-gh.tar.gz b/openapi-schema-validator-0.6.0-gh.tar.gz new file mode 100644 index 0000000..43fe329 --- /dev/null +++ b/openapi-schema-validator-0.6.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a005a91c6d2fc1769632d1583d9e4e82d36144e4ec745c794ca2ec3a4db817d +size 52700 diff --git a/python-openapi-schema-validator.changes b/python-openapi-schema-validator.changes index bc16660..aef8e80 100644 --- a/python-openapi-schema-validator.changes +++ b/python-openapi-schema-validator.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jul 25 06:06:43 UTC 2023 - Steve Kowalik + +- 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 diff --git a/python-openapi-schema-validator.spec b/python-openapi-schema-validator.spec index 094b91b..3039917 100644 --- a/python-openapi-schema-validator.spec +++ b/python-openapi-schema-validator.spec @@ -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