From 5c040315b4dd59a5ef1f9205494e904d7a28b521 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Thu, 22 Aug 2024 08:18:26 -0500 Subject: [PATCH] Avoid jsonschema dep by skipping tests Resolves: RHEL-40663 Signed-off-by: Major Hayden --- awscli2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awscli2.spec b/awscli2.spec index aa7f2f9..9d7a1ca 100644 --- a/awscli2.spec +++ b/awscli2.spec @@ -111,7 +111,10 @@ sed -i '/self.driver.start(env=env)/i \ \ \ \ \ \ \ \ env["PYTHONPATH"] = "%{bui export TESTS_REMOVE_REPO_ROOT_FROM_PATH=1 TZ=UTC export OPENSSL_ENABLE_SHA1_SIGNATURES=yes -%pytest --verbose %{!?rhel:--numprocesses=auto --dist=loadfile --maxprocesses=4} tests/unit tests/functional +%pytest --verbose %{!?rhel:--numprocesses=auto --dist=loadfile --maxprocesses=4} \ + tests/unit tests/functional \ + --ignore tests/functional/autocomplete/test_completion_files.py \ + --ignore tests/functional/botocore/test_waiter_config.py %files -f %{pyproject_files}