• Bug#1067297: taskw: FTBFS: dh_auto_test: error: pybuild --test --test-p

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:15 2024
    Source: taskw
    Version: 2.0.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules binary
    dh binary --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py config
    running config
    I: pybuild base:305: python3.11 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw
    copying taskw/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw copying taskw/taskrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw
    copying taskw/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw
    copying taskw/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw
    copying taskw/task.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw copying taskw/warrior.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/uuid.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/choice.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/duration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/annotationarray.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/numeric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/commaseparateduuid.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/date.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    copying taskw/fields/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/fields
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_warrior.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_taskrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_datas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_recursive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    copying taskw/test/test_task.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test
    running egg_info
    creating taskw.egg-info
    writing taskw.egg-info/PKG-INFO
    writing dependency_links to taskw.egg-info/dependency_links.txt
    writing requirements to taskw.egg-info/requires.txt
    writing top-level names to taskw.egg-info/top_level.txt
    writing manifest file 'taskw.egg-info/SOURCES.txt'
    reading manifest file 'taskw.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '.tox_tests.sh'
    adding license file 'LICENSE.txt'
    writing manifest file 'taskw.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'taskw.test.data' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'taskw.test.data' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'taskw.test.data' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'taskw.test.data' to be distributed and are
    already explicitly excluding 'taskw.test.data' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable)
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test/data copying taskw/test/data/default.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test/data
    copying taskw/test/data/empty.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test/data
    copying taskw/test/data/included.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/taskw/test/data
    I: pybuild base:305: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw
    copying taskw/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw copying taskw/taskrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw
    copying taskw/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw
    copying taskw/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw
    copying taskw/task.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw copying taskw/warrior.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/uuid.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/choice.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/duration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/annotationarray.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/numeric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/commaseparateduuid.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/date.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    copying taskw/fields/array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/fields
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_warrior.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_taskrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_datas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_recursive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    copying taskw/test/test_task.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test
    running egg_info
    writing taskw.egg-info/PKG-INFO
    writing dependency_links to taskw.egg-info/dependency_links.txt
    writing requirements to taskw.egg-info/requires.txt
    writing top-level names to taskw.egg-info/top_level.txt
    reading manifest file 'taskw.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '.tox_tests.sh'
    adding license file 'LICENSE.txt'
    writing manifest file 'taskw.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'taskw.test.data' is absent from the `packages` configuration.
    !!

    ********************************************************************************
    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'taskw.test.data' as an importable package[^1],
    but it is absent from setuptools' `packages` configuration.

    This leads to an ambiguous overall configuration. If you want to distribute this
    package, please make sure that 'taskw.test.data' is explicitly added
    to the `packages` configuration field.

    Alternatively, you can also rely on setuptools' discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

    If you don't want 'taskw.test.data' to be distributed and are
    already explicitly excluding 'taskw.test.data' via
    `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
    you can try to use `exclude_package_data`, or `include-package-data=False` in
    combination with a more fine grained `package-data` configuration.

    You can read more about "package data files" on setuptools documentation page:

    - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


    [^1]: For Python, any directory (with suitable naming) can be imported,
    even if it does not contain any `.py` files.
    On the other hand, currently there is no concept of package data
    directory, all directories are treated like packages.
    ********************************************************************************

    !!
    check.warn(importable)
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test/data copying taskw/test/data/default.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test/data
    copying taskw/test/data/empty.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test/data
    copying taskw/test/data/included.taskrc -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/taskw/test/data
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: setup.cfg
    collected 151 items

    taskw/test/test_datas.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 31%]
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 53%]
    taskw/test/test_fields.py ................................ [ 74%]
    taskw/test/test_recursive.py FF [ 76%]
    taskw/test/test_task.py .......... [ 82%]
    taskw/test/test_taskrc.py .... [ 85%]
    taskw/test/test_utils.py ................... [ 98%]
    taskw/test/test_warrior.py ... [100%]

    =================================== FAILURES ===================================
    _____________________ TestDBDirect.test_has_two_categories _____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f710>

    def test_has_two_categories(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:65: AttributeError
    __________________________ TestDBDirect.test_empty_db __________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f2f0>

    def test_empty_db(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:71: AttributeError
    ____________________________ TestDBDirect.test_add _____________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f380>

    def test_add(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:75: AttributeError
    ___________________ TestDBDirect.test_unchanging_load_tasks ____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f4a0>

    def test_unchanging_load_tasks(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:80: AttributeError
    _______________ TestDBDirect.test_completion_raising_unspecified _______________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e6f0>

    def test_completion_raising_unspecified(self):
    with pytest.raises(KeyError):
    self.tw.task_done()
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:87: AttributeError
    _____________ TestDBDirect.test_completing_task_by_id_unspecified ______________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5ecf0>

    def test_completing_task_by_id_unspecified(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:90: AttributeError
    ______________ TestDBDirect.test_completing_task_by_id_specified _______________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5ee40>

    def test_completing_task_by_id_specified(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:100: AttributeError
    ______________ TestDBDirect.test_completing_task_by_id_retrieved _______________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5df10>

    def test_completing_task_by_id_retrieved(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:109: AttributeError
    __________________ TestDBDirect.test_completing_task_by_uuid ___________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f2c0>

    def test_completing_task_by_uuid(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:118: AttributeError
    _____________________ TestDBDirect.test_get_task_mismatch ______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e360>

    def test_get_task_mismatch(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:128: AttributeError
    _______________________ TestDBDirect.test_updating_task ________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e8a0>

    def test_updating_task(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:135: AttributeError
    _________________________ TestDBDirect.test_update_exc _________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5ea50>

    def test_update_exc(self):
    task = dict(description="lol")
    with pytest.raises(KeyError):
    self.tw.task_update(task)
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:173: AttributeError
    ______________________ TestDBDirect.test_add_complicated _______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5ed20>

    def test_add_complicated(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project"
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:176: AttributeError
    _______________________ TestDBDirect.test_add_timestamp ________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e270>

    def test_add_timestamp(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project",
    entry="20110101T000000Z",
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:185: AttributeError
    ________________________ TestDBDirect.test_add_datetime ________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e5a0>

    def test_add_datetime(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project",
    entry=datetime.datetime(2011, 1, 1, tzinfo=dateutil.tz.tzutc()),
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:196: AttributeError
    ____________________ TestDBDirect.test_add_with_uda_string _____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e2d0>

    def test_add_with_uda_string(self):
    self.tw.task_add(
    "foobar",
    somestring="this is a uda",
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:209: AttributeError
    _____________________ TestDBDirect.test_add_with_uda_date ______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5ddf0>

    def test_add_with_uda_date(self):
    self.tw.task_add(
    "foobar",
    somedate=datetime.datetime(2011, 1, 1, tzinfo=dateutil.tz.tzutc()),
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:220: AttributeError
    _____________________ TestDBDirect.test_remove_uda_string ______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5da00>

    def test_remove_uda_string(self):
    # Check that a string UDA is removed from a task when its
    # value is set to None
    task = self.tw.task_add(
    "foobar",
    somestring='this is a uda',
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:233: AttributeError
    ______________________ TestDBDirect.test_remove_uda_date _______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e180>

    def test_remove_uda_date(self):
    # Check that a date UDA is removed from a task when its
    # value is set to None
    task = self.tw.task_add(
    "foobar",
    somedate=datetime.datetime(2011, 1, 1),
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:245: AttributeError
    _____________________ TestDBDirect.test_remove_uda_numeric _____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e9c0>

    def test_remove_uda_numeric(self):
    # Check that a numeric UDA is removed from a task when its
    # value is set to None
    task = self.tw.task_add(
    "foobar",
    somenumber=15,
    )
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:257: AttributeError
    _________________ TestDBDirect.test_completing_completed_task __________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f170>

    def test_completing_completed_task(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:267: AttributeError
    __________________ TestDBDirect.test_updating_completed_task ___________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5f350>

    def test_updating_completed_task(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:273: AttributeError
    _____________________ TestDBDirect.test_get_task_completed _____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5df70>

    def test_get_task_completed(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:280: AttributeError
    _________________ TestDBDirect.test_load_task_pending_command __________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5e120>

    def test_load_task_pending_command(self):
    tasks = self.tw.load_tasks(command='pending')
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:288: AttributeError
    ________________ TestDBDirect.test_load_task_completed_command _________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5d610>

    def test_load_task_completed_command(self):
    tasks = self.tw.load_tasks(command='completed')
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:293: AttributeError
    _______________ TestDBDirect.test_load_task_with_unknown_command _______________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5dc40>

    def test_load_task_with_unknown_command(self):
    with pytest.raises(ValueError):
    self.tw.load_tasks(command='foobar')
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:299: AttributeError
    ___________________ TestDBDirect.test_updating_deleted_task ____________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5d7c0>

    def test_updating_deleted_task(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:302: AttributeError
    ___________________________ TestDBDirect.test_delete ___________________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5d880>

    def test_delete(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:309: AttributeError
    ___________________ TestDBDirect.test_delete_already_deleted ___________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5d700>

    def test_delete_already_deleted(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:315: AttributeError
    __________________ TestDBDirect.test_load_tasks_with_one_each __________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aedc5d580>

    def test_load_tasks_with_one_each(self):
    self.tw.task_add("foobar1")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:321: AttributeError
    ______________________ TestDBDirect.test_delete_completed ______________________

    self = <taskw.test.test_datas.TestDBDirect object at 0x7f7aee817380>

    def test_delete_completed(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBDirect' object has no attribute 'tw'

    taskw/test/test_datas.py:336: AttributeError
    ____________________ TestDBShellout.test_has_two_categories ____________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc5c140>

    def test_has_two_categories(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:65: AttributeError
    _________________________ TestDBShellout.test_empty_db _________________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aeddd38c0>

    def test_empty_db(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:71: AttributeError
    ___________________________ TestDBShellout.test_add ____________________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aee7e5820>

    def test_add(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:75: AttributeError
    __________________ TestDBShellout.test_unchanging_load_tasks ___________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aee7ba2a0>

    def test_unchanging_load_tasks(self):
    tasks = self.tw.load_tasks()
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:80: AttributeError
    ______________ TestDBShellout.test_completion_raising_unspecified ______________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aee7baa20>

    def test_completion_raising_unspecified(self):
    with pytest.raises(KeyError):
    self.tw.task_done()
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:87: AttributeError
    ____________ TestDBShellout.test_completing_task_by_id_unspecified _____________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aee7d78f0>

    def test_completing_task_by_id_unspecified(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:90: AttributeError
    _____________ TestDBShellout.test_completing_task_by_id_specified ______________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aee7d7920>

    def test_completing_task_by_id_specified(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:100: AttributeError
    _____________ TestDBShellout.test_completing_task_by_id_retrieved ______________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2aa20>

    def test_completing_task_by_id_retrieved(self):
    task = self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:109: AttributeError
    _________________ TestDBShellout.test_completing_task_by_uuid __________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2bfe0>

    def test_completing_task_by_uuid(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:118: AttributeError
    ____________________ TestDBShellout.test_get_task_mismatch _____________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2bf50>

    def test_get_task_mismatch(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:128: AttributeError
    ______________________ TestDBShellout.test_updating_task _______________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2be00>

    def test_updating_task(self):
    self.tw.task_add("foobar")
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:135: AttributeError
    ________________________ TestDBShellout.test_update_exc ________________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2bcb0>

    def test_update_exc(self):
    task = dict(description="lol")
    with pytest.raises(KeyError):
    self.tw.task_update(task)
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:173: AttributeError
    _____________________ TestDBShellout.test_add_complicated ______________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2b920>

    def test_add_complicated(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project"
    )
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:176: AttributeError
    ______________________ TestDBShellout.test_add_timestamp _______________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2b7a0>

    def test_add_timestamp(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project",
    entry="20110101T000000Z",
    )
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:185: AttributeError
    _______________________ TestDBShellout.test_add_datetime _______________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc29c10>

    def test_add_datetime(self):
    self.tw.task_add(
    "foobar",
    uuid="1234-1234",
    project="some_project",
    entry=datetime.datetime(2011, 1, 1, tzinfo=dateutil.tz.tzutc()),
    )
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:196: AttributeError
    ___________________ TestDBShellout.test_add_with_uda_string ____________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc2a660>

    def test_add_with_uda_string(self):
    self.tw.task_add(
    "foobar",
    somestring="this is a uda",
    )
    E AttributeError: 'TestDBShellout' object has no attribute 'tw'

    taskw/test/test_datas.py:209: AttributeError
    ____________________ TestDBShellout.test_add_with_uda_date _____________________

    self = <taskw.test.test_datas.TestDBShellout object at 0x7f7aedc78350>

    def test_add_with_uda_date(self):
    self.tw.task_add(

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 28 09:20:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1067297 [src:taskw] taskw: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    Added tag(s) pending.

    --
    1067297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067297
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jochen Sprickerhof@21:1/5 to All on Thu Mar 28 09:20:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1067297 in taskw reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/taskw/-/commit/8a061fb95ba06d5abae05248efab04d2ebb70ed5

    ------------------------------------------------------------------------
    Fix tests with new pytest

    Closes: #1067297 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1067297

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 28 09:50:01 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 28 Mar 2024 08:38:56 +0000
    with message-id <E1rplHk-00AIcb-Ic@fasolo.debian.org>
    and subject line Bug#1067297: fixed in taskw 2.0.0-2
    has caused the Debian Bug report #1067297,
    regarding taskw: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 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 owner@bugs.debian.org
    immediately.)


    --
    1067297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067297
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 20 Mar 2024 21:06:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 325; hammy, 150; neutral, 391; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debi