[From nobody Sun May 10 11:39:15 2026
Received: (at submit) by bugs.debian.org; 1 May 2026 23:15:27 +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=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 64; hammy, 150; neutral, 238; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:54214)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx4x-000F9s-2u
 for submit@bugs.debian.org; Fri, 01 May 2026 23:15:27 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by muffat.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx4y-0004Lx-2e
 for submit@bugs.debian.org; Fri, 01 May 2026 23:15:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=fSJra/BoQ6H/Xur5hq2fUG4xYiQWYERP2pmyAh3qifU=; b=cX9mrK40wrXkhJ2iuzuEO1ML/6
 8oO/81ANpQdlKFTWecQ03DrfoYgMamAZam9fBObLP5UxVlVM8YZuDCvVACvRi//ZaoEeA4OHCCrJ7
 mZ32HxrVrB8zbu2t5h8M5exhCwGE6DKM5TtI6h0a0uq4O3UbrMh4zbMcY8uZXv31V0aU7XALHzgNW
 /eOCYOQZRsWCtgqEmydNUukC9/doTvZvtyFA6NCwQBYRm/vItuFhbxZrpoboQ5btMTJdMp6l+IJJw
 mC/99vJp9ihduoeC/xYcdy8Vs9EP5pJBXarWW7BpDsKFF4pjUv7o8ihcBYmfCHn6rF8f72KnOb0ul
 PX941lUQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wIx4x-0005ZE-2G
 for submit@bugs.debian.org; Fri, 01 May 2026 23:15:27 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: stac-check: FTBFS: E importlib.metadata.PackageNotFoundError: No
 package metadata was found for stac-validator
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wIx4x-0005ZE-2G@paradis.debian.org&gt;
Date: Fri, 01 May 2026 23:15:27 +0000
Delivered-To: submit@bugs.debian.org

Package: src:stac-check
Version: 1.11.1-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:stac-check, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:385: python3.14 setup.py clean 
/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)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'

[... snipped ...]

            &quot;bbox&quot;: [
                170.0,  # west
                -10.0,  # south
                -170.0,  # east (west &gt; east indicates antimeridian crossing)
                10.0,  # north
            ],
            &quot;geometry&quot;: {
                &quot;type&quot;: &quot;Polygon&quot;,
                &quot;coordinates&quot;: [
                    [
                        [170.0, -10.0],
                        [-170.0, -10.0],
                        [-170.0, 10.0],
                        [170.0, 10.0],
                        [170.0, -10.0],
                    ]
                ],
            },
            &quot;properties&quot;: {&quot;datetime&quot;: &quot;2023-01-01T00:00:00Z&quot;},
        }
    
        # Test with the incorrect item (belting the globe)
&gt;       linter = Linter(incorrect_item)
                 ^^^^^^^^^^^^^^^^^^^^^^

../../../tests/test_lint_geometry.py:217: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
&lt;string&gt;:13: in __init__
    ???
../../../stac_check/lint.py:177: in __post_init__
    self.validator_version = importlib.metadata.distribution(
/usr/lib/python3.13/importlib/metadata/__init__.py:960: in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
            return next(iter(cls.discover(name=name)))
        except StopIteration:
&gt;           raise PackageNotFoundError(name)
E           importlib.metadata.PackageNotFoundError: No package metadata was found for stac-validator

/usr/lib/python3.13/importlib/metadata/__init__.py:409: PackageNotFoundError
__________________________ test_bbox_matches_geometry __________________________

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
&gt;           return next(iter(cls.discover(name=name)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           StopIteration

/usr/lib/python3.13/importlib/metadata/__init__.py:407: StopIteration

During handling of the above exception, another exception occurred:

    def test_bbox_matches_geometry():
        # Test with matching bbox and geometry
        file = &quot;sample_files/1.0.0/core-item.json&quot;
&gt;       linter = Linter(file)
                 ^^^^^^^^^^^^

../../../tests/test_lint_geometry.py:269: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
&lt;string&gt;:13: in __init__
    ???
../../../stac_check/lint.py:177: in __post_init__
    self.validator_version = importlib.metadata.distribution(
/usr/lib/python3.13/importlib/metadata/__init__.py:960: in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
            return next(iter(cls.discover(name=name)))
        except StopIteration:
&gt;           raise PackageNotFoundError(name)
E           importlib.metadata.PackageNotFoundError: No package metadata was found for stac-validator

/usr/lib/python3.13/importlib/metadata/__init__.py:409: PackageNotFoundError
_____________________ test_lint_pydantic_validation_valid ______________________

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
&gt;           return next(iter(cls.discover(name=name)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           StopIteration

/usr/lib/python3.13/importlib/metadata/__init__.py:407: StopIteration

During handling of the above exception, another exception occurred:

    @pytest.mark.pydantic
    def test_lint_pydantic_validation_valid():
        &quot;&quot;&quot;Test pydantic validation with a valid STAC item.&quot;&quot;&quot;
        file = &quot;sample_files/1.0.0/core-item.json&quot;
&gt;       linter = Linter(file, pydantic=True)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../tests/test_lint_pydantic.py:25: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
&lt;string&gt;:13: in __init__
    ???
../../../stac_check/lint.py:177: in __post_init__
    self.validator_version = importlib.metadata.distribution(
/usr/lib/python3.13/importlib/metadata/__init__.py:960: in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
            return next(iter(cls.discover(name=name)))
        except StopIteration:
&gt;           raise PackageNotFoundError(name)
E           importlib.metadata.PackageNotFoundError: No package metadata was found for stac-validator

/usr/lib/python3.13/importlib/metadata/__init__.py:409: PackageNotFoundError
____________________ test_lint_pydantic_validation_invalid _____________________

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
&gt;           return next(iter(cls.discover(name=name)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           StopIteration

/usr/lib/python3.13/importlib/metadata/__init__.py:407: StopIteration

During handling of the above exception, another exception occurred:

    @pytest.mark.pydantic
    def test_lint_pydantic_validation_invalid():
        &quot;&quot;&quot;Test pydantic validation with an invalid STAC item (missing required fields).&quot;&quot;&quot;
        file = &quot;sample_files/1.0.0/bad-item.json&quot;
&gt;       linter = Linter(file, pydantic=True)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../tests/test_lint_pydantic.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
&lt;string&gt;:13: in __init__
    ???
../../../stac_check/lint.py:177: in __post_init__
    self.validator_version = importlib.metadata.distribution(
/usr/lib/python3.13/importlib/metadata/__init__.py:960: in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

cls = &lt;class 'importlib.metadata.Distribution'&gt;, name = 'stac-validator'

    @classmethod
    def from_name(cls, name: str) -&gt; Distribution:
        &quot;&quot;&quot;Return the Distribution for the given package name.
    
        :param name: The name of the distribution package to search for.
        :return: The Distribution instance (or subclass thereof) for the named
            package, if found.
        :raises PackageNotFoundError: When the named package's distribution
            metadata cannot be found.
        :raises ValueError: When an invalid value is supplied for name.
        &quot;&quot;&quot;
        if not name:
            raise ValueError(&quot;A distribution name is required.&quot;)
        try:
            return next(iter(cls.discover(name=name)))
        except StopIteration:
&gt;           raise PackageNotFoundError(name)
E           importlib.metadata.PackageNotFoundError: No package metadata was found for stac-validator

/usr/lib/python3.13/importlib/metadata/__init__.py:409: PackageNotFoundError
=========================== short test summary info ============================
FAILED ../../../tests/test_config.py::test_linter_config_file - importlib.met...
FAILED ../../../tests/test_config.py::test_linter_max_links - importlib.metad...
FAILED ../../../tests/test_lint.py::test_linter_item_id_not_matching_file_name
FAILED ../../../tests/test_lint.py::test_linter_collection_catalog_id - impor...
FAILED ../../../tests/test_lint.py::test_linter_item_id_format_best_practices
FAILED ../../../tests/test_lint.py::test_datetime_set_to_null - importlib.met...
FAILED ../../../tests/test_lint.py::test_unlocated_item - importlib.metadata....
FAILED ../../../tests/test_lint.py::test_bloated_item - importlib.metadata.Pa...
FAILED ../../../tests/test_lint.py::test_small_thumbnail - importlib.metadata...
FAILED ../../../tests/test_lint.py::test_title_field - importlib.metadata.Pac...
FAILED ../../../tests/test_lint.py::test_self_in_links - importlib.metadata.P...
FAILED ../../../tests/test_lint.py::test_catalog_name - importlib.metadata.Pa...
FAILED ../../../tests/test_lint_geometry.py::test_geometry_coordinates_order
FAILED ../../../tests/test_lint_geometry.py::test_bbox_antimeridian - importl...
FAILED ../../../tests/test_lint_geometry.py::test_bbox_matches_geometry - imp...
FAILED ../../../tests/test_lint_pydantic.py::test_lint_pydantic_validation_valid
FAILED ../../../tests/test_lint_pydantic.py::test_lint_pydantic_validation_invalid
=========== 17 failed, 10 passed, 1 skipped, 24 deselected in 0.58s ============
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.13_stac_check/build; python3.13 -m pytest -v -m &quot;not network&quot; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p &quot;3.14 3.13&quot; --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]