17
0

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
This commit is contained in:
2022-09-05 06:55:43 +00:00
committed by Git OBS Bridge
parent 72c5421418
commit 407f2f9f52
4 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e4a2a53d8302127aefbee02c8784b3e648f8a5dd71f757aa98c83dc1a09a705
size 25501

3
0.3.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1ebe229341a8727ccc4ae282de63401869736f2f58cb66c841a27a48b92cff2
size 16389

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Sep 5 03:08:04 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- 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

View File

@@ -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