Package: src:bugwarrior
Version: 1.8.0-13
Severity: serious
Tags: sid forky
User: [email protected]
Usertags: pkg-resources-deprecation
using the removed pkg_resources module in the autopkg tests:
[...]
86s ____________________ ERROR collecting tests/test_youtrak.py
____________________
86s ImportError while importing test module
'/tmp/autopkgtest.WKuoXE/autopkgtest_tmp/build/tests/test_youtrak.py'.
86s Hint: make sure your test modules/packages have valid Python names.
86s Traceback:
86s /usr/lib/python3.14/importlib/__init__.py:88: in import_module
86s return _bootstrap._gcd_import(name[level:], package, level)
86s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86s tests/test_youtrak.py:5: in <module>
86s from bugwarrior.services import ServiceConfig
86s /usr/lib/python3/dist-packages/bugwarrior/__init__.py:2: in <module>
86s from bugwarrior.command import pull, vault, uda
86s /usr/lib/python3/dist-packages/bugwarrior/command.py:11: in <module>
86s from bugwarrior.config import (
86s /usr/lib/python3/dist-packages/bugwarrior/config.py:322: in <module>
86s from bugwarrior.services import get_service
86s /usr/lib/python3/dist-packages/bugwarrior/services/__init__.py:9:
in <module>
86s from pkg_resources import iter_entry_points
86s E ModuleNotFoundError: No module named 'pkg_resources'
86s =============================== warnings summary
===============================
86s tests/test_activecollab2.py:76
86s
/tmp/autopkgtest.WKuoXE/autopkgtest_tmp/build/tests/test_activecollab2.py:76:
SyntaxWarning: "\?" is an invalid escape sequence. Such sequences will
not work in the future. Did you mean "\\?"? A raw string is also an option.
86s
'http://hello/\?(?=.*token=howdy)(?=.*path_info=\%2Fprojects\%2F[1-2]\%2Fuser-tasks)(?=.*format=json)'),
86s
86s tests/test_activecollab2.py:80
86s
/tmp/autopkgtest.WKuoXE/autopkgtest_tmp/build/tests/test_activecollab2.py:80:
SyntaxWarning: "\?" is an invalid escape sequence. Such sequences will
not work in the future. Did you mean "\\?"? A raw string is also an option.
86s
'http://hello/\?(?=.*token=howdy)(?=.*path_info=\%2Fprojects\%2F20\%2Ftickets\%2F10)(?=.*format=json)'),
86s
86s -- Docs:
https://docs.pytest.org/en/stable/how-to/capture-warnings.html
86s =========================== short test summary info
============================
86s ERROR tests/test_activecollab2.py
86s ERROR tests/test_bitbucket.py
86s ERROR tests/test_bts.py
86s ERROR tests/test_bugzilla.py
86s ERROR tests/test_config.py
86s ERROR tests/test_data.py
86s ERROR tests/test_db.py
86s ERROR tests/test_github.py
86s ERROR tests/test_gitlab.py
86s ERROR tests/test_gmail.py
86s ERROR tests/test_jira.py
86s ERROR tests/test_phab.py
86s ERROR tests/test_pivotaltracker.py
86s ERROR tests/test_redmine.py
86s ERROR tests/test_service.py
86s ERROR tests/test_string_compat.py
86s ERROR tests/test_taiga.py
86s ERROR tests/test_teamlab.py
86s ERROR tests/test_teamwork_projects.py
86s ERROR tests/test_templates.py
86s ERROR tests/test_trac.py
86s ERROR tests/test_trello.py
86s ERROR tests/test_youtrak.py
86s !!!!!!!!!!!!!!!!!!! Interrupted: 23 errors during collection
!!!!!!!!!!!!!!!!!!!
86s ================== 3 skipped, 2 warnings, 23 errors in 0.75s
===================
86s E: pybuild pybuild:485: test: plugin pyproject failed with: exit
code=2: cd /tmp/autopk