gnu: python-sentry-sdk: Disable tests not working with pytest-7.

* gnu/packages/python-xyz.scm (python-sentry-sdk)[arguments]: Update 'check'
  phase.
This commit is contained in:
Guillaume Le Vaillant 2023-05-13 14:44:38 +02:00
parent 6af7a94446
commit ed1e792039
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -59,7 +59,7 @@
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019-2023, Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
@ -11805,7 +11805,37 @@ (define-public python-sentry-sdk
" and not test_httplib_misuse"
;; Fails with IndexError.
" and not test_session_mode_defaults_to"
"_request_mode_in_wsgi_handler"))))))))
"_request_mode_in_wsgi_handler"
;; Tests below fail with pytest 7
" and not test_leaks"
" and not test_basic"
" and not test_keyboard_interrupt_is_captured"
" and not test_transaction_with_error"
" and not test_transaction_no_error"
" and not test_start_span_to_start_transaction"
" and not test_tracestate_computation"
" and not test_doesnt_add_new_tracestate_to_transaction_when_none_given"
" and not test_adds_tracestate_to_transaction_when_to_traceparent_called"
" and not test_adds_tracestate_to_transaction_when_getting_trace_context"
" and not test_tracestate_is_immutable_once_set"
" and not test_to_traceparent"
" and not test_to_tracestate"
" and not test_sentrytrace_extraction"
" and not test_tracestate_extraction"
" and not test_iter_headers"
" and not test_tracestate_reinflation"
" and not test_continue_from_headers"
" and not test_memory_usage"
" and not test_transactions_do_not_go_through_before_send"
" and not test_start_span_after_finish"
" and not test_span_trimming"
" and not test_transaction_naming"
" and not test_start_transaction"
" and not test_finds_transaction_on_scope"
" and not test_finds_transaction_when_descendent_span_is_on_scope"
" and not test_finds_orphan_span_on_scope"
" and not test_finds_non_orphan_span_on_scope"
" and not test_circular_references"))))))))
(native-inputs
(list python-django
python-executing