[From nobody Tue Sep 29 08:53:09 2026
Received: (at submit) by bugs.debian.org; 13 Sep 2026 05:30:42 +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=-14.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 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 149; 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]:60047
 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 1x5cna-00DaWL-0F
 for submit@bugs.debian.org; Sun, 13 Sep 2026 05:30:42 +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 68D5UetK608646
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
 for &lt;submit@bugs.debian.org&gt;; Sun, 13 Sep 2026 07:30:40 +0200
Message-ID: &lt;410192fa-ad26-43fb-afeb-659a26ead7c3@debian.org&gt;
Date: Sun, 13 Sep 2026 07:30:40 +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: dolfin: using the removed pkg_resources module in the autopkg tests, 
 also stderr output
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: src:dolfin
Version: 2019.2.0~legacy20240219.1c52e83-30
Severity: serious
Tags: sid forky
User: debian-python@lists.debian.org
Usertags: pkg-resources-deprecation

using the removed pkg_resources module in the autopkg tests, please also 
see the stderr output:

[...]

6104s DEPRECATION: the --wheel and --no-wheel options do nothing; 
virtualenv no longer bundles wheel. They will be removed in a release 
after 2026-12. Stop passing them.
6104s _ 
test_dolfin_import_success_with_allowed_local_packages[dependencies_import_name0-dependencies_pypi_name0] 
_
6104s
6104s dependencies_import_name = ['ufl_legacy']
6104s dependencies_pypi_name = ['fenics-ufl-legacy']
6104s
6104s     @pytest.mark.skipif(not has_internet, reason=&quot;Requires 
downloading from pypi.org&quot;)
6104s 
@pytest.mark.parametrize(&quot;dependencies_import_name,dependencies_pypi_name&quot;, 
[
6104s         ([&quot;ufl_legacy&quot;], [&quot;fenics-ufl-legacy&quot;]),
6104s         ([&quot;ufl&quot;], [&quot;fenics-ufl&quot;])
6104s     ])
6104s     def test_dolfin_import_success_with_allowed_local_packages(
6104s         dependencies_import_name: typing.List[str], 
dependencies_pypi_name: typing.List[str]
6104s     ) -&gt; None:
6104s         &quot;&quot;&quot;Test that dolfin imports correctly even with extra 
local packages when asked to allow user-site imports.&quot;&quot;&quot;
6104s &gt;       assert_package_import_success_with_allowed_local_packages(
6104s             &quot;dolfin&quot;, 
&quot;/usr/lib/petsc/lib/python3/dist-packages/dolfin/__init__.py&quot;,
6104s             dependencies_import_name, dependencies_pypi_name, 
pip_install_call
6104s         )
6104s
6104s python/test/debian-only/test_pusimp.py:79:
6104s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _
6104s /usr/lib/python3/dist-packages/pusimp/utils.py:262: in 
assert_package_import_success_with_allowed_local_packages
6104s     assert_package_location(
6104s /usr/lib/python3/dist-packages/pusimp/utils.py:47: in 
assert_package_location
6104s     assert_has_package(executable, package)
6104s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _
6104s
6104s executable = '/tmp/tmpzx2unzun/venv/bin/python3', package = 
'ufl_legacy'
6104s
6104s     def assert_has_package(executable: str, package: str) -&gt; None:
6104s         &quot;&quot;&quot;Assert that a package is installed.
6104s
6104s         Note that it is not safe to simply import the package in 
the current pytest environment,
6104s         since the environment itself might change from one test to 
the other, but python packages
6104s         can be imported only once and not unloaded.
6104s         &quot;&quot;&quot;
6104s         run_import = subprocess.run(f&quot;{executable} -c 'import 
{package}'&quot;, shell=True, capture_output=True)
6104s &gt;       assert run_import.returncode == 0, (
6104s                ^^^^^^^^^^^^^^^^^^^^^^^^^^
6104s             f&quot;Importing {package} was not successful.\n&quot;
6104s             f&quot;stdout contains {run_import.stdout.decode().strip()}\n&quot;
6104s             f&quot;stderr contains {run_import.stderr.decode().strip()}&quot;
6104s         )
6104s E       AssertionError: Importing ufl_legacy was not successful.
6104s E       stdout contains
6104s E       stderr contains Traceback (most recent call last):
6104s E         File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
6104s E           import ufl_legacy
6104s E         File 
&quot;/tmp/tmpzx2unzun/venv/lib/python3.14/site-packages/ufl_legacy/__init__.py&quot;, 
line 243, in &lt;module&gt;
6104s E           import pkg_resources
6104s E       ModuleNotFoundError: No module named 'pkg_resources'
6104s
6104s /usr/lib/python3/dist-packages/pusimp/utils.py:32: AssertionError
6104s ----------------------------- Captured stdout call 
-----------------------------
6104s DEPRECATION: the --wheel and --no-wheel options do nothing; 
virtualenv no longer bundles wheel. They will be removed in a release 
after 2026-12. Stop passing them.
6104s =========================== short test summary info 
============================
6104s FAILED 
python/test/debian-only/test_pusimp.py::test_dolfin_import_errors_with_local_packages[dependencies_import_name0-dependencies_pypi_name0-dependencies_extra_error_message0]
6104s FAILED 
python/test/debian-only/test_pusimp.py::test_dolfin_import_errors_with_local_packages[dependencies_import_name2-dependencies_pypi_name2-dependencies_extra_error_message2]
6104s FAILED 
python/test/debian-only/test_pusimp.py::test_dolfin_import_errors_with_local_packages[dependencies_import_name3-dependencies_pypi_name3-dependencies_extra_error_message3]
6104s FAILED 
python/test/debian-only/test_pusimp.py::test_dolfin_import_success_with_allowed_local_packages[dependencies_import_name0-dependencies_pypi_name0]
6104s =================== 4 failed, 6 passed in 114.33s (0:01:54) 
====================
]