* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
@ 2025-01-21 0:02 Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GNU Guix @ 2025-01-21 0:02 UTC (permalink / raw)
To: 75713
[-- Attachment #1.1: Type: text/plain, Size: 46 bytes --]
Attached are patches that get them to build.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-python-aws-xray-sdk-and-python-jose-fix-build.patch --]
[-- Type: text/x-patch, Size: 2694 bytes --]
From 9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e Mon Sep 17 00:00:00 2001
Message-ID: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-python-kombu-fix-build.patch --]
[-- Type: text/x-patch, Size: 1312 bytes --]
From 79aa5959bd41636a874ddc39665f1eb317f318b6 Mon Sep 17 00:00:00 2001
Message-ID: <79aa5959bd41636a874ddc39665f1eb317f318b6.1737417690.git.arne_bab@web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0003-gnu-python-moto-fix-build.patch --]
[-- Type: text/x-patch, Size: 1172 bytes --]
From c07ecc58bd8df173c110ccb85bf1a520d585436e Mon Sep 17 00:00:00 2001
Message-ID: <c07ecc58bd8df173c110ccb85bf1a520d585436e.1737417690.git.arne_bab@web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #1.5: Type: text/plain, Size: 101 bytes --]
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1121 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-21 0:02 bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build Dr. Arne Babenhauserheide via Bug reports for GNU Guix
@ 2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 21:28 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-24 12:47 ` Sharlatan Hellseher
2025-01-25 15:57 ` bug#75713: [PATCH] " Sharlatan Hellseher
2 siblings, 1 reply; 7+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GNU Guix @ 2025-01-21 0:47 UTC (permalink / raw)
To: 75713
[-- Attachment #1: Type: text/plain, Size: 11910 bytes --]
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@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@web.de>
> From: Arne Babenhauserheide <arne_bab@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@web.de>
> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
> From: Arne Babenhauserheide <arne_bab@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@web.de>
> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
> From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
@ 2025-01-21 21:28 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
0 siblings, 0 replies; 7+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GNU Guix @ 2025-01-21 21:28 UTC (permalink / raw)
To: 75713
[-- Attachment #1.1: Type: text/plain, Size: 202 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0004-gnu-python-moto-ignore-broken-tests.patch --]
[-- Type: text/x-patch, Size: 1528 bytes --]
From eaacb6877214c4d313bd087db7edf5c98a40b528 Mon Sep 17 00:00:00 2001
Message-ID: <eaacb6877214c4d313bd087db7edf5c98a40b528.1737494785.git.arne_bab@web.de>
In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737494785.git.arne_bab@web.de>
References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737494785.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #1.3: Type: text/plain, Size: 12449 bytes --]
Best wishes,
Arne
"Dr. Arne Babenhauserheide" <arne_bab@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@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@web.de>
>> From: Arne Babenhauserheide <arne_bab@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@web.de>
>> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
>> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
>> From: Arne Babenhauserheide <arne_bab@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@web.de>
>> In-Reply-To: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
>> References: <9f02a220b44ff2a60b0ffaa6bf6ced15fc23353e.1737417690.git.arne_bab@web.de>
>> From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-21 0:02 bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
@ 2025-01-24 12:47 ` Sharlatan Hellseher
2025-01-25 14:49 ` bug#75713: [PATCH] v2 " Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-25 15:57 ` bug#75713: [PATCH] " Sharlatan Hellseher
2 siblings, 1 reply; 7+ messages in thread
From: Sharlatan Hellseher @ 2025-01-24 12:47 UTC (permalink / raw)
To: 75713
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] v2 python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-24 12:47 ` Sharlatan Hellseher
@ 2025-01-25 14:49 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
0 siblings, 0 replies; 7+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GNU Guix @ 2025-01-25 14:49 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: 75713
[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]
Hi,
Sharlatan Hellseher <sharlatanus@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-python-jose-ignore-test-failing-due-to-spurious-.patch --]
[-- Type: text/x-patch, Size: 1391 bytes --]
From 12ed0e457614fadea9668c32c9333673a3f2c93c Mon Sep 17 00:00:00 2001
Message-ID: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-python-aws-xray-sdk-fix-build.patch --]
[-- Type: text/x-patch, Size: 2196 bytes --]
From 7690f6e1feba93d027078d08dd057f705c8f6089 Mon Sep 17 00:00:00 2001
Message-ID: <7690f6e1feba93d027078d08dd057f705c8f6089.1737816475.git.arne_bab@web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0003-gnu-python-kombu-fix-build.patch --]
[-- Type: text/x-patch, Size: 1312 bytes --]
From aabe2496622a4067edb5413bb7b4d8ddf4f85b21 Mon Sep 17 00:00:00 2001
Message-ID: <aabe2496622a4067edb5413bb7b4d8ddf4f85b21.1737816475.git.arne_bab@web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.5: 0004-gnu-python-moto-fix-build.patch --]
[-- Type: text/x-patch, Size: 1172 bytes --]
From 95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8 Mon Sep 17 00:00:00 2001
Message-ID: <95a6ff6c6b8a5ab83f0a4e630f771fea565cf6d8.1737816475.git.arne_bab@web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.6: 0005-gnu-python-moto-ignore-broken-tests.patch --]
[-- Type: text/x-patch, Size: 1528 bytes --]
From 855f0de8c611fc9504d2fae9d3b8dd5f2cae0712 Mon Sep 17 00:00:00 2001
Message-ID: <855f0de8c611fc9504d2fae9d3b8dd5f2cae0712.1737816475.git.arne_bab@web.de>
In-Reply-To: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
References: <12ed0e457614fadea9668c32c9333673a3f2c93c.1737816475.git.arne_bab@web.de>
From: Arne Babenhauserheide <arne_bab@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
[-- Attachment #1.7: Type: text/plain, Size: 79 bytes --]
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-21 0:02 bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-24 12:47 ` Sharlatan Hellseher
@ 2025-01-25 15:57 ` Sharlatan Hellseher
2025-01-25 18:42 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2 siblings, 1 reply; 7+ messages in thread
From: Sharlatan Hellseher @ 2025-01-25 15:57 UTC (permalink / raw)
To: 75713; +Cc: arne_bab
[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build
2025-01-25 15:57 ` bug#75713: [PATCH] " Sharlatan Hellseher
@ 2025-01-25 18:42 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
0 siblings, 0 replies; 7+ messages in thread
From: Dr. Arne Babenhauserheide via Bug reports for GNU Guix @ 2025-01-25 18:42 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: 75713
[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]
Hi Sharlatan,
yes, other changes fixed the problems in the meantime!
Thank you for the info!
Best wishes,
Arne
Sharlatan Hellseher <sharlatanus@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-01-25 18:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 0:02 bug#75713: [PATCH] python-aws-xray-sdk, python-jose, python-kombu, and python-moto fail to build Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 0:47 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-21 21:28 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-24 12:47 ` Sharlatan Hellseher
2025-01-25 14:49 ` bug#75713: [PATCH] v2 " Dr. Arne Babenhauserheide via Bug reports for GNU Guix
2025-01-25 15:57 ` bug#75713: [PATCH] " Sharlatan Hellseher
2025-01-25 18:42 ` Dr. Arne Babenhauserheide via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).