From 7ba01bb6c581650cdb7fd0f5bb61b54a8688d6ccd90c904471a54e9e5d509c85 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 7 Oct 2022 03:18:19 +0000 Subject: [PATCH] Accepting request 1008592 from home:bnavigator:branches:devel:languages:python - Fix dependencies. OBS-URL: https://build.opensuse.org/request/show/1008592 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openapi-core?expand=0&rev=25 --- python-openapi-core.changes | 5 +++++ python-openapi-core.spec | 33 ++++++++++++++------------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/python-openapi-core.changes b/python-openapi-core.changes index 690c4a5..b98a7b4 100644 --- a/python-openapi-core.changes +++ b/python-openapi-core.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 6 19:06:37 UTC 2022 - Benjamin Greiner + +- Fix dependencies. + ------------------------------------------------------------------- Wed Oct 5 05:34:35 UTC 2022 - Steve Kowalik diff --git a/python-openapi-core.spec b/python-openapi-core.spec index caeab6d..8562019 100644 --- a/python-openapi-core.spec +++ b/python-openapi-core.spec @@ -16,49 +16,43 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-openapi-core Version: 0.16.0 Release: 0 -Summary: Adds client-side and server-side support for the oas3 +Summary: Client- and server-side support for the OpenAPI Specification v3 License: BSD-3-Clause URL: https://github.com/p1c2u/openapi-core Source: https://github.com/p1c2u/openapi-core/archive/%{version}.tar.gz#/openapi-core-%{version}-gh.tar.gz -BuildRequires: %{python_module Django} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test +BuildRequires: %{python_module Django >= 3.0} BuildRequires: %{python_module Flask} BuildRequires: %{python_module WebOb} BuildRequires: %{python_module Werkzeug} -BuildRequires: %{python_module attrs} -BuildRequires: %{python_module dictpath} -BuildRequires: %{python_module falcon} +BuildRequires: %{python_module falcon >= 3.0} BuildRequires: %{python_module isodate} BuildRequires: %{python_module jsonschema-spec >= 0.1.1} -BuildRequires: %{python_module lazy-object-proxy} -BuildRequires: %{python_module more-itertools >= 5.0.0} +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 pathable >= 0.4.0} -BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module responses} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros +# /SECTION Requires: python-Werkzeug -Requires: python-attrs -Requires: python-dictpath Requires: python-isodate Requires: python-jsonschema-spec >= 0.1.1 -Requires: python-lazy-object-proxy -Requires: python-more-itertools >= 5.0.0 +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-pathable >= 0.4.0 +Requires: python-typing-extensions >= 4.3.0 BuildArch: noarch %python_subpackages @@ -69,6 +63,7 @@ v3.0.0. %prep %setup -q -n openapi-core-%{version} +sed -i '/--cov/d' pyproject.toml %build %pyproject_wheel