From 407f2f9f527396ef3189eb47ff56d1301a3a3c62cbfa000a7fa4d9190096d18a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 5 Sep 2022 06:55:43 +0000 Subject: [PATCH] Accepting request 1001166 from home:jayvdb:branches:devel:languages:python - Update to v0.3.3 OBS-URL: https://build.opensuse.org/request/show/1001166 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-schema-validator?expand=0&rev=5 --- 0.2.3.tar.gz | 3 --- 0.3.3.tar.gz | 3 +++ python-openapi-schema-validator.changes | 20 ++++++++++++++++++++ python-openapi-schema-validator.spec | 7 +++---- 4 files changed, 26 insertions(+), 7 deletions(-) delete mode 100644 0.2.3.tar.gz create mode 100644 0.3.3.tar.gz diff --git a/0.2.3.tar.gz b/0.2.3.tar.gz deleted file mode 100644 index fa23cce..0000000 --- a/0.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e4a2a53d8302127aefbee02c8784b3e648f8a5dd71f757aa98c83dc1a09a705 -size 25501 diff --git a/0.3.3.tar.gz b/0.3.3.tar.gz new file mode 100644 index 0000000..1990664 --- /dev/null +++ b/0.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1ebe229341a8727ccc4ae282de63401869736f2f58cb66c841a27a48b92cff2 +size 16389 diff --git a/python-openapi-schema-validator.changes b/python-openapi-schema-validator.changes index 3c31d0e..80517f8 100644 --- a/python-openapi-schema-validator.changes +++ b/python-openapi-schema-validator.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Sep 5 03:08:04 UTC 2022 - John Vandenberg + +- Update to v0.3.3 + * Static types and Mypy static type check +- from v0.3.2 + * type validator error msg formatting fix +- from v0.3.1 + * OpenAPI 3.1 validator's JSONSchema subclassing deprecation fix + * OpenAPI 3.0 validator's JSONSchema subclassing deprecation workaround +- from v0.3.0 + * OpenAPI 3.1 validator #18 + * drop python 3.6 support #18 + * make jsonschema4 compatible (DeprecationWarning fix) reintroduced + * 0.2.1 changes + + Revert "make jsonschema4 compatible (DeprecationWarning fix)" + + drop python 3.6 support part 2 + + Limit jsonschema dependency + * Validate oneOf, anyOf and allOf with discriminator OAS30 and OAS31 + ------------------------------------------------------------------- Mon Mar 28 10:45:14 UTC 2022 - pgajdos@suse.com diff --git a/python-openapi-schema-validator.spec b/python-openapi-schema-validator.spec index 66e97c4..2330e00 100644 --- a/python-openapi-schema-validator.spec +++ b/python-openapi-schema-validator.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-openapi-schema-validator -Version: 0.2.3 +Version: 0.3.3 Release: 0 Summary: OpenAPI schema validator for Python License: BSD-3-Clause @@ -64,12 +64,11 @@ Wright Draft 00. %check sed -i 's:tool.pytest.ini_options:hide:' pyproject.toml # no rfc3339-validator installed -sed -i 's:\(DATETIME_HAS_RFC3339_VALIDATOR.*\)True:\1False:' tests/integration/test_validators.py -%pytest +%pytest -k 'not test_string_format_datetime_rfc3339_validator' %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/*openapi_schema_validator*/ %changelog