https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/aws-xray-sdk-python-2.8.0 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 766215 [details] build.log build log and emerge --info
Error(s) that match a know pattern: E ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.8/site-packages/django/conf/urls/__init__.py) ERROR aws_xray_sdk.core.context:context.py:126 cannot find the current segment/subsegment, please make sure you have a segment open ERROR django.request:log.py:225 Internal Server Error: /notfound/ FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_db - ImportErr... FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_disabled_sdk FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_error - Import... FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_fault - Import... FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_default_ctx FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_lambda_serverless FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_ok - ImportErr... FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_response_header FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template - Imp... FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_template_block FAILED tests/ext/django/test_middleware.py::XRayTestCase::test_trace_header_data_perservation ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.8/site-packages/django/conf/urls/__init__.py) Internal Server Error: /notfound/
tinderbox_musl has reproduced this issue with version 2.10.0 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef8692c559f35e804e8610e19682d9be0da4ea8 commit 8ef8692c559f35e804e8610e19682d9be0da4ea8 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-10-15 14:30:25 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-10-15 14:31:19 +0000 dev-python/aws-xray-sdk-python: enable py3.11 Closes: https://bugs.gentoo.org/834563 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.10.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)