summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorLeo Nikkilä <hello@lnikki.la>2025-05-19 17:52:42 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 17:11:45 +0100
commit127f232d1dce05bb843d28bf9501fd2b7c2e64de (patch)
tree6ce859ae212c3ab9cb423bc7ba998103cf5e427b /gnu/packages/python-web.scm
parentbd7139de983258f1b550668e90935f0bab06c6de (diff)
gnu: awscli-2: Skip failing tests.
Skips two failing tests with the awscli-2 package, which have been failing the build recently. The first one is related to the version of prompt-toolkit that's being used as an input. Upstream doesn't support some of the later versions, however this doesn't seem to cause any visible problems right now apart from the test failing, at least on aarch64. The other issue is due to `os.environ["PATH"]` throwing a KeyError once in a while, seems like this test is being affected by some other test since running it in isolation works for me. See <https://ci.guix.gnu.org/build/10641072/log> for an example. * gnu/packages/python-web.scm (awscli-2)[arguments]<#:test-flags>: Skip failing prompt-toolkit tests, likewise for emrutils. Change-Id: Ia36aebccb2bd2f97d9c32a1a35a5fb5139c23330 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 56f697bbd2..a7dc180d7e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5569,12 +5569,19 @@ Services (AWS) API.")
(arguments
(list
#:test-flags
- ;; The resource leak tests use ps to check for memory consumption.
- '(list "--ignore=functional/botocore/leak/test_resource_leaks.py"
+ '(list ;; This version of prompt-toolkit has issues with awscli-2, see
+ ;; <https://github.com/aws/aws-cli/issues/9453#issuecomment-2822186530>.
+ "--ignore=functional/autoprompt/test_prompttoolkit.py"
+ ;; The resource leak tests use ps to check for memory consumption.
+ "--ignore=functional/botocore/leak/test_resource_leaks.py"
;; These tests complain about unavailable TLS certs.
"--ignore=functional/ec2instanceconnect/test_opentunnel.py"
;; These seem to require Internet access.
- "--ignore=unit/botocore/test_awsrequest.py")
+ "--ignore=unit/botocore/test_awsrequest.py"
+ ;; Flaky, something to do with PATH disappearing from os.environ?
+ ;; Passes when run on its own, so maybe something else is
+ ;; modifying this during the test run.
+ "--ignore=unit/customizations/emr/test_emr_utils.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'ignore-deprecations