From e7332c16ab9fd02429753849f1897057ecc70789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 30 Aug 2023 23:11:42 +0200 Subject: [PATCH] CI: Don't treat DeprecationWarnings in setuptools_scm's %check as errors --- tests/python-setuptools_scm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python-setuptools_scm.spec b/tests/python-setuptools_scm.spec index 4a3b3ed..394d732 100644 --- a/tests/python-setuptools_scm.spec +++ b/tests/python-setuptools_scm.spec @@ -58,7 +58,7 @@ Summary: %{summary} %check # This tox should run all the toxenvs specified via -e in %%pyproject_buildrequires # We only run some of the tests (running all of them requires network connection and is slow) -%tox -- -- -k test_version | tee toxlog +%tox -- -- -k test_version -Wdefault | tee toxlog # Internal check for our macros: Assert both toxenvs were executed. grep -E 'py%{python3_version_nodots}-test: (OK|commands succeeded)' toxlog