Hi,
Sharlatan Hellseher <[email protected]> writes: > Subject: [PATCH 1/3] gnu: python-aws-xray-sdk and python-jose: fix build > --8<---------------cut here---------------end--------------->8--- > May you split this and make it one change per one package as separate > patch please? I split it up (attached). Thank you for looking into it! Best wishes, Arne
From 12ed0e457614fadea9668c32c9333673a3f2c93c Mon Sep 17 00:00:00 2001 Message-ID: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> From: Arne Babenhauserheide <[email protected]> Date: Sat, 25 Jan 2025 15:45:41 +0100 Subject: [PATCH 1/5] gnu: python-jose: ignore test failing due to spurious linebreaks * gnu/packages/python-web.scm (python-jose): ignore tests/algorithms/test_EC_compat.py (fails due to spurious linebreaks in the output) Change-Id: I09f3e65eddf4a61e5c70a53f7cde4f2e0a7b7fbb --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4e2738cb634..441eb69dd7a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1580,8 +1580,8 @@ (define-public python-jose (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (invoke "pytest" "-vv") + (if tests? ;; tests fail due to spurious linebreaks in the output + (invoke "pytest" "-vv" "--ignore=tests/algorithms/test_EC_compat.py") (format #t "test suite not run~%")) #t))))) (native-inputs base-commit: 0a26cd43f92f1a9bcb07750855e18693e8d0adf3 -- 2.47.1
From 7690f6e1feba93d027078d08dd057f705c8f6089 Mon Sep 17 00:00:00 2001 Message-ID: <7690f6e1feba93d027078d08dd057f705c8f6089.1737816475.git.arne_...@web.de> In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> From: Arne Babenhauserheide <[email protected]> Date: Sat, 25 Jan 2025 15:46:34 +0100 Subject: [PATCH 2/5] gnu: python-aws-xray-sdk: fix build * gnu/packages/python-web.scm (python-aws-xray-sdk): update python-sqlalchemy dependency to v2 * gnu/packages/python-web.scm (python-aws-xray-sdk): disable broken tests Change-Id: I37e474f5f9f49f7eb1ac5092401b507422175e97 --- gnu/packages/python-web.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 441eb69dd7a..f62e5d20171 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1027,9 +1027,14 @@ (define-public python-aws-xray-sdk "--ignore=tests/ext/pymysql/test_pymysql.py" "--ignore=tests/ext/pynamodb/test_pynamodb.py" "--ignore=tests/ext/sqlalchemy_core/test_postgres.py" + ;; Test uses BaseQuery that is missing from flask_sqlalchemy + "--ignore=tests/ext/flask_sqlalchemy/test_query.py" + "--ignore=tests/ext/sqlalchemy/test_query.py" "--ignore=tests/test_async_recorder.py" ;; FIXME: Why is this failing? "--ignore=tests/test_patcher.py" + ;; FIXME: Why is this failing? + "--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" @@ -1053,7 +1058,7 @@ (define-public python-aws-xray-sdk python-pytest-asyncio python-pytest-benchmark python-requests - python-sqlalchemy + python-sqlalchemy-2 python-webtest python-setuptools python-wheel)) -- 2.47.1
From aabe2496622a4067edb5413bb7b4d8ddf4f85b21 Mon Sep 17 00:00:00 2001 Message-ID: <aabe2496622a4067edb5413bb7b4d8ddf4f85b21.1737816475.git.arne_...@web.de> In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> From: Arne Babenhauserheide <[email protected]> Date: Tue, 21 Jan 2025 00:43:48 +0100 Subject: [PATCH 3/5] gnu: python-kombu: fix build * gnu/packages/python-xyz.scm (python-kombu): add native-inputs python-setuptools and python-wheel Change-Id: I127a4d59fec6db207649df14d53efb56804a94e8 --- gnu/packages/python-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 728ce91381e..be5e040cd3d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20618,7 +20618,9 @@ (define-public python-kombu python-pyro4 python-pytest python-pytest-sugar - python-tzdata)) + python-tzdata + python-setuptools + python-wheel)) (propagated-inputs (list python-amqp python-typing-extensions python-vine)) (home-page "https://kombu.readthedocs.io") -- 2.47.1
From 95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8 Mon Sep 17 00:00:00 2001 Message-ID: <95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8.1737816475.git.arne_...@web.de> In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> From: Arne Babenhauserheide <[email protected]> Date: Tue, 21 Jan 2025 00:50:40 +0100 Subject: [PATCH 4/5] gnu: python-moto: fix build * gnu/packages/python-xyz.scm (python-moto): add native-input python-wheel Change-Id: I58a5683c00a3700824bd1dc5ef6d6361d0cfad2d --- gnu/packages/python-xyz.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index be5e040cd3d..289bae55d35 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19792,6 +19792,7 @@ (define-public python-moto python-responses python-sshpubkeys python-werkzeug + python-wheel python-xmltodict)) (home-page "https://github.com/spulec/moto") (synopsis "Mock out the boto library") -- 2.47.1
From 855f0de8c611fc9504d2fae9d3b8dd5f2cae0712 Mon Sep 17 00:00:00 2001 Message-ID: <855f0de8c611fc9504d2fae9d3b8dd5f2cae0712.1737816475.git.arne_...@web.de> In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_...@web.de> From: Arne Babenhauserheide <[email protected]> Date: Tue, 21 Jan 2025 11:31:22 +0100 Subject: [PATCH 5/5] gnu: python-moto ignore broken tests * gnu/packages/python-xyz.scm (python-moto): ignore files with failing tests Change-Id: I8aff1c72f48c40b18ecb0adfe4974109460c7096 --- gnu/packages/python-xyz.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 289bae55d35..b0ea759f1f2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19715,6 +19715,12 @@ (define-public python-moto (list #:test-flags '(list "-m" "not network and not requires_docker" + ;; FIXME: Unknown failure. + "--ignore" "tests/test_acmpca/test_acmpca.py" + "--ignore" "tests/test_cloudformation/test_validate.py" + "--ignore" "tests/test_dynamodb/test_dynamodb_statements.py" + "--ignore" "tests/test_moto_api/recorder/test_recorder.py" + "--ignore" "tests/test_s3/test_s3.py" "-k" (string-append ;; XXX: This test is timing sensitive and may -- 2.47.1
-- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de
signature.asc
Description: PGP signature
