--- Begin Message ---
Source: python-pkginfo
Version: 1.8.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build --buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/installed.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/wheel.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/index.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/commandline.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/develop.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/_compat.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/bdist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/sdist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> copying pkginfo/distribution.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_wheel.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_index.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_installed.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_distribution.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_sdist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_develop.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_bdist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> copying pkginfo/tests/test_commandline.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> python3 setup.py build_sphinx
> running build_sphinx
> Running Sphinx v5.3.0
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 4 source files that are out of date
> updating environment: [new config] 4 added, 0 changed, 0 removed
> reading sources... [ 25%] distributions
> reading sources... [ 50%] index
> reading sources... [ 75%] indexes
> reading sources... [100%] metadata
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 25%] distributions
> writing output... [ 50%] index
> writing output... [ 75%] indexes
> writing output... [100%] metadata
>
> generating indices... genindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 1 warning.
>
> The HTML pages are in build/sphinx/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:314: cp -R pkginfo/tests/funny pkginfo/tests/manky
> pkginfo/tests/silly pkginfo/tests/wonky
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests
> I: pybuild base:291: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build; python3.11 -m pytest
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 169 items
>
> pkginfo/tests/test_bdist.py ..... [
> 2%]
> pkginfo/tests/test_commandline.py .......................... [
> 18%]
> pkginfo/tests/test_develop.py .F [
> 19%]
> pkginfo/tests/test_distribution.py ..................................... [
> 41%]
> ......................... [
> 56%]
> pkginfo/tests/test_index.py ....... [
> 60%]
> pkginfo/tests/test_installed.py ...FF.FF..F. [
> 67%]
> pkginfo/tests/test_sdist.py .............................. [
> 85%]
> pkginfo/tests/test_utils.py .........FFFF.... [
> 95%]
> pkginfo/tests/test_wheel.py ........
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________________ DevelopTests.test_ctor_w_path
> _________________________
>
> self = <pkginfo.tests.test_develop.DevelopTests testMethod=test_ctor_w_path>
>
> def test_ctor_w_path(self):
> from pkginfo.tests import _checkSample
> develop = self._makeOne('.')
> > _checkSample(self, develop)
>
> pkginfo/tests/test_develop.py:15:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pkginfo/tests/__init__.py:10: in _checkSample
> version = pkg_resources.require('pkginfo')[0].version
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:968: in require
> needed = self.resolve(parse_requirements(requirements))
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:829: in resolve
> dist = self._resolve_dist(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <pkg_resources.WorkingSet object at 0x7f0da3481750>
> req = Requirement.parse('pkginfo'), best = {'pkginfo': None}
> replace_conflicting = False
> env = <pkg_resources.Environment object at 0x7f0da377f5d0>, installer = None
> required_by = defaultdict(<class 'set'>, {}), to_activate = []
>
> def _resolve_dist(
> self, req, best, replace_conflicting, env, installer, required_by,
> to_activate
> ):
> dist = best.get(req.key)
> if dist is None:
> # Find the best distribution and add it to the map
> dist = self.by_key.get(req.key)
> if dist is None or (dist not in req and replace_conflicting):
> ws = self
> if env is None:
> if dist is None:
> env = Environment(self.entries)
> else:
> # Use an empty environment and workingset to avoid
> # any further conflicts with the conflicting
> # distribution
> env = Environment([])
> ws = WorkingSet([])
> dist = best[req.key] = env.best_match(
> req, ws, installer,
> replace_conflicting=replace_conflicting
> )
> if dist is None:
> requirers = required_by.get(req, None)
> > raise DistributionNotFound(req, requirers)
> E pkg_resources.DistributionNotFound: The 'pkginfo'
> distribution was not found and is required by the application
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:870:
> DistributionNotFound
> _______________________ InstalledTests.test_ctor_w_name
> ________________________
>
> self = <pkginfo.tests.test_installed.InstalledTests
> testMethod=test_ctor_w_name>
>
> def test_ctor_w_name(self):
> import pkginfo
> from pkginfo.tests import _checkSample
> from pkginfo.tests import _defaultMetadataVersion
> EXPECTED = _defaultMetadataVersion()
> installed = self._makeOne('pkginfo')
> > self.assertEqual(installed.metadata_version, EXPECTED)
> E AssertionError: None != '2.1'
>
> pkginfo/tests/test_installed.py:71: AssertionError
> _____________ InstalledTests.test_ctor_w_name_and_metadata_version
> _____________
>
> self = <pkginfo.tests.test_installed.InstalledTests
> testMethod=test_ctor_w_name_and_metadata_version>
>
> def test_ctor_w_name_and_metadata_version(self):
> import pkginfo
> from pkginfo.tests import _checkSample
> installed = self._makeOne('pkginfo', metadata_version='1.2')
> self.assertEqual(installed.metadata_version, '1.2')
> self.assertEqual(installed.package, pkginfo)
> self.assertEqual(installed.package_name, 'pkginfo')
> > _checkSample(self, installed)
>
> pkginfo/tests/test_installed.py:83:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pkginfo/tests/__init__.py:10: in _checkSample
> version = pkg_resources.require('pkginfo')[0].version
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:968: in require
> needed = self.resolve(parse_requirements(requirements))
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:829: in resolve
> dist = self._resolve_dist(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <pkg_resources.WorkingSet object at 0x7f0da3481750>
> req = Requirement.parse('pkginfo'), best = {'pkginfo': None}
> replace_conflicting = False
> env = <pkg_resources.Environment object at 0x7f0da34be9d0>, installer = None
> required_by = defaultdict(<class 'set'>, {}), to_activate = []
>
> def _resolve_dist(
> self, req, best, replace_conflicting, env, installer, required_by,
> to_activate
> ):
> dist = best.get(req.key)
> if dist is None:
> # Find the best distribution and add it to the map
> dist = self.by_key.get(req.key)
> if dist is None or (dist not in req and replace_conflicting):
> ws = self
> if env is None:
> if dist is None:
> env = Environment(self.entries)
> else:
> # Use an empty environment and workingset to avoid
> # any further conflicts with the conflicting
> # distribution
> env = Environment([])
> ws = WorkingSet([])
> dist = best[req.key] = env.best_match(
> req, ws, installer,
> replace_conflicting=replace_conflicting
> )
> if dist is None:
> requirers = required_by.get(req, None)
> > raise DistributionNotFound(req, requirers)
> E pkg_resources.DistributionNotFound: The 'pkginfo'
> distribution was not found and is required by the application
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:870:
> DistributionNotFound
> ______________________ InstalledTests.test_ctor_w_package
> ______________________
>
> self = <pkginfo.tests.test_installed.InstalledTests
> testMethod=test_ctor_w_package>
>
> def test_ctor_w_package(self):
> import pkginfo
> from pkginfo.tests import _checkSample
> from pkginfo.tests import _defaultMetadataVersion
> EXPECTED = _defaultMetadataVersion()
> installed = self._makeOne(pkginfo)
> self.assertEqual(installed.package, pkginfo)
> self.assertEqual(installed.package_name, 'pkginfo')
> > self.assertEqual(installed.metadata_version, EXPECTED)
> E AssertionError: None != '2.1'
>
> pkginfo/tests/test_installed.py:31: AssertionError
> ___________ InstalledTests.test_ctor_w_package_and_metadata_version
> ____________
>
> self = <pkginfo.tests.test_installed.InstalledTests
> testMethod=test_ctor_w_package_and_metadata_version>
>
> def test_ctor_w_package_and_metadata_version(self):
> import pkginfo
> from pkginfo.tests import _checkSample
> installed = self._makeOne(pkginfo, metadata_version='1.2')
> self.assertEqual(installed.metadata_version, '1.2')
> self.assertEqual(installed.package.__name__, 'pkginfo')
> > _checkSample(self, installed)
>
> pkginfo/tests/test_installed.py:63:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pkginfo/tests/__init__.py:10: in _checkSample
> version = pkg_resources.require('pkginfo')[0].version
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:968: in require
> needed = self.resolve(parse_requirements(requirements))
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:829: in resolve
> dist = self._resolve_dist(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <pkg_resources.WorkingSet object at 0x7f0da3481750>
> req = Requirement.parse('pkginfo'), best = {'pkginfo': None}
> replace_conflicting = False
> env = <pkg_resources.Environment object at 0x7f0da34d7d50>, installer = None
> required_by = defaultdict(<class 'set'>, {}), to_activate = []
>
> def _resolve_dist(
> self, req, best, replace_conflicting, env, installer, required_by,
> to_activate
> ):
> dist = best.get(req.key)
> if dist is None:
> # Find the best distribution and add it to the map
> dist = self.by_key.get(req.key)
> if dist is None or (dist not in req and replace_conflicting):
> ws = self
> if env is None:
> if dist is None:
> env = Environment(self.entries)
> else:
> # Use an empty environment and workingset to avoid
> # any further conflicts with the conflicting
> # distribution
> env = Environment([])
> ws = WorkingSet([])
> dist = best[req.key] = env.best_match(
> req, ws, installer,
> replace_conflicting=replace_conflicting
> )
> if dist is None:
> requirers = required_by.get(req, None)
> > raise DistributionNotFound(req, requirers)
> E pkg_resources.DistributionNotFound: The 'pkginfo'
> distribution was not found and is required by the application
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:870:
> DistributionNotFound
> _____________ InstalledTests.test_namespaced_pkg_installed_via_pth
> _____________
>
> self = <pkginfo.tests.test_installed.InstalledTests
> testMethod=test_namespaced_pkg_installed_via_pth>
>
> def test_namespaced_pkg_installed_via_pth(self):
> # E.g., installed by a Linux distro
> import os
> import sys
> where, _ = os.path.split(__file__)
> manky = os.path.join(where, 'manky')
> oldpath = sys.path[:]
> try:
> sys.path.append(manky)
> import namespaced.manky
> installed = self._makeOne('namespaced.manky')
> > self.assertEqual(installed.metadata_version, '1.0')
> E AssertionError: None != '1.0'
>
> pkginfo/tests/test_installed.py:136: AssertionError
> _______________________ Test_get_metadata.test_w_module
> ________________________
>
> self = <pkginfo.tests.test_utils.Test_get_metadata testMethod=test_w_module>
>
> def test_w_module(self):
> from pkginfo.tests import _defaultMetadataVersion
> EXPECTED = _defaultMetadataVersion()
> import pkginfo
> from pkginfo.tests import _checkSample
> dist = self._callFUT(pkginfo)
> > self.assertEqual(dist.metadata_version, EXPECTED)
> E AssertionError: None != '2.1'
>
> pkginfo/tests/test_utils.py:117: AssertionError
> _____________ Test_get_metadata.test_w_module_and_metadata_version
> _____________
>
> self = <pkginfo.tests.test_utils.Test_get_metadata
> testMethod=test_w_module_and_metadata_version>
>
> def test_w_module_and_metadata_version(self):
> import pkginfo
> from pkginfo.tests import _checkSample
> from pkginfo.tests import _checkClassifiers
> dist = self._callFUT(pkginfo, metadata_version='1.2')
> self.assertEqual(dist.metadata_version, '1.2')
> > _checkSample(self, dist)
>
> pkginfo/tests/test_utils.py:126:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pkginfo/tests/__init__.py:10: in _checkSample
> version = pkg_resources.require('pkginfo')[0].version
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:968: in require
> needed = self.resolve(parse_requirements(requirements))
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:829: in resolve
> dist = self._resolve_dist(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <pkg_resources.WorkingSet object at 0x7f0da3481750>
> req = Requirement.parse('pkginfo'), best = {'pkginfo': None}
> replace_conflicting = False
> env = <pkg_resources.Environment object at 0x7f0da337a910>, installer = None
> required_by = defaultdict(<class 'set'>, {}), to_activate = []
>
> def _resolve_dist(
> self, req, best, replace_conflicting, env, installer, required_by,
> to_activate
> ):
> dist = best.get(req.key)
> if dist is None:
> # Find the best distribution and add it to the map
> dist = self.by_key.get(req.key)
> if dist is None or (dist not in req and replace_conflicting):
> ws = self
> if env is None:
> if dist is None:
> env = Environment(self.entries)
> else:
> # Use an empty environment and workingset to avoid
> # any further conflicts with the conflicting
> # distribution
> env = Environment([])
> ws = WorkingSet([])
> dist = best[req.key] = env.best_match(
> req, ws, installer,
> replace_conflicting=replace_conflicting
> )
> if dist is None:
> requirers = required_by.get(req, None)
> > raise DistributionNotFound(req, requirers)
> E pkg_resources.DistributionNotFound: The 'pkginfo'
> distribution was not found and is required by the application
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:870:
> DistributionNotFound
> ____________________ Test_get_metadata.test_w_package_name
> _____________________
>
> self = <pkginfo.tests.test_utils.Test_get_metadata
> testMethod=test_w_package_name>
>
> def test_w_package_name(self):
> from pkginfo.tests import _defaultMetadataVersion
> EXPECTED = _defaultMetadataVersion()
> from pkginfo.tests import _checkSample
> dist = self._callFUT('pkginfo')
> > self.assertEqual(dist.metadata_version, EXPECTED)
> E AssertionError: None != '2.1'
>
> pkginfo/tests/test_utils.py:134: AssertionError
> __________ Test_get_metadata.test_w_package_name_and_metadata_version
> __________
>
> self = <pkginfo.tests.test_utils.Test_get_metadata
> testMethod=test_w_package_name_and_metadata_version>
>
> def test_w_package_name_and_metadata_version(self):
> from pkginfo.tests import _checkSample
> from pkginfo.tests import _checkClassifiers
> dist = self._callFUT('pkginfo', metadata_version='1.2')
> self.assertEqual(dist.metadata_version, '1.2')
> > _checkSample(self, dist)
>
> pkginfo/tests/test_utils.py:142:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> pkginfo/tests/__init__.py:10: in _checkSample
> version = pkg_resources.require('pkginfo')[0].version
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:968: in require
> needed = self.resolve(parse_requirements(requirements))
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:829: in resolve
> dist = self._resolve_dist(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <pkg_resources.WorkingSet object at 0x7f0da3481750>
> req = Requirement.parse('pkginfo'), best = {'pkginfo': None}
> replace_conflicting = False
> env = <pkg_resources.Environment object at 0x7f0da33c44d0>, installer = None
> required_by = defaultdict(<class 'set'>, {}), to_activate = []
>
> def _resolve_dist(
> self, req, best, replace_conflicting, env, installer, required_by,
> to_activate
> ):
> dist = best.get(req.key)
> if dist is None:
> # Find the best distribution and add it to the map
> dist = self.by_key.get(req.key)
> if dist is None or (dist not in req and replace_conflicting):
> ws = self
> if env is None:
> if dist is None:
> env = Environment(self.entries)
> else:
> # Use an empty environment and workingset to avoid
> # any further conflicts with the conflicting
> # distribution
> env = Environment([])
> ws = WorkingSet([])
> dist = best[req.key] = env.best_match(
> req, ws, installer,
> replace_conflicting=replace_conflicting
> )
> if dist is None:
> requirers = required_by.get(req, None)
> > raise DistributionNotFound(req, requirers)
> E pkg_resources.DistributionNotFound: The 'pkginfo'
> distribution was not found and is required by the application
>
> /usr/lib/python3/dist-packages/pkg_resources/__init__.py:870:
> DistributionNotFound
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_develop.py::DevelopTests::test_ctor_w_path
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/__init__.py:6:
> DeprecationWarning: pkg_resources is deprecated as an API. See
> https://setuptools.pypa.io/en/latest/pkg_resources.html
> import pkg_resources
>
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_name
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_name_and_metadata_version
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_package
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_package_and_metadata_version
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_utils.py::Test_get_metadata::test_w_module
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_utils.py::Test_get_metadata::test_w_module_and_metadata_version
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_utils.py::Test_get_metadata::test_w_package_name
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_utils.py::Test_get_metadata::test_w_package_name_and_metadata_version
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/installed.py:63:
> UserWarning: No PKG-INFO found for package: pkginfo
> warnings.warn('No PKG-INFO found for package: %s' % self.package_name)
>
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_pth
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/manky/namespaced/__init__.py:4:
> DeprecationWarning: Deprecated call to
> `pkg_resources.declare_namespace('namespaced')`.
> Implementing implicit namespace packages (as specified in PEP 420) is
> preferred to `pkg_resources.declare_namespace`. See
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
> pkg_resources.declare_namespace(__name__)
>
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_pth
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/installed.py:63:
> UserWarning: No PKG-INFO found for package: namespaced.manky
> warnings.warn('No PKG-INFO found for package: %s' % self.package_name)
>
> .pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_setuptools
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build/pkginfo/tests/wonky/namespaced/__init__.py:4:
> DeprecationWarning: Deprecated call to
> `pkg_resources.declare_namespace('namespaced')`.
> Implementing implicit namespace packages (as specified in PEP 420) is
> preferred to `pkg_resources.declare_namespace`. See
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
> pkg_resources.declare_namespace(__name__)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED pkginfo/tests/test_develop.py::DevelopTests::test_ctor_w_path -
> pkg_re...
> FAILED pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_name -
> As...
> FAILED
> pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_name_and_metadata_version
> FAILED pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_package
> FAILED
> pkginfo/tests/test_installed.py::InstalledTests::test_ctor_w_package_and_metadata_version
> FAILED
> pkginfo/tests/test_installed.py::InstalledTests::test_namespaced_pkg_installed_via_pth
> FAILED pkginfo/tests/test_utils.py::Test_get_metadata::test_w_module -
> Assert...
> FAILED
> pkginfo/tests/test_utils.py::Test_get_metadata::test_w_module_and_metadata_version
> FAILED pkginfo/tests/test_utils.py::Test_get_metadata::test_w_package_name -
> ...
> FAILED
> pkginfo/tests/test_utils.py::Test_get_metadata::test_w_package_name_and_metadata_version
> ================= 10 failed, 159 passed, 12 warnings in 0.72s
> ==================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pkginfo/build; python3.11 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-pkginfo_1.8.2-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---