From c5ee8f6e298626f1fbb44ee8cdf134b87bd8d3e4 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 7 Apr 2022 16:47:29 +0200 Subject: gnu: python-aws-xray-sdk: Update to 2.9.0. * gnu/packages/python-web.scm (python-aws-xray-sdk): Update to 2.9.0. [arguments]: Delete two more test files; disable two tests. --- gnu/packages/python-web.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f77d163833..84d0293ddd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2016, 2017 Danny Milosavljevic ;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge ;;; Copyright © 2016, 2017, 2019-2022 Marius Bakke -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus ;;; Copyright © 2017, 2021 Roel Janssen ;;; Copyright © 2016, 2017, 2020 Julien Lepiller ;;; Copyright © 2016, 2017 Nikita @@ -498,7 +498,7 @@ Model} (SAM) templates into AWS CloudFormation templates.") (define-public python-aws-xray-sdk (package (name "python-aws-xray-sdk") - (version "2.6.0") + (version "2.9.0") (home-page "https://github.com/aws/aws-xray-sdk-python") (source (origin (method git-fetch) @@ -506,7 +506,7 @@ Model} (SAM) templates into AWS CloudFormation templates.") (file-name (git-file-name name version)) (sha256 (base32 - "12fzr0ylpa1lx3xr1x2f1jx8iiyzcr6g57fb9jign0j0lxdlbzpv")))) + "04fyik5axbilj2g9fzhhw8ch8xfn7iai3j6myk7z4g26m1mrhxsi")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases @@ -520,6 +520,7 @@ Model} (SAM) templates into AWS CloudFormation templates.") "tests/ext/psycopg2/test_psycopg2.py" "tests/ext/pymysql/test_pymysql.py" "tests/ext/pynamodb/test_pynamodb.py" + "tests/ext/sqlalchemy_core/test_postgres.py" "tests/test_async_recorder.py" ;; FIXME: Why is this failing? @@ -528,6 +529,7 @@ Model} (SAM) templates into AWS CloudFormation templates.") ;; TODO: How to configure Django for these tests. "tests/ext/django/test_db.py" "tests/ext/django/test_middleware.py" + "tests/ext/django/test_settings.py" ;; These tests want to access httpbin.org. "tests/ext/requests/test_requests.py" @@ -537,7 +539,13 @@ Model} (SAM) templates into AWS CloudFormation templates.") (lambda _ ;; Allow "import tests.utils" to work as expected. (setenv "PYTHONPATH" (getcwd)) - (invoke "pytest" "-vv" "tests")))))) + (invoke "pytest" "-vv" "tests" + "-k" + ;; These tests fail because "fixture 'benchmark' + ;; not found" + (string-append + "not test_pkgutil_static_read" + " and not test_pkg_resources_static_read"))))))) (native-inputs (list ;; These are required for the test suite. python-bottle -- cgit v1.2.3