summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-18 14:28:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:09 +0100
commit2d4f7ba84e297f634eeb058c53e4333646768b6d (patch)
tree2772d98efc3053559374eeb93ed178f3ff46c7cb /gnu/packages/python-web.scm
parent47c707f479d8378bdda79d5f9af79d986ee9d020 (diff)
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
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 10 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bd09867bb8..8c23726a5f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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