GNU bug report logs - #75713
[PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build

Previous Next

Package: guix;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Tue, 21 Jan 2025 00:03:02 UTC

Severity: normal

Tags: patch

Done: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75713 in the body.
You can then email your comments to 75713 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Tue, 21 Jan 2025 00:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 21 Jan 2025 00:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Tue, 21 Jan 2025 01:02:07 +0100
[Message part 1 (text/plain, inline)]
Attached are patches that get them to build.

[0001-gnu-python-aws-xray-sdk-and-python-jose-fix-build.patch (text/x-patch, inline)]
From 9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e Mon Sep 17 00:00:00 2001
Message-ID: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Tue, 21 Jan 2025 00:38:15 +0100
Subject: [PATCH 1/3] gnu: python-aws-xray-sdk and python-jose: 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
* gnu/packages/python-web.scm (python-jose): ignore
tests/algorithms/test_EC_compat.py (fails due to spurious linebreaks in the output)
---
 gnu/packages/python-web.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4e2738cb634..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))
@@ -1580,8 +1585,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

[0002-gnu-python-kombu-fix-build.patch (text/x-patch, inline)]
From 79aa5959bd41636a874ddc39665f1eb317f318b6 Mon Sep 17 00:00:00 2001
Message-ID: <79aa5959bd41636a874ddc39665f1eb317f318b6.1737417690.git.arne_bab <at> web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Tue, 21 Jan 2025 00:43:48 +0100
Subject: [PATCH 2/3] 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

[0003-gnu-python-moto-fix-build.patch (text/x-patch, inline)]
From c07ecc58bd8df173c110ccb85bf1a520d585436e Mon Sep 17 00:00:00 2001
Message-ID: <c07ecc58bd8df173c110ccb85bf1a520d585436e.1737417690.git.arne_bab <at> web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Tue, 21 Jan 2025 00:50:40 +0100
Subject: [PATCH 3/3] 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

[Message part 5 (text/plain, inline)]
Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Tue, 21 Jan 2025 00:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: 75713 <at> debbugs.gnu.org
Subject: Re: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Tue, 21 Jan 2025 01:47:04 +0100
[Message part 1 (text/plain, inline)]
Correction: for python-moto this does not suffice:

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_acmpca/test_acmpca.py::test_issue_certificate - ValueError: Attribute's length must be >= 1 and <= 64, but it was 0
FAILED tests/test_acmpca/test_acmpca.py::test_get_certificate - ValueError: Attribute's length must be >= 1 and <= 64, but it was 0
FAILED tests/test_cloudformation/test_validate.py::test_boto3_json_validate_successful - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_cloudformation/test_validate.py::test_boto3_json_with_tabs_validate_successful - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_cloudformation/test_validate.py::test_boto3_json_invalid_missing_resource - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_cloudformation/test_validate.py::test_boto3_yaml_validate_successful - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_cloudformation/test_validate.py::test_boto3_yaml_validate_template_url_successful - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_cloudformation/test_validate.py::test_boto3_yaml_invalid_missing_resource - AttributeError: module 'cfnlint.core' has no attribute 'configure_logging'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_select_star - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_select_unique - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_with_parameter - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_with_no_results - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestExecuteTransaction::test_execute_transaction - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestBatchExecuteStatement::test_execute_transaction - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_dynamodb/test_dynamodb_statements.py::TestBatchExecuteStatement::test_without_primary_key_in_where_clause - AttributeError: 'str' object has no attribute 'items'
FAILED tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes read, 4 more expected))
FAILED tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes read, 4 more expected))
FAILED tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes read, 4 more expected))
FAILED tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 7 more expected)', IncompleteRead(0 bytes read, 7 more expected))
FAILED tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 11 more expected)', IncompleteRead(0 bytes read, 11 more expected))
FAILED tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 11 more expected)', IncompleteRead(0 bytes read, 11 more expected))
= 21 failed, 8038 passed, 7 skipped, 67 deselected, 2 xfailed, 1232 warnings in 1435.77s (0:23:55) =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/5jmpyn2l6qlari8hd8l3rxqa9wd111rc-python-pytest-8.3.3/bin/pytest" arguments: ("-vv" "-m" "not network and not requires_docker" "-k" "not test_cancel_pending_job and not test_list_queue_tags_errors and not test_route53resolver_bad_create_endpoint_subnets and not test_route53resolver_invalid_create_endpoint_args and not test_cancel_pending_job and not test_terminate_job and not test_invoke_function_from_sqs_exception and not test_create_custom_lambda_resource__verify_cfnresponse_failed and not test_lambda_function and not test_invoke_local_lambda_layers and not test_s3_server_post_cors_multiple_origins and not test_put_record_batch_http_destination and not test_put_record_http_destination and not test_with_custom_request_header and not test_dependencies and not test_cancel_running_job and not test_container_overrides") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `check' failed after 1446.7 seconds
command "/gnu/store/5jmpyn2l6qlari8hd8l3rxqa9wd111rc-python-pytest-8.3.3/bin/pytest" "-vv" "-m" "not network and not requires_docker" "-k" "not test_cancel_pending_job and not test_list_queue_tags_errors and not test_route53resolver_bad_create_endpoint_subnets and not test_route53resolver_invalid_create_endpoint_args and not test_cancel_pending_job and not test_terminate_job and not test_invoke_function_from_sqs_exception and not test_create_custom_lambda_resource__verify_cfnresponse_failed and not test_lambda_function and not test_invoke_local_lambda_layers and not test_s3_server_post_cors_multiple_origins and not test_put_record_batch_http_destination and not test_put_record_http_destination and not test_with_custom_request_header and not test_dependencies and not test_cancel_running_job and not test_container_overrides" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/ch8xgfq1m43qh194ycicqjd3wnmk71zs-python-moto-4.2.4.drv' failed with exit code 1


"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:

> Attached are patches that get them to build.
>
> From 9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e Mon Sep 17 00:00:00 2001
> Message-ID: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Tue, 21 Jan 2025 00:38:15 +0100
> Subject: [PATCH 1/3] gnu: python-aws-xray-sdk and python-jose: 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
> * gnu/packages/python-web.scm (python-jose): ignore
> tests/algorithms/test_EC_compat.py (fails due to spurious linebreaks in the output)
> ---
>  gnu/packages/python-web.scm | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
> index 4e2738cb634..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))
> @@ -1580,8 +1585,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 79aa5959bd41636a874ddc39665f1eb317f318b6 Mon Sep 17 00:00:00 2001
> Message-ID: <79aa5959bd41636a874ddc39665f1eb317f318b6.1737417690.git.arne_bab <at> web.de>
> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Tue, 21 Jan 2025 00:43:48 +0100
> Subject: [PATCH 2/3] 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 c07ecc58bd8df173c110ccb85bf1a520d585436e Mon Sep 17 00:00:00 2001
> Message-ID: <c07ecc58bd8df173c110ccb85bf1a520d585436e.1737417690.git.arne_bab <at> web.de>
> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Tue, 21 Jan 2025 00:50:40 +0100
> Subject: [PATCH 3/3] 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
>
>
> Best wishes,
> Arne

-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Tue, 21 Jan 2025 21:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: 75713 <at> debbugs.gnu.org
Subject: Re: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Tue, 21 Jan 2025 22:28:29 +0100
[Message part 1 (text/plain, inline)]
This is the missing patch: ignore the broken tests of python-moto. The
change may not be perfect, but it gets python-moto to build again, a
requirement for python-celery that I need for python-django.

[0004-gnu-python-moto-ignore-broken-tests.patch (text/x-patch, inline)]
From eaacb6877214c4d313bd087db7edf5c98a40b528 Mon Sep 17 00:00:00 2001
Message-ID: <eaacb6877214c4d313bd087db7edf5c98a40b528.1737494785.git.arne_bab <at> web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737494785.git.arne_bab <at> web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737494785.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Tue, 21 Jan 2025 11:31:22 +0100
Subject: [PATCH 4/4] 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

[Message part 3 (text/plain, inline)]
Best wishes,
Arne

"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:

> Correction: for python-moto this does not suffice:
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_acmpca/test_acmpca.py::test_issue_certificate -
> ValueError: Attribute's length must be >= 1 and <= 64, but it was 0
> FAILED tests/test_acmpca/test_acmpca.py::test_get_certificate -
> ValueError: Attribute's length must be >= 1 and <= 64, but it was 0
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_json_validate_successful
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_json_with_tabs_validate_successful
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_json_invalid_missing_resource
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_yaml_validate_successful
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_yaml_validate_template_url_successful
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_cloudformation/test_validate.py::test_boto3_yaml_invalid_missing_resource
> - AttributeError: module 'cfnlint.core' has no attribute
> 'configure_logging'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_select_star
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_select_unique
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_with_parameter
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestSelectStatements::test_execute_statement_with_no_results
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestExecuteTransaction::test_execute_transaction
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestBatchExecuteStatement::test_execute_transaction
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_dynamodb/test_dynamodb_statements.py::TestBatchExecuteStatement::test_without_primary_key_in_where_clause
> - AttributeError: 'str' object has no attribute 'items'
> FAILED
> tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data
> - requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes
> read, 4 more expected))
> FAILED
> tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests
> - requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes
> read, 4 more expected))
> FAILED
> tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url -
> requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 4 more expected)', IncompleteRead(0 bytes
> read, 4 more expected))
> FAILED
> tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body -
> requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 7 more expected)', IncompleteRead(0 bytes
> read, 7 more expected))
> FAILED
> tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers
> - requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 11 more expected)', IncompleteRead(0
> bytes read, 11 more expected))
> FAILED
> tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers -
> requests.exceptions.ChunkedEncodingError: ('Connection broken:
> IncompleteRead(0 bytes read, 11 more expected)', IncompleteRead(0
> bytes read, 11 more expected))
> = 21 failed, 8038 passed, 7 skipped, 67 deselected, 2 xfailed, 1232 warnings in 1435.77s (0:23:55) =
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program:
> "/gnu/store/5jmpyn2l6qlari8hd8l3rxqa9wd111rc-python-pytest-8.3.3/bin/pytest"
> arguments: ("-vv" "-m" "not network and not requires_docker" "-k" "not
> test_cancel_pending_job and not test_list_queue_tags_errors and not
> test_route53resolver_bad_create_endpoint_subnets and not
> test_route53resolver_invalid_create_endpoint_args and not
> test_cancel_pending_job and not test_terminate_job and not
> test_invoke_function_from_sqs_exception and not
> test_create_custom_lambda_resource__verify_cfnresponse_failed and not
> test_lambda_function and not test_invoke_local_lambda_layers and not
> test_s3_server_post_cors_multiple_origins and not
> test_put_record_batch_http_destination and not
> test_put_record_http_destination and not
> test_with_custom_request_header and not test_dependencies and not
> test_cancel_running_job and not test_container_overrides")
> exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 1446.7 seconds
> command
> "/gnu/store/5jmpyn2l6qlari8hd8l3rxqa9wd111rc-python-pytest-8.3.3/bin/pytest"
> "-vv" "-m" "not network and not requires_docker" "-k" "not
> test_cancel_pending_job and not test_list_queue_tags_errors and not
> test_route53resolver_bad_create_endpoint_subnets and not
> test_route53resolver_invalid_create_endpoint_args and not
> test_cancel_pending_job and not test_terminate_job and not
> test_invoke_function_from_sqs_exception and not
> test_create_custom_lambda_resource__verify_cfnresponse_failed and not
> test_lambda_function and not test_invoke_local_lambda_layers and not
> test_s3_server_post_cors_multiple_origins and not
> test_put_record_batch_http_destination and not
> test_put_record_http_destination and not
> test_with_custom_request_header and not test_dependencies and not
> test_cancel_running_job and not test_container_overrides" failed with
> status 1
> build process 18 exited with status 256
> builder for `/gnu/store/ch8xgfq1m43qh194ycicqjd3wnmk71zs-python-moto-4.2.4.drv' failed with exit code 1
>
>
> "Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:
>
>> Attached are patches that get them to build.
>>
>> From 9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e Mon Sep 17 00:00:00 2001
>> Message-ID: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
>> From: Arne Babenhauserheide <arne_bab <at> web.de>
>> Date: Tue, 21 Jan 2025 00:38:15 +0100
>> Subject: [PATCH 1/3] gnu: python-aws-xray-sdk and python-jose: 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
>> * gnu/packages/python-web.scm (python-jose): ignore
>> tests/algorithms/test_EC_compat.py (fails due to spurious linebreaks in the output)
>> ---
>>  gnu/packages/python-web.scm | 11 ++++++++---
>>  1 file changed, 8 insertions(+), 3 deletions(-)
>>
>> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
>> index 4e2738cb634..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))
>> @@ -1580,8 +1585,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 79aa5959bd41636a874ddc39665f1eb317f318b6 Mon Sep 17 00:00:00 2001
>> Message-ID: <79aa5959bd41636a874ddc39665f1eb317f318b6.1737417690.git.arne_bab <at> web.de>
>> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
>> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
>> From: Arne Babenhauserheide <arne_bab <at> web.de>
>> Date: Tue, 21 Jan 2025 00:43:48 +0100
>> Subject: [PATCH 2/3] 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 c07ecc58bd8df173c110ccb85bf1a520d585436e Mon Sep 17 00:00:00 2001
>> Message-ID: <c07ecc58bd8df173c110ccb85bf1a520d585436e.1737417690.git.arne_bab <at> web.de>
>> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
>> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab <at> web.de>
>> From: Arne Babenhauserheide <arne_bab <at> web.de>
>> Date: Tue, 21 Jan 2025 00:50:40 +0100
>> Subject: [PATCH 3/3] 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
>>
>>
>> Best wishes,
>> Arne

-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Fri, 24 Jan 2025 12:48:02 GMT) Full text and rfc822 format available.

Message #14 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75713 <at> debbugs.gnu.org
Subject: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Fri, 24 Jan 2025 12:47:14 +0000
[Message part 1 (text/plain, inline)]
Hi,

Thank you for the patches!

--8<---------------cut here---------------start------------->8---
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?

Let's review v2!

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Sat, 25 Jan 2025 14:51:01 GMT) Full text and rfc822 format available.

Message #17 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 75713 <at> debbugs.gnu.org
Subject: Re: bug#75713: [PATCH] v2 python-aws-xray-sdk, python-jose,
 python-kombu, and python-moto fail to build
Date: Sat, 25 Jan 2025 15:49:51 +0100
[Message part 1 (text/plain, inline)]
Hi,



Sharlatan Hellseher <sharlatanus <at> gmail.com> 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
[0001-gnu-python-jose-ignore-test-failing-due-to-spurious-.patch (text/x-patch, inline)]
From 12ed0e457614fadea9668c32c9333673a3f2c93c Mon Sep 17 00:00:00 2001
Message-ID: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
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

[0002-gnu-python-aws-xray-sdk-fix-build.patch (text/x-patch, inline)]
From 7690f6e1feba93d027078d08dd057f705c8f6089 Mon Sep 17 00:00:00 2001
Message-ID: <7690f6e1feba93d027078d08dd057f705c8f6089.1737816475.git.arne_bab <at> web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
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

[0003-gnu-python-kombu-fix-build.patch (text/x-patch, inline)]
From aabe2496622a4067edb5413bb7b4d8ddf4f85b21 Mon Sep 17 00:00:00 2001
Message-ID: <aabe2496622a4067edb5413bb7b4d8ddf4f85b21.1737816475.git.arne_bab <at> web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
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

[0004-gnu-python-moto-fix-build.patch (text/x-patch, inline)]
From 95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8 Mon Sep 17 00:00:00 2001
Message-ID: <95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8.1737816475.git.arne_bab <at> web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
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

[0005-gnu-python-moto-ignore-broken-tests.patch (text/x-patch, inline)]
From 855f0de8c611fc9504d2fae9d3b8dd5f2cae0712 Mon Sep 17 00:00:00 2001
Message-ID: <855f0de8c611fc9504d2fae9d3b8dd5f2cae0712.1737816475.git.arne_bab <at> web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab <at> web.de>
From: Arne Babenhauserheide <arne_bab <at> web.de>
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

[Message part 7 (text/plain, inline)]
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Sat, 25 Jan 2025 15:59:01 GMT) Full text and rfc822 format available.

Message #20 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75713 <at> debbugs.gnu.org
Cc: arne_bab <at> web.de
Subject: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Sat, 25 Jan 2025 15:57:53 +0000
[Message part 1 (text/plain, inline)]
Hi Arne,

I tried to apply your patches but it looks like they are dated or belong
to an older commit.

After an attempt to build with the fresh "guix pull" all mentioned
pckages have built successfully:

--8<---------------cut here---------------start------------->8---
~$ guix build python-aws-xray-sdk python-jose python-kombu python-moto
/gnu/store/p77qhfb9d5mlh6qzs1iixi9n08szi2xy-python-aws-xray-sdk-2.14.0
/gnu/store/79fsr2cnhmmsifp4a08iw4mxab4pggjh-python-jose-3.3.0
/gnu/store/dhsn70bxfxd1063yrzj656d5ryp9k0r1-python-kombu-5.3.7
/gnu/store/jw7p8msrzv7zjlj1pyk0h1dsdjlamrmm-python-moto-5.0.25

~$ guix describe
Generation 72   Jan 24 2025 22:18:29    (current)
  guix ea7a6fa
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ea7a6fa8c66ef3cfd0ccdec6c0a7a3e7ab3dfc9c
--8<---------------cut here---------------end--------------->8---

May you check if it's still an issue after "guix pull", and provide on
which commit you are, please?

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75713; Package guix. (Sat, 25 Jan 2025 18:43:02 GMT) Full text and rfc822 format available.

Message #23 received at 75713 <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 75713 <at> debbugs.gnu.org
Subject: Re: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and
 python-moto fail to build
Date: Sat, 25 Jan 2025 19:42:41 +0100
[Message part 1 (text/plain, inline)]
Hi Sharlatan,

yes, other changes fixed the problems in the meantime!

Thank you for the info!

Best wishes,
Arne

Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> Hi Arne,
>
> I tried to apply your patches but it looks like they are dated or belong
> to an older commit.
>
> After an attempt to build with the fresh "guix pull" all mentioned
> pckages have built successfully:
>
> --8<---------------cut here---------------start------------->8---
> ~$ guix build python-aws-xray-sdk python-jose python-kombu python-moto
> /gnu/store/p77qhfb9d5mlh6qzs1iixi9n08szi2xy-python-aws-xray-sdk-2.14.0
> /gnu/store/79fsr2cnhmmsifp4a08iw4mxab4pggjh-python-jose-3.3.0
> /gnu/store/dhsn70bxfxd1063yrzj656d5ryp9k0r1-python-kombu-5.3.7
> /gnu/store/jw7p8msrzv7zjlj1pyk0h1dsdjlamrmm-python-moto-5.0.25
>
> ~$ guix describe
> Generation 72   Jan 24 2025 22:18:29    (current)
>   guix ea7a6fa
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: ea7a6fa8c66ef3cfd0ccdec6c0a7a3e7ab3dfc9c
> --8<---------------cut here---------------end--------------->8---
>
> May you check if it's still an issue after "guix pull", and provide on
> which commit you are, please?

-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 75713 <at> debbugs.gnu.org and "Dr. Arne Babenhauserheide" <arne_bab <at> web.de> Request was from "Dr. Arne Babenhauserheide" <arne_bab <at> web.de> to control <at> debbugs.gnu.org. (Sat, 25 Jan 2025 18:46:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Feb 2025 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.