[From nobody Fri Sep 18 17:21:06 2026
Received: (at submit) by bugs.debian.org; 13 Sep 2026 06:06:30 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.9 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FROMDEVELOPER,FVGT_m_MULTI_ODD,
 HAS_PACKAGE,KHOP_HELO_FCRDNS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
 SPF_HELO_PASS,SPF_SOFTFAIL,WEIRD_PORT autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 150; neutral, 143; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--H*Ad:N*Bug, 
 0.000-+--HTo:N*Debian, 0.000-+--H*F:U*doko, 0.000-+--forky
Return-path: &lt;doko@debian.org&gt;
Received: from einhorn.in-berlin.de ([192.109.42.8]:37475
 helo=einhorn-mail-out.in-berlin.de)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;doko@debian.org&gt;) id 1x5dMC-00DhiE-2b
 for submit@bugs.debian.org; Sun, 13 Sep 2026 06:06:30 +0000
X-Envelope-From: doko@debian.org
X-Envelope-To: &lt;submit@bugs.debian.org&gt;
Received: from authenticated.user (localhost [127.0.0.1]) by
 einhorn.in-berlin.de with ESMTPSA id 68D66PdC639339
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
 for &lt;submit@bugs.debian.org&gt;; Sun, 13 Sep 2026 08:06:26 +0200
Message-ID: &lt;8b4d39b6-1502-4106-81a7-6497358cdda8@debian.org&gt;
Date: Sun, 13 Sep 2026 08:06:25 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
Content-Language: en-US
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
From: Matthias Klose &lt;doko@debian.org&gt;
Subject: python-aws-xray-sdk: using the removed pkg_resources module in the
 autopkg tests
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: src:python-aws-xray-sdk
Version: 0.95-4
Severity: serious
Tags: sid forky
User: debian-python@lists.debian.org
Usertags: pkg-resources-deprecation
Affects: src:python-moto

using the removed pkg_resources module in the autopkg tests,
seen in the python-moto autopkg test:

[...]
114s ==================================== ERRORS 
====================================
114s _____________ ERROR collecting tests/test_xray/test_xray_client.py 
_____________

114s ImportError while importing test module 
'/tmp/autopkgtest.zC1EUG/autopkgtest_tmp/build/tests/test_xray/test_xray_client.py'.

114s Hint: make sure your test modules/packages have valid Python names.
114s Traceback:
114s /usr/lib/python3.14/importlib/__init__.py:88: in import_module
114s     return _bootstrap._gcd_import(name[level:], package, level)
114s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114s tests/test_xray/test_xray_client.py:5: in &lt;module&gt;
114s     import aws_xray_sdk.core as xray_core
114s /usr/lib/python3/dist-packages/aws_xray_sdk/core/__init__.py:1: in 
&lt;module&gt;
114s     from .recorder import AWSXRayRecorder
114s /usr/lib/python3/dist-packages/aws_xray_sdk/core/recorder.py:14: in 
&lt;module&gt;
114s     from .sampling.default_sampler import DefaultSampler
114s 
/usr/lib/python3/dist-packages/aws_xray_sdk/core/sampling/default_sampler.py:5: 
in &lt;module&gt;
114s     from pkg_resources import resource_filename
114s E   ModuleNotFoundError: No module named 'pkg_resources'
114s =============================== warnings summary 
===============================
114s tests/test_core/test_docker.py:11
114s 
/tmp/autopkgtest.zC1EUG/autopkgtest_tmp/build/tests/test_core/test_docker.py:11: 
PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? 
You can register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
114s     @pytest.mark.order(0)
114s
114s tests/test_core/test_docker.py:24
114s 
/tmp/autopkgtest.zC1EUG/autopkgtest_tmp/build/tests/test_core/test_docker.py:24: 
PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? 
You can register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
114s     @pytest.mark.order(0)
114s
114s ../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
114s   /usr/lib/python3/dist-packages/_pytest/python.py:124: 
PytestRemovedIn10Warning: Passing a non-Collection iterable to 
parametrize is deprecated.
114s   Test: tests/test_core/test_protocols.py::test_output_compliance, 
argvalues type: generator
114s   Please convert to a list or tuple.
114s   See 
https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
114s     metafunc.parametrize(*marker.args, **marker.kwargs, 
_param_mark=marker)
114s
114s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
114s =========================== short test summary info 
============================
114s ERROR tests/test_xray/test_xray_client.py
114s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
!!!!!!!!!!!!!!!!!!!!
114s ================ 147 deselected, 3 warnings, 1 error in 25.63s 
=================
]