Package Details: python-plaster-pastedeploy 1.0.1-1

Git Clone URL: https://aur.archlinux.org/python-plaster-pastedeploy.git (read-only, click to copy)
Package Base: python-plaster-pastedeploy
Description: A loader interface around multiple config file formats.
Upstream URL: https://github.com/pylons/plaster_pastedeploy
Licenses: MIT
Submitter: akstrfn
Maintainer: piernov
Last Packager: piernov
Votes: 0
Popularity: 0.000000
First Submitted: 2018-08-22 10:23 (UTC)
Last Updated: 2023-09-22 11:19 (UTC)

Latest Comments

simona commented on 2023-07-12 08:26 (UTC)

==> ERRORE: Impossibile scaricare https://files.pythonhosted.org/packages/source/p/plaster_pastedeploy/plaster_pastedeploy-1.0.1.tar.gz.asc

dreieck commented on 2023-05-05 18:56 (UTC)

check() fails for me:

==> Starting check()...
==================================================================== test session starts =====================================================================
platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0
rootdir: /tmp/makepkg/build/python-plaster-pastedeploy/src/plaster_pastedeploy-1.0.1
configfile: pytest.ini
testpaths: src/plaster_pastedeploy, tests
plugins: anyio-3.6.2, libtmux-0.21.1, typeguard-3.0.2, cov-4.0.0, mock-3.10.0, hypothesis-6.72.0
collected 71 items                                                                                                                                           

tests/test_configdict.py ..                                                                                                                            [  2%]
tests/test_get_settings.py .........E

=========================================================================== ERRORS ===========================================================================
________________________________________________________ ERROR at setup of TestFullURI.test_sections _________________________________________________________

self = <tests.test_get_settings.TestFullURI object at 0x7f6d8e8d3a90>, fake_packages = None

    @pytest.fixture(autouse=True)
    def loader(self, fake_packages):
>       self.loader = plaster.get_loader(self.config_uri)

tests/test_get_settings.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.11/site-packages/plaster/loaders.py:109: in get_loader
    matched_loaders = find_loaders(requested_scheme, protocols=protocols)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

scheme = 'pastedeploy+ini', protocols = None

    def find_loaders(scheme, protocols=None):
        """
        Find all loaders that match the requested scheme and protocols.

        :param scheme: Any valid scheme. Examples would be something like ``ini``
            or ``ini+pastedeploy``.

        :param protocols: Zero or more :term:`loader protocol` identifiers that
            the loader must implement. If ``None`` then only generic loaders will
            be returned.

        :returns: A list containing zero or more :class:`plaster.ILoaderInfo`
            objects.

        """
        # build a list of all required entry points
        matching_groups = ["plaster.loader_factory"]

        if protocols:
            matching_groups += [f"plaster.{proto}_loader_factory" for proto in protocols]
        scheme = scheme.lower()

        # if a distribution is specified then it overrides the default search
        parts = scheme.split("+", 1)

        if len(parts) == 2:
            try:
                distro = metadata.distribution(parts[0])
            except metadata.PackageNotFoundError:
                pass
            else:
>               (dist, ep) = _find_ep_in_dist(distro, parts[1], matching_groups)
E               TypeError: cannot unpack non-iterable NoneType object

/usr/lib/python3.11/site-packages/plaster/loaders.py:156: TypeError
====================================================================== warnings summary ======================================================================
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('collective')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ofxstatement')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ofxstatement.plugins')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ofxstatement')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('pdftools')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ruamel')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
../../../../../../usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
  /usr/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================== short test summary info ===================================================================
ERROR tests/test_get_settings.py::TestFullURI::test_sections - TypeError: cannot unpack non-iterable NoneType object
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================== 11 passed, 21 warnings, 1 error in 0.82s ==========================================================
==> ERROR: A failure occurred in check().

Regards!