Your message dated Sun, 12 May 2024 01:35:36 +0000
with message-id <e1s5y7k-003yoq...@fasolo.debian.org>
and subject line Bug#1052860: fixed in python-plaster-pastedeploy 0.5-6
has caused the Debian Bug report #1052860,
regarding python-plaster-pastedeploy: FTBFS: dh_auto_test: error: pybuild 
--test --test-pytest -i python{version} -p 3.11 returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1052860: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052860
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-plaster-pastedeploy
Version: 0.5-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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>>'
> PYBUILD_SYSTEM=custom \
> PYBUILD_BEFORE_TEST='cp -r src/plaster_pastedeploy.egg-info {build_dir}' \
> PYBUILD_AFTER_TEST='rm -r {build_dir}/plaster_pastedeploy.egg-info' \
> PYBUILD_TEST_ARGS='env PYTHONPATH={build_dir} {interpreter} -m pytest' \
> dh_auto_test
> I: pybuild pybuild:314: cp -r src/plaster_pastedeploy.egg-info 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build
> I: pybuild base:291: env 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build python3.11 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> testpaths: src/plaster_pastedeploy, tests
> collected 70 items
> 
> tests/test_configdict.py ..                                              [  
> 2%]
> tests/test_get_settings.py .................                             [ 
> 27%]
> tests/test_get_wsgi_app.py FF.FF.FF.FF.FF.FF.FFF                         [ 
> 57%]
> tests/test_get_wsgi_app_settings.py F..FFF                               [ 
> 65%]
> tests/test_get_wsgi_filter.py F..F.FFFF                                  [ 
> 78%]
> tests/test_get_wsgi_server.py F..F.FFFF                                  [ 
> 91%]
> tests/test_loader.py .                                                   [ 
> 92%]
> tests/test_setup_logging.py .....                                        
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________ TestSimpleURI.test_get_wsgi_app_with_relative 
> _________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSimpleURI object at 0x7fe4eba65b50>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _____________________ TestSimpleURI.test_get_wsgi_app_main 
> _____________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSimpleURI object at 0x7fe4eba65f90>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________ TestSectionedURI.test_get_wsgi_app_with_relative 
> _______________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSectionedURI object at 0x7fe4eba64610>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ___________________ TestSectionedURI.test_get_wsgi_app_main 
> ____________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSectionedURI object at 0x7fe4ebc36e10>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> __________ TestSchemeAndSectionedURI.test_get_wsgi_app_with_relative 
> ___________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSchemeAndSectionedURI object at 
> 0x7fe4ebc36d10>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________ TestSchemeAndSectionedURI.test_get_wsgi_app_main 
> _______________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestSchemeAndSectionedURI object at 
> 0x7fe4ebc36550>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________ TestRelativeURI.test_get_wsgi_app_with_relative 
> ________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeURI object at 0x7fe4ebc340d0>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ____________________ TestRelativeURI.test_get_wsgi_app_main 
> ____________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeURI object at 0x7fe4ebc37250>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ___________ TestRelativeSectionedURI.test_get_wsgi_app_with_relative 
> ___________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeSectionedURI object at 
> 0x7fe4ebbbb2d0>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________ TestRelativeSectionedURI.test_get_wsgi_app_main 
> ________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeSectionedURI object at 
> 0x7fe4ebbbb010>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______ TestRelativeSchemeAndSectionedURI.test_get_wsgi_app_with_relative 
> _______
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeSchemeAndSectionedURI object at 
> 0x7fe4ebbbb310>
> 
>     def test_get_wsgi_app_with_relative(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:21: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ___________ TestRelativeSchemeAndSectionedURI.test_get_wsgi_app_main 
> ___________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestRelativeSchemeAndSectionedURI object at 
> 0x7fe4ebc1f4d0>
> 
>     def test_get_wsgi_app_main(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app('main')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app.py:26: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128:
>  in get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______________________________ TestEggURI.test_it 
> ______________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestEggURI object at 0x7fe4ebbbbe10>
> 
>     def test_it(self):
>         import fakeapp.apps
> >       app = self.loader.get_wsgi_app()
> 
> tests/test_get_wsgi_app.py:67: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128: in 
> get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________________ TestEggURI.test_it_override_name 
> _______________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestEggURI object at 0x7fe4ebbbb810>
> 
>     def test_it_override_name(self):
>         import fakeapp.configapps
> >       app = self.loader.get_wsgi_app('configed')
> 
> tests/test_get_wsgi_app.py:72: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128: in 
> get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _________________________ TestEggURI.test_invalid_name 
> _________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app.TestEggURI object at 0x7fe4ebc34790>
> 
>     def test_invalid_name(self):
>         with pytest.raises(LookupError):
> >           self.loader.get_wsgi_app('invalid')
> 
> tests/test_get_wsgi_app.py:77: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:128: in 
> get_wsgi_app
>     return loadapp(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:248: in loadapp
>     return loadobj(APP, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ____________________ TestFullURI.test_get_wsgi_app_settings 
> ____________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app_settings.TestFullURI object at 0x7fe4ebbfd010>
> 
>     def test_get_wsgi_app_settings(self):
> >       result = self.loader.get_wsgi_app_settings('test_get')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app_settings.py:18: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:197:
>  in get_wsgi_app_settings
>     conf = appconfig(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:260: in appconfig
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ___________________ TestSimpleURI.test_get_wsgi_app_settings 
> ___________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app_settings.TestSimpleURI object at 
> 0x7fe4ebbfe490>
> 
>     def test_get_wsgi_app_settings(self):
> >       conf = self.loader.get_wsgi_app_settings()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_app_settings.py:46: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:197:
>  in get_wsgi_app_settings
>     conf = appconfig(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:260: in appconfig
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______________________________ TestEggURI.test_it 
> ______________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app_settings.TestEggURI object at 0x7fe4ebbff3d0>
> 
>     def test_it(self):
> >       conf = self.loader.get_wsgi_app_settings()
> 
> tests/test_get_wsgi_app_settings.py:58: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:197: in 
> get_wsgi_app_settings
>     conf = appconfig(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:260: in appconfig
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _________________________ TestEggURI.test_invalid_name 
> _________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_app_settings.TestEggURI object at 0x7fe4ebbff710>
> 
>     def test_invalid_name(self):
>         with pytest.raises(LookupError):
> >           self.loader.get_wsgi_app_settings('invalid')
> 
> tests/test_get_wsgi_app_settings.py:63: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:197: in 
> get_wsgi_app_settings
>     conf = appconfig(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:260: in appconfig
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______________________ TestSimpleURI.test_get_wsgi_filter 
> ______________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestSimpleURI object at 0x7fe4ebbccd90>
> 
>     def test_get_wsgi_filter(self):
>         import fakeapp.apps
> >       app_filter_factory = self.loader.get_wsgi_filter('filt')
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_filter.py:20: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168:
>  in get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ____________________ TestSectionedURI.test_get_wsgi_filter 
> _____________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestSectionedURI object at 0x7fe4ebbcd150>
> 
>     def test_get_wsgi_filter(self):
>         import fakeapp.apps
> >       app_filter_factory = self.loader.get_wsgi_filter()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_filter.py:41: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168:
>  in get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ________________ TestSchemeAndSectionedURI.test_get_wsgi_filter 
> ________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestSchemeAndSectionedURI object at 
> 0x7fe4ebbcf350>
> 
>     def test_get_wsgi_filter(self):
>         import fakeapp.apps
> >       app_filter_factory = self.loader.get_wsgi_filter()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_filter.py:41: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168:
>  in get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______________________________ TestEggURI.test_it 
> ______________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestEggURI object at 0x7fe4ebbce990>
> 
>     def test_it(self):
>         import fakeapp.apps
> >       filter = self.loader.get_wsgi_filter()
> 
> tests/test_get_wsgi_filter.py:67: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168: in 
> get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________________ TestEggURI.test_it_override_name 
> _______________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestEggURI object at 0x7fe4ebbcfe50>
> 
>     def test_it_override_name(self):
>         import fakeapp.apps
> >       filter = self.loader.get_wsgi_filter('caps')
> 
> tests/test_get_wsgi_filter.py:73: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168: in 
> get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _________________________ TestEggURI.test_invalid_name 
> _________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_filter.TestEggURI object at 0x7fe4ebbcce10>
> 
>     def test_invalid_name(self):
>         with pytest.raises(LookupError):
> >           self.loader.get_wsgi_filter('invalid')
> 
> tests/test_get_wsgi_filter.py:79: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:168: in 
> get_wsgi_filter
>     return loadfilter(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:252: in loadfilter
>     return loadobj(FILTER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> __________________ TestSimpleURI.test_get_wsgi_server_default 
> __________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestSimpleURI object at 0x7fe4ebc1d910>
> 
>     def test_get_wsgi_server_default(self):
> >       server = self.loader.get_wsgi_server()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_server.py:19: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149:
>  in get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ________________ TestSectionedURI.test_get_wsgi_server_default 
> _________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestSectionedURI object at 0x7fe4ebc1cbd0>
> 
>     def test_get_wsgi_server_default(self):
> >       server = self.loader.get_wsgi_server()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_server.py:34: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149:
>  in get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ____________ TestSchemeAndSectionedURI.test_get_wsgi_server_default 
> ____________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestSchemeAndSectionedURI object at 
> 0x7fe4ebc1f2d0>
> 
>     def test_get_wsgi_server_default(self):
> >       server = self.loader.get_wsgi_server()
> 
> /<<PKGBUILDDIR>>/tests/test_get_wsgi_server.py:34: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149:
>  in get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:326: in _loadconfig
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:461: in get_context
>     context = self._context_from_use(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:488: in 
> _context_from_use
>     context = self.get_context(object_type, name=use, global_conf=global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:403: in get_context
>     return loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> ______________________________ TestEggURI.test_it 
> ______________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestEggURI object at 0x7fe4ebc09010>
> 
>     def test_it(self):
> >       server = self.loader.get_wsgi_server()
> 
> tests/test_get_wsgi_server.py:53: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149: in 
> get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _______________________ TestEggURI.test_it_override_name 
> _______________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestEggURI object at 0x7fe4ebc0aa50>
> 
>     def test_it_override_name(self):
> >       server = self.loader.get_wsgi_server('fake')
> 
> tests/test_get_wsgi_server.py:58: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149: in 
> get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> _________________________ TestEggURI.test_invalid_name 
> _________________________
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
> >           return next(cls.discover(name=name))
> E           StopIteration
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:563: StopIteration
> 
> During handling of the above exception, another exception occurred:
> 
> self = <tests.test_get_wsgi_server.TestEggURI object at 0x7fe4ebc0a3d0>
> 
>     def test_invalid_name(self):
>         with pytest.raises(LookupError):
> >           self.loader.get_wsgi_server('invalid')
> 
> tests/test_get_wsgi_server.py:64: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> .pybuild/cpython3_3.11/build/plaster_pastedeploy/__init__.py:149: in 
> get_wsgi_server
>     return loadserver(self.pastedeploy_spec,
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:256: in loadserver
>     return loadobj(SERVER, uri, name=name, **kw)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:270: in loadobj
>     context = loadcontext(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:295: in loadcontext
>     return _loaders[scheme](
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:334: in _loadegg
>     return loader.get_context(object_type, name, global_conf)
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:638: in get_context
>     entry_point, protocol, ep_name = self.find_egg_entry_point(
> /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:658: in 
> find_egg_entry_point
>     dist = importlib_metadata.distribution(self.spec)
> /usr/lib/python3.11/importlib/metadata/__init__.py:981: in distribution
>     return Distribution.from_name(distribution_name)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cls = <class 'importlib.metadata.Distribution'>, name = 'FakeApp'
> 
>     @classmethod
>     def from_name(cls, name: str):
>         """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.
>         """
>         if not name:
>             raise ValueError("A distribution name is required.")
>         try:
>             return next(cls.discover(name=name))
>         except StopIteration:
> >           raise PackageNotFoundError(name)
> E           importlib.metadata.PackageNotFoundError: No package metadata was 
> found for FakeApp
> 
> /usr/lib/python3.11/importlib/metadata/__init__.py:565: PackageNotFoundError
> =============================== warnings summary 
> ===============================
> tests/conftest.py:2
>   /<<PKGBUILDDIR>>/tests/conftest.py:2: DeprecationWarning: pkg_resources is 
> deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     import pkg_resources
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_get_wsgi_app.py::TestSimpleURI::test_get_wsgi_app_with_relative
> FAILED tests/test_get_wsgi_app.py::TestSimpleURI::test_get_wsgi_app_main - 
> im...
> FAILED 
> tests/test_get_wsgi_app.py::TestSectionedURI::test_get_wsgi_app_with_relative
> FAILED tests/test_get_wsgi_app.py::TestSectionedURI::test_get_wsgi_app_main
> FAILED 
> tests/test_get_wsgi_app.py::TestSchemeAndSectionedURI::test_get_wsgi_app_with_relative
> FAILED 
> tests/test_get_wsgi_app.py::TestSchemeAndSectionedURI::test_get_wsgi_app_main
> FAILED 
> tests/test_get_wsgi_app.py::TestRelativeURI::test_get_wsgi_app_with_relative
> FAILED tests/test_get_wsgi_app.py::TestRelativeURI::test_get_wsgi_app_main - 
> ...
> FAILED 
> tests/test_get_wsgi_app.py::TestRelativeSectionedURI::test_get_wsgi_app_with_relative
> FAILED 
> tests/test_get_wsgi_app.py::TestRelativeSectionedURI::test_get_wsgi_app_main
> FAILED 
> tests/test_get_wsgi_app.py::TestRelativeSchemeAndSectionedURI::test_get_wsgi_app_with_relative
> FAILED 
> tests/test_get_wsgi_app.py::TestRelativeSchemeAndSectionedURI::test_get_wsgi_app_main
> FAILED tests/test_get_wsgi_app.py::TestEggURI::test_it - 
> importlib.metadata.P...
> FAILED tests/test_get_wsgi_app.py::TestEggURI::test_it_override_name - 
> import...
> FAILED tests/test_get_wsgi_app.py::TestEggURI::test_invalid_name - 
> importlib....
> FAILED 
> tests/test_get_wsgi_app_settings.py::TestFullURI::test_get_wsgi_app_settings
> FAILED 
> tests/test_get_wsgi_app_settings.py::TestSimpleURI::test_get_wsgi_app_settings
> FAILED tests/test_get_wsgi_app_settings.py::TestEggURI::test_it - 
> importlib.m...
> FAILED tests/test_get_wsgi_app_settings.py::TestEggURI::test_invalid_name - 
> i...
> FAILED tests/test_get_wsgi_filter.py::TestSimpleURI::test_get_wsgi_filter - 
> i...
> FAILED tests/test_get_wsgi_filter.py::TestSectionedURI::test_get_wsgi_filter
> FAILED 
> tests/test_get_wsgi_filter.py::TestSchemeAndSectionedURI::test_get_wsgi_filter
> FAILED tests/test_get_wsgi_filter.py::TestEggURI::test_it - 
> importlib.metadat...
> FAILED tests/test_get_wsgi_filter.py::TestEggURI::test_it_override_name - 
> imp...
> FAILED tests/test_get_wsgi_filter.py::TestEggURI::test_invalid_name - 
> importl...
> FAILED 
> tests/test_get_wsgi_server.py::TestSimpleURI::test_get_wsgi_server_default
> FAILED 
> tests/test_get_wsgi_server.py::TestSectionedURI::test_get_wsgi_server_default
> FAILED 
> tests/test_get_wsgi_server.py::TestSchemeAndSectionedURI::test_get_wsgi_server_default
> FAILED tests/test_get_wsgi_server.py::TestEggURI::test_it - 
> importlib.metadat...
> FAILED tests/test_get_wsgi_server.py::TestEggURI::test_it_override_name - 
> imp...
> FAILED tests/test_get_wsgi_server.py::TestEggURI::test_invalid_name - 
> importl...
> =================== 31 failed, 39 passed, 1 warning in 2.28s 
> ===================
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: env 
> PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/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-plaster-pastedeploy_0.5-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&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 ---
--- Begin Message ---
Source: python-plaster-pastedeploy
Source-Version: 0.5-6
Done: Emmanuel Arias <eam...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-plaster-pastedeploy, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1052...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Arias <eam...@debian.org> (supplier of updated 
python-plaster-pastedeploy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 May 2024 22:11:46 -0300
Source: python-plaster-pastedeploy
Architecture: source
Version: 0.5-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Emmanuel Arias <eam...@debian.org>
Closes: 1048274 1052860
Changes:
 python-plaster-pastedeploy (0.5-6) unstable; urgency=medium
 .
   * Team upload.
   * d/rules: Add override_dh_auto_clean to avoid remove
     tests/fake_packages/FakeApp/FakeApp.egg-info folder that is needed
     in tests to create a fake package (Closes: #1052860, #1048274).
   * d/control: Bump Standards-Version to 4.7.0 (from 4.4.1; no further
     changes needed).
   * d/control: Bump debhelper-compat to 13.
Checksums-Sha1:
 350d4e4650fae43a54b3038c7fd5424e3114fc07 2333 
python-plaster-pastedeploy_0.5-6.dsc
 acd28fed18596413383222ff61ff11ecb5c3f54f 18780 
python-plaster-pastedeploy_0.5-6.debian.tar.xz
 3230f7a58e18126d61e0ce76c8ee186e4f50b76e 7118 
python-plaster-pastedeploy_0.5-6_amd64.buildinfo
Checksums-Sha256:
 89c25ac6d13f33b30df43bd106db57a906d252721dde9d5ab736b810d07fc5ee 2333 
python-plaster-pastedeploy_0.5-6.dsc
 83ed1c2751a592f9f91c683178d5f4f46dcb8fa6247353036739232767a858f4 18780 
python-plaster-pastedeploy_0.5-6.debian.tar.xz
 134c7de1e6a83c37c3a658b4e358520ee06e8d8ea7526221dfd6eff6b8d2c28d 7118 
python-plaster-pastedeploy_0.5-6_amd64.buildinfo
Files:
 d65acdfea3548897b5de6480689f240e 2333 python optional 
python-plaster-pastedeploy_0.5-6.dsc
 4f9bbf4e050dd6c0c0fe3d1609f1522d 18780 python optional 
python-plaster-pastedeploy_0.5-6.debian.tar.xz
 75e47f958747983f6f22c51efc2e389f 7118 python optional 
python-plaster-pastedeploy_0.5-6_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmZAGkoSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxSzUQAI1Moy5WeK9psgrhBpxzUhHaMOjAFzOO
giXBTsLlpgAgXo5ZSEFWoDU92HIFTdLM5cMTLKfA0SOU3gLAYFmWSp4x4nQMWblz
jNwXowntz0uHmeOmaZO2Fu0p9tX1mx47fDLvcrQrTANp/ahSDiTbC1o/GW8Ujs/X
o+rCouO5OZjJIS1fyMrlSPbcG66N+0U/Y+svbeopzsJ7l8Vo7j7SK2N6dP3oklrf
TV7WpqVmbQ30CiP+srvWT1jSeWNpfz+jrPyieN/J4F2wyZZemkvkCtNe+5xP+SHI
yjAZZqdlHNE5dIVYWZQ1KVNm1+OfWVU7IOIUb9gD6rcZAhH7tBWE0Iewl0Nyue2T
glJZHhTm+DCKUCV0MqQtKBQZc4nUZeOpr3vK7RqXjPLzyrfD21NTn3Mlwm5XwvzM
azfNCMWAf8dBdF123616CkO1/h8ArKaXxRPvh3lJtluyNs0nv5aN8mC69kTOJCXJ
oesA2lgCD9Wg/p0WIz9yIJcMe++M8+uIGDw9BwuZFYpNQcYT+aTLDhNFoOfxD401
BaDuLryQ5h+RBg4f2iYM5dnUfqisZJ0NSRQEHp7H78NAO1AlNF8d5TjHHm9CUl0w
XNVaLjf5OPCAQc+5p59axUBdvdi8Jo2N74Zs63HhDvZsFD3uUrgMgyZCPHt/6WKc
x48ta0H9qE/1
=T+Pt
-----END PGP SIGNATURE-----

Attachment: pgpcuHGuW3Y9Q.pgp
Description: PGP signature


--- End Message ---

Reply via email to