guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 017b8c1b8e8b8c12caf25c61fc16f93bc8601d3f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jul 18 14:28:26 2025 +0100
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
---
gnu/packages/python-web.scm | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fe7cf117df..10118a2f34 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1963,7 +1963,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.
@@ -1981,11 +1984,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
@@ -1994,6 +1993,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
@@ -2001,20 +2001,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