[From nobody Wed Oct 28 21:55:06 2026
Received: (at submit) by bugs.debian.org; 7 Oct 2024 08:32:06 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-119.3 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 68; hammy, 150; neutral, 479; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:55372)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1sxj9y-00FhxL-Ii
 for submit@bugs.debian.org; Mon, 07 Oct 2024 08:32:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :To:Subject:From:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=MXWdiHaNoy9mBc2/zJ8IF17w7Pr2WeMZJx0cI91QYzk=; b=mRtrfMyvSUbFccC34VpiAp/rk6
 5x45JYEBhP8XbBV9l1MCNgE/F4GGtoe+LLntUAp4m1mMJmPxuNiU00LiB7Xxg4OV9DRMIW1Osa3XO
 ImMIN1zouGoqvxL2yc0PN2ltGuO/eIEgwR1y1XlsUDx+Lrqi6fYSWrCIWgSlLXVQD4XZm6mvXPEGM
 tfTdqrv9OtOcNLHd15pmfWjjmYDRKF+09I2cllwCDl+B0Ei0JmIKF6aCNaJz6KSf4CW1ecBwQPimi
 cXy/h2qUws4hIsYN6fvMgyD2mhIG58Rb2QWcFgPbd9BFIYjUgpuQxltmfzWqzUgHVqjuSztVdb/ej
 q1Ufz0UQ==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1sxj9w-00EIkk-39
 for submit@bugs.debian.org; Mon, 07 Oct 2024 08:32:04 +0000
Message-ID: &lt;8bf76c62-af79-4f19-bb09-cc063ec51896@debian.org&gt;
Date: Mon, 7 Oct 2024 10:32:03 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Santiago Vila &lt;sanvila@debian.org&gt;
Subject: imexam: FTBFS: failing tests
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Content-Language: en-US
X-Debbugs-Cc: sanvila@debian.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sanvila
Delivered-To: submit@bugs.debian.org

Package: src:imexam
Version: 0.9.1-6
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/&lt;&lt;PKGBUILDDIR&gt;&gt;/setup.py:11: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!

         ********************************************************************************
         Please remove any references to `setuptools.command.test` in all supported versions of the affected package.

         By 2024-Nov-15, you need to update your project and remove deprecated calls
         or your builds will no longer be supported.
         ********************************************************************************

!!
   from setuptools.command.test import test as TestCommand
Sphinx is not installed, can't build documents!!

Cython found
Compiling wrappers/xpa.pyx because it changed.
[1/1] Cythonizing wrappers/xpa.pyx
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported in future
         versions. Please use the underscore name 'description_file' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'upload-dir' will not be supported in future
         versions. Please use the underscore name 'upload_dir' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'show-response' will not be supported in future
         versions. Please use the underscore name 'show_response' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

         ********************************************************************************
         Requirements should be satisfied by a PEP 517 installer.
         If you are using pip, you can try `pip install --use-pep517`.
         ********************************************************************************

!!
   dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
   File &quot;/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py&quot;, line 36, in read_pyproject
     section = defn.get(&quot;tool&quot;, {})[tool_name]
               ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:655: DistDeprecationWarning: use_2to3 is ignored.
   ep.load()(self, ep.name, value)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported in future
         versions. Please use the underscore name 'description_file' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'upload-dir' will not be supported in future
         versions. Please use the underscore name 'upload_dir' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'show-response' will not be supported in future
         versions. Please use the underscore name 'show_response' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
running config
    dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/&lt;&lt;PKGBUILDDIR&gt;&gt;/setup.py:11: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!

         ********************************************************************************
         Please remove any references to `setuptools.command.test` in all supported versions of the affected package.

         By 2024-Nov-15, you need to update your project and remove deprecated calls
         or your builds will no longer be supported.
         ********************************************************************************

!!
   from setuptools.command.test import test as TestCommand
Sphinx is not installed, can't build documents!!

Cython found
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported in future
         versions. Please use the underscore name 'description_file' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'upload-dir' will not be supported in future
         versions. Please use the underscore name 'upload_dir' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'show-response' will not be supported in future
         versions. Please use the underscore name 'show_response' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

         ********************************************************************************
         Requirements should be satisfied by a PEP 517 installer.
         If you are using pip, you can try `pip install --use-pep517`.
         ********************************************************************************

!!
   dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
   File &quot;/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py&quot;, line 36, in read_pyproject
     section = defn.get(&quot;tool&quot;, {})[tool_name]
               ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:655: DistDeprecationWarning: use_2to3 is ignored.
   ep.load()(self, ep.name, value)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported in future
         versions. Please use the underscore name 'description_file' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'upload-dir' will not be supported in future
         versions. Please use the underscore name 'upload_dir' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
/usr/lib/python3/dist-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

         ********************************************************************************
         Usage of dash-separated 'show-response' will not be supported in future
         versions. Please use the underscore name 'show_response' instead.

         This deprecation is overdue, please update your project and remove deprecated
         calls to avoid build errors in the future.

         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
         ********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
running build
running build_py
creating /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/xpa_wrap.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/ginga_viewer.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/math_helper.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/_astropy_init.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/__init__.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/connect.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/util.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/ds9_viewer.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/imexam_defpars.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
copying imexam/imexamine.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam
creating /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/tests
copying imexam/tests/test_util.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/tests
copying imexam/tests/__init__.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/tests
copying imexam/tests/setup_package.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/tests
copying imexam/tests/test_imexamine.py -&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/tests
running build_ext
building 'imexam.imexamxpa' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/wrappers
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c wrappers/xpa.c -o build/temp.linux-x86_64-cpython-312/wrappers/xpa.o
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/wrappers/xpa.o -L/usr/lib/x86_64-linux-gnu -lxpa -o /&lt;&lt;PKGBUILDDIR&gt;&gt;/imexam/imexamxpa.cpython-312-x86_64-linux-gnu.so
    dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build; python3.12 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /&lt;&lt;PKGBUILDDIR&gt;&gt;
configfile: setup.cfg
plugins: remotedata-0.4.1, astropy-header-0.2.2, mock-3.14.0, hypothesis-6.112.1, typeguard-4.3.0, arraydiff-0.6.1, filter-subpackage-0.2.0, doctestplus-1.2.1, astropy-0.11.0, cov-5.0.0
collected 0 items / 2 errors

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.12_imexam/build/imexam/tests/test_imexamine.py _
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3052: in version
     return self._version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3185: in __getattr__
     raise AttributeError(attr)
E   AttributeError: _version. Did you mean: 'version'?

The above exception was the direct cause of the following exception:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1310: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1310: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1331: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:935: in _load_unlocked
     ???
&lt;frozen importlib._bootstrap_external&gt;:995: in exec_module
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
imexam/__init__.py:41: in &lt;module&gt;
     release = get_distribution('imexam').version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:534: in get_distribution
     dist = get_provider(dist)
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:417: in get_provider
     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:727: in find
     if dist is not None and dist not in req:
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3504: in __contains__
     version = item.version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3060: in version
     raise ValueError(msg, self) from e
E   ValueError: (&quot;Missing 'Version:' header and/or PKG-INFO file at path: /&lt;&lt;PKGBUILDDIR&gt;&gt;/imexam.egg-info/PKG-INFO&quot;, imexam [unknown version] (/&lt;&lt;PKGBUILDDIR&gt;&gt;))
------------------------------- Captured stdout --------------------------------
Ginga not installed, use other viewer, or no viewer
_ ERROR collecting .pybuild/cpython3_3.12_imexam/build/imexam/tests/test_util.py _
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3052: in version
     return self._version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3185: in __getattr__
     raise AttributeError(attr)
E   AttributeError: _version. Did you mean: 'version'?

The above exception was the direct cause of the following exception:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1310: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1310: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
&lt;frozen importlib._bootstrap&gt;:1387: in _gcd_import
     ???
&lt;frozen importlib._bootstrap&gt;:1360: in _find_and_load
     ???
&lt;frozen importlib._bootstrap&gt;:1331: in _find_and_load_unlocked
     ???
&lt;frozen importlib._bootstrap&gt;:935: in _load_unlocked
     ???
&lt;frozen importlib._bootstrap_external&gt;:995: in exec_module
     ???
&lt;frozen importlib._bootstrap&gt;:488: in _call_with_frames_removed
     ???
imexam/__init__.py:41: in &lt;module&gt;
     release = get_distribution('imexam').version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:534: in get_distribution
     dist = get_provider(dist)
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:417: in get_provider
     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:727: in find
     if dist is not None and dist not in req:
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3504: in __contains__
     version = item.version
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:3060: in version
     raise ValueError(msg, self) from e
E   ValueError: (&quot;Missing 'Version:' header and/or PKG-INFO file at path: /&lt;&lt;PKGBUILDDIR&gt;&gt;/imexam.egg-info/PKG-INFO&quot;, imexam [unknown version] (/&lt;&lt;PKGBUILDDIR&gt;&gt;))
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441
   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441: PytestConfigWarning: Unknown config option: pep8ignore
   
     self._warn_or_fail_if_strict(f&quot;Unknown config option: {key}\n&quot;)

imexam/__init__.py:12
   /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build/imexam/__init__.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
     from pkg_resources import get_distribution, DistributionNotFound

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR imexam/tests/test_imexamine.py - ValueError: (&quot;Missing 'Version:' heade...
ERROR imexam/tests/test_util.py - ValueError: (&quot;Missing 'Version:' header and...
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
======================== 2 warnings, 2 errors in 1.36s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_imexam/build; python3.12 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.
]