From a8a3e16ea7d3741a4ef616403bd3b1f21deb0d69fb33ce79807e69afc49bc6b4 Mon Sep 17 00:00:00 2001 From: David Anes Date: Tue, 21 Mar 2023 08:57:10 +0000 Subject: [PATCH] Accepting request 1073490 from home:david.anes:branches:openSUSE:Factory:Staging:L - Ignore extra tests to allow building with ringdisabled. OBS-URL: https://build.opensuse.org/request/show/1073490 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=33 --- python-fastapi.changes | 2 ++ python-fastapi.spec | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/python-fastapi.changes b/python-fastapi.changes index af8ac8c..fda5acb 100644 --- a/python-fastapi.changes +++ b/python-fastapi.changes @@ -1,6 +1,8 @@ ------------------------------------------------------------------- Mon Mar 20 11:52:11 UTC 2023 - David Anes +- Ignore extra tests to allow building with ringdisabled. + - Update to 0.95.0: * Highlights - This release adds support for dependencies and parameters diff --git a/python-fastapi.spec b/python-fastapi.spec index 6a8b631..7b062a5 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -82,9 +82,13 @@ ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_response_model/test_ ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005_py39.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005_py310.py" +ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005_an.py" +ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005_an_py39.py" +ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_security/test_tutorial005_an_py310.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_sql_databases_peewee" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_response_model/test_tutorial003_01.py" ignorefiles="$ignorefiles --ignore tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py" + donttest="$donttest or test_orjson_response_class" donttest="$donttest or (test_tutorial001 and test_get_custom_response)" %endif