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:
[...]
98s ____________________ ERROR collecting tests/test_youtrak.py
____________________
98s ImportError while importing test module
'/tmp/autopkgtest.5oyiXy/autopkgtest_tmp/build/tests/test_youtrak.py'.
98s Hint: make sure your test modules/packages have valid Python names.
98s Traceback:
98s /usr/lib/python3.14/importlib/__init__.py:88: in import_module
98s return _bootstrap._gcd_import(name[level:], package, level)
98s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98s tests/test_youtrak.py:5: in <module>
98s from bugwarrior.services import ServiceConfig
98s /usr/lib/python3/dist-packages/bugwarrior/__init__.py:2: in <module>
98s from bugwarrior.command import pull, vault, uda
98s /usr/lib/python3/dist-packages/bugwarrior/command.py:11: in <module>
98s from bugwarrior.config import (
98s /usr/lib/python3/dist-packages/bugwarrior/config.py:322: in <module>
98s from bugwarrior.services import get_service
98s /usr/lib/python3/dist-packages/bugwarrior/services/__init__.py:9:
in <module>
98s from pkg_resources import iter_entry_points
98s E ModuleNotFoundError: No module named 'pkg_resources'
98s =============================== warnings summary
===============================
98s tests/test_activecollab2.py:76
98s
/tmp/autopkgtest.5oyiXy/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.
98s
'http://hello/\?(?=.*token=howdy)(?=.*path_info=\%2Fprojects\%2F[1-2]\%2Fuser-tasks)(?=.*format=json)'),
98s
98s tests/test_activecollab2.py:80
98s
/tmp/autopkgtest.5oyiXy/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.
98s
'http://hello/\?(?=.*token=howdy)(?=.*path_info=\%2Fprojects\%2F20\%2Ftickets\%2F10)(?=.*format=json)'),
98s
98s -- Docs:
https://docs.pytest.org/en/stable/how-to/capture-warnings.html
98s =========================== short test summary info
============================
98s ERROR tests/test_activecollab2.py
98s ERROR tests/test_bitbucket.py
98s ERROR tests/test_bts.py
98s ERROR tests/test_bugzilla.py
98s ERROR tests/test_config.py
98s ERROR tests/test_data.py
98s ERROR tests/test_db.py
98s ERROR tests/test_github.py
98s ERROR tests/test_gitlab.py
98s ERROR tests/test_gmail.py
98s ERROR tests/test_jira.py
98s ERROR tests/test_phab.py
98s ERROR tests/test_pivotaltracker.py
98s ERROR tests/test_redmine.py
98s ERROR tests/test_service.py
98s ERROR tests/test_string_compat.py
98s ERROR tests/test_taiga.py
98s ERROR tests/test_teamlab.py
98s ERROR tests/test_teamwork_projects.py
98s ERROR tests/test_templates.py
98s ERROR tests/test_trac.py
98s ERROR tests/test_trello.py
98s ERROR tests/test_youtrak.py
98s !!!!!!!!!!!!!!!!!!! Interrupted: 23 errors during collection
!!!!!!!!!!!!!!!!!!!
98s ================== 3 skipped, 2 warnings, 23 errors in 1.15s
===================