forked from pool/python-openapi-schema-validator
Accepting request 965354 from home:pgajdos:python
- version update to 0.2.3 * readOnly and writeOnly on jsonschema4 fix #41 * Validate oneOf, anyOf and allOf with discriminator (cherry-pick from 0.3.x) #30 * Revert "make jsonschema4 compatible (DeprecationWarning fix)" #34 * Drop python 3.6 support (cherry-pick from 0.3.x and part 2) #35 * Limit jsonschema dependency #36 * switch to poetry #27 * drop python 2.7 and 3.5 support #27 #28 * make jsonschema4 compatible (DeprecationWarning fix) #25 * Fix required in composition #16 * Prevent Schema Mutation #26 * Stop assigning a version to our Validator (#12) * Switch to a MIT-licensed dependency (#4) * Pypi license fix (#10) * jsonschema dependency fix * Permit uppercase characters in UUID (#8) - python-mock is not required for build OBS-URL: https://build.opensuse.org/request/show/965354 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-schema-validator?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d31ac768e3c35ec81af247b57483fa3c91eeeca6d7b59655310145fb853fb8fe
|
||||
size 8156
|
||||
3
0.2.3.tar.gz
Normal file
3
0.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e4a2a53d8302127aefbee02c8784b3e648f8a5dd71f757aa98c83dc1a09a705
|
||||
size 25501
|
||||
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 28 10:45:14 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.2.3
|
||||
* readOnly and writeOnly on jsonschema4 fix #41
|
||||
* Validate oneOf, anyOf and allOf with discriminator (cherry-pick from 0.3.x) #30
|
||||
* Revert "make jsonschema4 compatible (DeprecationWarning fix)" #34
|
||||
* Drop python 3.6 support (cherry-pick from 0.3.x and part 2) #35
|
||||
* Limit jsonschema dependency #36
|
||||
* switch to poetry #27
|
||||
* drop python 2.7 and 3.5 support #27 #28
|
||||
* make jsonschema4 compatible (DeprecationWarning fix) #25
|
||||
* Fix required in composition #16
|
||||
* Prevent Schema Mutation #26
|
||||
* Stop assigning a version to our Validator (#12)
|
||||
* Switch to a MIT-licensed dependency (#4)
|
||||
* Pypi license fix (#10)
|
||||
* jsonschema dependency fix
|
||||
* Permit uppercase characters in UUID (#8)
|
||||
- python-mock is not required for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 06:52:02 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-openapi-schema-validator
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-openapi-schema-validator
|
||||
Version: 0.1.1
|
||||
Version: 0.2.3
|
||||
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
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -37,7 +39,6 @@ BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module isodate}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module strict-rfc3339}
|
||||
@@ -54,14 +55,16 @@ Wright Draft 00.
|
||||
%setup -q -n openapi-schema-validator-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
sed -i 's:\(addopts = -sv\).*:\1:' setup.cfg
|
||||
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
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user