~ruther/guix-local

2d4f7ba84e297f634eeb058c53e4333646768b6d — Sharlatan Hellseher 8 months ago 47c707f
gnu: python-aws-xray-sdk: Fix build.

* gnu/packages/python-web.scm (python-aws-xray-sdk):
[arguments] <test-flags>: Rework skipped tests.
[native-inputs]: Remove python-pytest-aiohttp, python-requests,
python-wheel, and python-pytest-asyncio; add python-aiohttp,
python-pytest-asyncio-0.26.
[propagated-inputs]: Remove python-aiohttp, python-future, and
python-urllib3; add python-requests.

Change-Id: Ib0a7166cc507d6ebac424780b2760e17c7dca954
1 files changed, 10 insertions(+), 15 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +10 -15
@@ 1964,7 1964,10 @@ Model} (SAM) templates into AWS CloudFormation templates.")
     (list
      #:test-flags
      '(list ;; Tries to connect to external network resources
             "--ignore=tests/ext/aiohttp/test_client.py"
             "--ignore=tests/ext/httplib/test_httplib.py"
             "--ignore=tests/ext/httpx"
             "--ignore=tests/ext/requests/test_requests.py"
             ;; TODO: How to configure Django for these tests?
             "--ignore=tests/ext/django"
             ;; These tests require packages not yet in Guix.


@@ 1982,11 1985,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
             "--ignore=tests/ext/flask_sqlalchemy/test_query.py"
             ;; FIXME: Why is this failing?
             "--ignore=tests/test_patcher.py"
             "--ignore=tests/test_lambda_context.py"
             ;; These tests want to access httpbin.org.
             "--ignore=tests/ext/requests/test_requests.py"
             "--ignore=tests/ext/httplib/test_httplib.py"
             "--ignore=tests/ext/aiohttp/test_client.py")
             "--ignore=tests/test_lambda_context.py")
      #:phases
      '(modify-phases %standard-phases
         (add-before 'check 'pre-check


@@ 1995,6 1994,7 @@ Model} (SAM) templates into AWS CloudFormation templates.")
             (setenv "PYTHONPATH" (getcwd)))))))
    (native-inputs
     (list ;; These are required for the test suite.
           python-aiohttp
           python-bottle
           python-flask
           python-flask-sqlalchemy


@@ 2002,20 2002,15 @@ Model} (SAM) templates into AWS CloudFormation templates.")
           python-mock
           python-pymysql
           python-pytest
           python-pytest-aiohttp
           python-pytest-asyncio
           python-pytest-asyncio-0.26
           python-pytest-benchmark
           python-requests
           python-sqlalchemy
           python-webtest
           python-setuptools
           python-wheel))
           python-sqlalchemy
           python-webtest))
    (propagated-inputs
     (list python-aiohttp
           python-botocore
           python-future
     (list python-botocore
           python-jsonpickle
           python-urllib3
           python-requests
           python-wrapt))
    (synopsis "Profile applications on AWS X-Ray")
    (description