17
0

Accepting request 1094230 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1094230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openapi-core?expand=0&rev=15
This commit is contained in:
2023-06-21 20:39:20 +00:00
committed by Git OBS Bridge
4 changed files with 39 additions and 18 deletions

View File

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

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jun 20 17:32:29 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Revert to 0.16.x branch
* python-jupyterlab-server-openapi (jupyterlab-server[openapi])
is the only consumer in the distribution and requires
openapi-core~=0.16.1
* See gh#jupyterlab/jupyterlab_server#400
- Changelog from 0.16.1 to 0.16.6:
* openapi-schema-validator 0.5.2 tests compatibility fix #527
* validators public api expose #455
* allow openapi-schema-validator 0.4 #458
* better unmarshaller finders with refactor #447
* werkzeug flask root path fix #449
* additionalProperties without schema should allow null. #444
* Add NullUnmarshaller #432
* Multi type unmarshaller #433
* Unmarshaller format refactor #434
-------------------------------------------------------------------
Tue Jun 20 00:27:37 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -17,12 +17,12 @@
Name: python-openapi-core
Version: 0.17.2
Version: 0.16.6
Release: 0
Summary: Client- and server-side support for the OpenAPI Specification v3
License: BSD-3-Clause
URL: https://github.com/p1c2u/openapi-core
Source: https://files.pythonhosted.org/packages/source/o/openapi-core/openapi_core-%{version}.tar.gz
Source: https://github.com/p1c2u/openapi-core/archive/%{version}.tar.gz#/openapi-core-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
@@ -33,27 +33,26 @@ BuildRequires: %{python_module Django >= 3.0}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module WebOb}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module aiohttp >= 3.0}
BuildRequires: %{python_module asgiref >= 3.6}
BuildRequires: %{python_module falcon >= 3.0}
BuildRequires: %{python_module isodate}
BuildRequires: %{python_module jsonschema-spec >= 0.1.6}
BuildRequires: %{python_module jsonschema-spec >= 0.1.1}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module openapi-schema-validator >= 0.3.0}
BuildRequires: %{python_module openapi-spec-validator >= 0.5.0}
BuildRequires: %{python_module parse >= 1.14.0}
BuildRequires: %{python_module pytest-aiohttp}
BuildRequires: %{python_module openapi-schema-validator >= 0.3.0 with %python-openapi-schema-validator < 0.5}
BuildRequires: %{python_module openapi-spec-validator >= 0.5.0 with %python-openapi-spec-validator < 0.6}
BuildRequires: %{python_module parse}
BuildRequires: %{python_module pathable >= 0.4.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses}
# /SECTION
Requires: python-Werkzeug
Requires: python-asgiref >= 3.6
Requires: python-isodate
Requires: python-jsonschema-spec >= 0.1.6
Requires: python-jsonschema-spec >= 0.1.1
Requires: python-more-itertools
Requires: python-openapi-schema-validator >= 0.3.0
Requires: python-openapi-spec-validator >= 0.5.0
Requires: python-parse >= 1.14.0
Requires: python-parse
Requires: python-pathable >= 0.4.0
Requires: python-typing-extensions >= 4.3.0
Requires: (python-openapi-schema-validator >= 0.3.0 with python-openapi-schema-validator < 0.5)
Requires: (python-openapi-spec-validator >= 0.5.0 with python-openapi-spec-validator < 0.6)
BuildArch: noarch
%python_subpackages
@@ -63,8 +62,11 @@ and server-side support for the OpenAPI Specification
v3.0.0.
%prep
%setup -q -n openapi_core-%{version}
%setup -q -n openapi-core-%{version}
sed -i '/--cov/d' pyproject.toml
for f in openapi_core/contrib/falcon/views.py; do
[ -f $f -a ! -s $f ] && echo "# empty module" > $f || exit 1
done
%build
%pyproject_wheel