Package: src:pytest
Version: 7.3.2-1
Severity: serious
Tags: sid trixie

see
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pytest/34610938/log.gz

at least two issues:

>   warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
E   DeprecationWarning: pkg_resources is deprecated as an API

/usr/lib/python3/dist-packages/pkg_resources/__init__.py:121: DeprecationWarning

and


E       Failed: nomatch: 'test_hello.py::test_hello*PASSED*'
E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.11.4, pytest-7.2.1, pluggy-1.0.0+repack -- /usr/bin/python3.11'
E           and: 'cachedir: .pytest_cache'
E and: 'rootdir: /tmp/pytest-of-debci/pytest-0/test_cmdline_python_namespace_package0/world'
E           and: 'collecting ... collected 4 items'
E           and: ''
E       fnmatch: 'test_hello.py::test_hello*PASSED*'
E with: 'test_hello.py::test_hello PASSED [ 25%]'
E       fnmatch: 'test_hello.py::test_other*PASSED*'
E with: 'test_hello.py::test_other PASSED [ 50%]'
E       fnmatch: 'ns_pkg/world/test_world.py::test_world*PASSED*'
E with: 'ns_pkg/world/test_world.py::test_world PASSED [ 75%]'
E       fnmatch: 'ns_pkg/world/test_world.py::test_other*PASSED*'
E with: 'ns_pkg/world/test_world.py::test_other PASSED [100%]'
E       nomatch: '*4 passed in*'
E           and: ''
E and: '=============================== warnings summary ===============================' E and: '../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:121' E and: ' /usr/lib/python3/dist-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API' E and: ' warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)'
E           and: ''
E and: '../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2870' E and: " /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`." E and: ' 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'
E           and: '    declare_namespace(pkg)'
E           and: ''
E           and: 'ns_pkg/__init__.py:1'
E and: " /tmp/pytest-of-debci/pytest-0/test_cmdline_python_namespace_package0/world/ns_pkg/__init__.py:1: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ns_pkg')`." E and: ' 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'
E           and: "    __import__('pkg_resources').declare_namespace(__name__)"
E           and: ''
E and: '-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html' E and: '======================== 4 passed, 3 warnings in 0.06s ========================='
E       remains unmatched: '*4 passed in*'

/tmp/autopkgtest-lxc.sat21qx2/downtmp/build.Tna/src/testing/acceptance_test.py:699: Failed
----------------------------- Captured stdout call -----------------------------

Reply via email to