Your message dated Sun, 29 Dec 2024 23:15:48 +0000
with message-id <[email protected]>
and subject line Bug#1090196: fixed in pylibmc 1.6.3-2
has caused the Debian Bug report #1090196,
regarding cachelib: FTBFS: E TypeError: 'NoneType' object is not subscriptable
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 [email protected]
immediately.)


-- 
1090196: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090196
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cachelib
Version: 0.13.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
D: pybuild pybuild:602: version: 6.20241024
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--configure', '-i', 
'python{version}', '-p', '3.13 3.12']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, 
really_quiet=False, detect_only=False, clean_only=False, configure_only=True, 
build_only=False, install_only=False, test_only=False, autopkgtest_only=False, 
list_systems=False, print_args=None, before_clean=None, clean_args=None, 
after_clean=None, before_configure=None, configure_args=None, 
after_configure=None, before_build=None, build_args=None, after_build=None, 
before_install=None, install_args=None, after_install=None, before_test=None, 
test_args=None, after_test=None, test_nose=False, test_nose2=False, 
test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, 
dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, 
ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, 
install_dir=None, name='cachelib', system=None, versions=['3.13', '3.12'], 
interpreter=['python{version}'], disable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
'cmake'
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
'meson'
D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-cachelib-doc (missing 
${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=cachelib, binary packages=['python3-cachelib']
D: pybuild pybuild:124: Plugin autopkgtest: certainty 0

[... snipped ...]

E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
_____________________ TestMemcachedCache.test_delete_many ______________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f812875c540>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: Callable[[], TResult],
        when: Literal["collect", "setup", "call", "teardown"],
        reraise: type[BaseException] | tuple[type[BaseException], ...] | None = 
None,
    ) -> CallInfo[TResult]:
        """Call func, wrapping the result in a CallInfo.
    
        :param func:
            The function to call. Called without arguments.
        :type func: Callable[[], _pytest.runner.TResult]
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
>           result: TResult | None = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in 
pytest_runtest_call
    yield from thread_exception_runtest_hook()
/usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in 
thread_exception_runtest_hook
    yield
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in 
pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def unraisable_exception_runtest_hook() -> Generator[None]:
        with catch_unraisable_exception() as cm:
            try:
                yield
            finally:
                if cm.unraisable:
                    if cm.unraisable.err_msg is not None:
                        err_msg = cm.unraisable.err_msg
                    else:
                        err_msg = "Exception ignored in"
                    msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                    msg += "".join(
                        traceback.format_exception(
                            cm.unraisable.exc_type,
                            cm.unraisable.exc_value,
                            cm.unraisable.exc_traceback,
                        )
                    )
>                   warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E                   pytest.PytestUnraisableExceptionWarning: Exception ignored 
in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), 
PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None
E                   
E                   Traceback (most recent call last):
E                     File "/usr/lib/python3/dist-packages/pylibmc/client.py", 
line 142, in __init__
E                       
super().__init__(servers=translate_server_specs(servers),
E                       
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        binary=binary,
E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
______________ TestMemcachedCache.test_delete_many_ignore_errors _______________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f812875cb80>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: Callable[[], TResult],
        when: Literal["collect", "setup", "call", "teardown"],
        reraise: type[BaseException] | tuple[type[BaseException], ...] | None = 
None,
    ) -> CallInfo[TResult]:
        """Call func, wrapping the result in a CallInfo.
    
        :param func:
            The function to call. Called without arguments.
        :type func: Callable[[], _pytest.runner.TResult]
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
>           result: TResult | None = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in 
pytest_runtest_call
    yield from thread_exception_runtest_hook()
/usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in 
thread_exception_runtest_hook
    yield
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in 
pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def unraisable_exception_runtest_hook() -> Generator[None]:
        with catch_unraisable_exception() as cm:
            try:
                yield
            finally:
                if cm.unraisable:
                    if cm.unraisable.err_msg is not None:
                        err_msg = cm.unraisable.err_msg
                    else:
                        err_msg = "Exception ignored in"
                    msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                    msg += "".join(
                        traceback.format_exception(
                            cm.unraisable.exc_type,
                            cm.unraisable.exc_value,
                            cm.unraisable.exc_traceback,
                        )
                    )
>                   warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E                   pytest.PytestUnraisableExceptionWarning: Exception ignored 
in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), 
PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None
E                   
E                   Traceback (most recent call last):
E                     File "/usr/lib/python3/dist-packages/pylibmc/client.py", 
line 142, in __init__
E                       
super().__init__(servers=translate_server_specs(servers),
E                       
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        binary=binary,
E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
_________________________ TestMemcachedCache.test_add __________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f812875cd60>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: Callable[[], TResult],
        when: Literal["collect", "setup", "call", "teardown"],
        reraise: type[BaseException] | tuple[type[BaseException], ...] | None = 
None,
    ) -> CallInfo[TResult]:
        """Call func, wrapping the result in a CallInfo.
    
        :param func:
            The function to call. Called without arguments.
        :type func: Callable[[], _pytest.runner.TResult]
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
>           result: TResult | None = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in 
pytest_runtest_call
    yield from thread_exception_runtest_hook()
/usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in 
thread_exception_runtest_hook
    yield
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in 
pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def unraisable_exception_runtest_hook() -> Generator[None]:
        with catch_unraisable_exception() as cm:
            try:
                yield
            finally:
                if cm.unraisable:
                    if cm.unraisable.err_msg is not None:
                        err_msg = cm.unraisable.err_msg
                    else:
                        err_msg = "Exception ignored in"
                    msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                    msg += "".join(
                        traceback.format_exception(
                            cm.unraisable.exc_type,
                            cm.unraisable.exc_value,
                            cm.unraisable.exc_traceback,
                        )
                    )
>                   warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E                   pytest.PytestUnraisableExceptionWarning: Exception ignored 
in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), 
PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None
E                   
E                   Traceback (most recent call last):
E                     File "/usr/lib/python3/dist-packages/pylibmc/client.py", 
line 142, in __init__
E                       
super().__init__(servers=translate_server_specs(servers),
E                       
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        binary=binary,
E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
_______________________ TestMemcachedCache.test_inc_dec ________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f81289a0360>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: Callable[[], TResult],
        when: Literal["collect", "setup", "call", "teardown"],
        reraise: type[BaseException] | tuple[type[BaseException], ...] | None = 
None,
    ) -> CallInfo[TResult]:
        """Call func, wrapping the result in a CallInfo.
    
        :param func:
            The function to call. Called without arguments.
        :type func: Callable[[], _pytest.runner.TResult]
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
>           result: TResult | None = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in 
pytest_runtest_call
    yield from thread_exception_runtest_hook()
/usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in 
thread_exception_runtest_hook
    yield
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in 
pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def unraisable_exception_runtest_hook() -> Generator[None]:
        with catch_unraisable_exception() as cm:
            try:
                yield
            finally:
                if cm.unraisable:
                    if cm.unraisable.err_msg is not None:
                        err_msg = cm.unraisable.err_msg
                    else:
                        err_msg = "Exception ignored in"
                    msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                    msg += "".join(
                        traceback.format_exception(
                            cm.unraisable.exc_type,
                            cm.unraisable.exc_value,
                            cm.unraisable.exc_traceback,
                        )
                    )
>                   warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E                   pytest.PytestUnraisableExceptionWarning: Exception ignored 
in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), 
PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None
E                   
E                   Traceback (most recent call last):
E                     File "/usr/lib/python3/dist-packages/pylibmc/client.py", 
line 142, in __init__
E                       
super().__init__(servers=translate_server_specs(servers),
E                       
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        binary=binary,
E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
______________________ TestMemcachedCache.test_expiration ______________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f812875cf40>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
        func: Callable[[], TResult],
        when: Literal["collect", "setup", "call", "teardown"],
        reraise: type[BaseException] | tuple[type[BaseException], ...] | None = 
None,
    ) -> CallInfo[TResult]:
        """Call func, wrapping the result in a CallInfo.
    
        :param func:
            The function to call. Called without arguments.
        :type func: Callable[[], _pytest.runner.TResult]
        :param when:
            The phase in which the function is called.
        :param reraise:
            Exception or exceptions that shall propagate if raised by the
            function, instead of being wrapped in the CallInfo.
        """
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
>           result: TResult | None = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:341: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/_pytest/runner.py:242: in <lambda>
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
/usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
/usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/usr/lib/python3/dist-packages/_pytest/threadexception.py:92: in 
pytest_runtest_call
    yield from thread_exception_runtest_hook()
/usr/lib/python3/dist-packages/_pytest/threadexception.py:68: in 
thread_exception_runtest_hook
    yield
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:95: in 
pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def unraisable_exception_runtest_hook() -> Generator[None]:
        with catch_unraisable_exception() as cm:
            try:
                yield
            finally:
                if cm.unraisable:
                    if cm.unraisable.err_msg is not None:
                        err_msg = cm.unraisable.err_msg
                    else:
                        err_msg = "Exception ignored in"
                    msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                    msg += "".join(
                        traceback.format_exception(
                            cm.unraisable.exc_type,
                            cm.unraisable.exc_value,
                            cm.unraisable.exc_traceback,
                        )
                    )
>                   warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E                   pytest.PytestUnraisableExceptionWarning: Exception ignored 
in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), 
PyMapping_GetOptionalItemString() or PyMapping_GetItemString(): None
E                   
E                   Traceback (most recent call last):
E                     File "/usr/lib/python3/dist-packages/pylibmc/client.py", 
line 142, in __init__
E                       
super().__init__(servers=translate_server_specs(servers),
E                       
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        binary=binary,
E                                        ^^^^^^^^^^^^^^
E                                        username=username, password=password,
E                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                                        
behaviors=_behaviors_numeric(behaviors))
E                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E                   TypeError: 'NoneType' object is not subscriptable

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: 
PytestUnraisableExceptionWarning
=========================== short test summary info ============================
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_has - pytest.P...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_clear - pytest...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_set_get - pyte...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_set_get_many
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_get_dict - pyt...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_delete - pytes...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_delete_many - ...
FAILED 
tests/test_memcached_cache.py::TestMemcachedCache::test_delete_many_ignore_errors
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_add - pytest.P...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_inc_dec - pyte...
FAILED tests/test_memcached_cache.py::TestMemcachedCache::test_expiration - p...
ERROR 
tests/test_interface_uniformity.py::TestInterfaceUniformity::test_types_have_all_base_methods
====== 11 failed, 126 passed, 1 skipped, 22 deselected, 1 error in 55.08s ======
Exception ignored in: <_io.FileIO 
name='/<<PKGBUILDDIR>>/.pytest_cache/d/.xprocess/redis/xprocess.log' mode='rb' 
closefd=True>
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/<<PKGBUILDDIR>>/.pytest_cache/d/.xprocess/redis/xprocess.log' mode='r' 
encoding='UTF-8'>
Exception ignored in: <_io.FileIO 
name='/<<PKGBUILDDIR>>/.pytest_cache/d/.xprocess/pylibmc/xprocess.log' 
mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.TextIOWrapper 
name='/<<PKGBUILDDIR>>/.pytest_cache/d/.xprocess/pylibmc/xprocess.log' mode='r' 
encoding='UTF-8'>
Exception ignored in: <function Popen.__del__ at 0x7f8129a43e20>
Traceback (most recent call last):
  File "/usr/lib/python3.13/subprocess.py", line 1137, in __del__
ResourceWarning: subprocess 257646 is still running
Exception ignored in: <function Popen.__del__ at 0x7f8129a43e20>
Traceback (most recent call last):
  File "/usr/lib/python3.13/subprocess.py", line 1137, in __del__
ResourceWarning: subprocess 257606 is still running
Exception ignored in: <function Popen.__del__ at 0x7f8129a43e20>
Traceback (most recent call last):
  File "/usr/lib/python3.13/subprocess.py", line 1137, in __del__
ResourceWarning: subprocess 257582 is still running
Exception ignored in: <function Popen.__del__ at 0x7f8129a43e20>
Traceback (most recent call last):
  File "/usr/lib/python3.13/subprocess.py", line 1137, in __del__
ResourceWarning: subprocess 257576 is still running
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cachelib/build; python3.13 -m pytest -k 
'not test_dynamodb and not test_mongodb'
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 387, in main
    run(func, i, version, c)
  File "/usr/bin/pybuild", line 325, in run
    result = func(context, args)
             ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-python/dhpython/build/base.py", line 365, in wrapped_func
    raise Exception(msg)
Exception: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cachelib/build; python3.13 -m pytest -k 
'not test_dynamodb and not test_mongodb'
D: pybuild base:64: Copying /<<PKGBUILDDIR>>/tests to 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachelib/build/tests for tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachelib/build; 
python3.12 -m pytest -k 'not test_dynamodb and not test_mongodb'
D: pybuild tools:231: invoking: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachelib/build; python3.12 -m pytest -k 
'not test_dynamodb and not test_mongodb'
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1, xprocess-0.22.2
collected 160 items / 22 deselected / 1 skipped / 138 selected

tests/test_base_cache.py ............                                    [  8%]
tests/test_file_system_cache.py ........................................ [ 37%]
........................                                                 [ 55%]
tests/test_interface_uniformity.py .                                     [ 55%]
tests/test_memcached_cache.py ...........                                [ 63%]
tests/test_redis_cache.py ........................                       [ 81%]
tests/test_simple_cache.py ..........................                    [100%]

================ 138 passed, 1 skipped, 22 deselected in 55.08s ================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make[1]: *** [debian/rules:27: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: pylibmc
Source-Version: 1.6.3-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pylibmc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated pylibmc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Dec 2024 21:52:05 +0000
Source: pylibmc
Architecture: source
Version: 1.6.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1080709 1090196
Changes:
 pylibmc (1.6.3-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Update standards version to 4.6.2, no changes needed.
 .
   [ Colin Watson ]
   * Stop accessing None as a dictionary (closes: #1090196).
   * Build-depend on python3-setuptools (closes: #1080709).
   * Use dh-sequence-python3 and dh-sequence-sphinxdoc.
   * Use debian/clean rather than overriding dh_clean.
Checksums-Sha1:
 ad68596cc5642a72788c1819ec8551105319880c 2256 pylibmc_1.6.3-2.dsc
 f8b8d03024cdc5b90d7546ef9cc4b367fd5a503c 5216 pylibmc_1.6.3-2.debian.tar.xz
Checksums-Sha256:
 3d91d25a6b4da289f7a638ff66707fb3a87d3bdda2c404e9bd0a979638369997 2256 
pylibmc_1.6.3-2.dsc
 78e4c81ca6d70059593c42050d7103b3379b567d3a29ba21279928a448c8b715 5216 
pylibmc_1.6.3-2.debian.tar.xz
Files:
 d56d6a8af6e411d62d3ff4ab75193812 2256 python optional pylibmc_1.6.3-2.dsc
 51daf527c1931624fb54913f23388973 5216 python optional 
pylibmc_1.6.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmdxxNwACgkQOTWH2X2G
UAuU/BAAqxebUxSN7atbwWpOgBS/ymQkD4KITbQCjz+XLWksfeZncS1NL8e8ikRd
CUhIj03Pi3uGPzrW+Ch4wxEdhEVoVy5kLcFWfOrYgROVf0yQfPwxMSvDhLQSSV+r
JJZMTyCHExfqxrPdjHwPG/9ULJoVy7V0JHIDPprcfq1q3838KpJWBv6es+ZMtZ0C
62sjUSfUqDs40LNZYe3L9oMcw2pY7d0IgCMORLTnYpSXiLYNQ7NlXmS/shgj//Hv
dUDrIsZrgZhLhYvHkEAAgsLWqB5Lzdveb3SdLUc6RdK5LpGmq1U7nll+IHzZDo/N
ncexk84dabYla//1GkDXLXsA+LjYD+deji2h6lzc06vkVW5Q3Q6OtDBfo1rIEy55
sX/Cc4gciWQ5p1bMhdJbeSHzhadwHCZ6PNzTlSZfHEPVavrelYmjLnC9mzjXcKxo
Pc0GYBA1OZ63G1JJTrRxwLcTOP/uBuBAjHptInU/y6+F0F7U7LspWKjaWRZ2xy6C
vJEodmWi133/J6ckZpH31DarrCkyLjM2Id9HJCi8UiyjVxW6kMY+tYscLqn41QdZ
TFMfARdP1RqLyoNCWMX61TPCivIpo+1KWUPpgk3FA/8Z3Gfovq8pMvdbdlcI/4g2
/iPTgOwPErOM6tJ7Yh3TpRtZBUH2r6+2IZq7SAG381qVXQ917qc=
=5/td
-----END PGP SIGNATURE-----

Attachment: pgpc_5eK_WUKK.pgp
Description: PGP signature


--- End Message ---

Reply via email to