[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945605: python-neovim: autopkgtest needs update for new version of neovim: Invalid option name: 'listchars'

Source: python-neovim
Version: 0.3.0-1
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org, neovim@packages.debian.org
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:neovim

Dear maintainers,

With a recent upload of neovim the autopkgtest of python-neovim fails in
testing when that autopkgtest is run with the binary packages of neovim
from unstable. It passes when run with only packages from testing. In
tabular form:
                       pass            fail
neovim                 from testing    0.4.3-2
python-neovim          from testing    0.3.0-1
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of neovim to testing
[1]. Of course, neovim shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in neovim was
intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from neovim should really add
a versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

More information about this bug and the reason for filing it can be found on


[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
neovim/0.4.3-2. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=neovim


=================================== FAILURES
_________________________________ test_options

vim = <neovim.api.nvim.Nvim object at 0x7facb1a9c890>

    def test_options(vim):
>       assert vim.options['listchars'] == 'tab:> ,trail:-,nbsp:+'

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
/usr/lib/python3/dist-packages/neovim/api/common.py:88: in __getitem__
    return self._get(key)
/usr/lib/python3/dist-packages/neovim/api/nvim.py:180: in request
    res = self._session.request(name, *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _

self = <neovim.msgpack_rpc.session.Session object at 0x7facb1a9cf90>
method = 'nvim_get_option', args = ('listchars',), kwargs = {}, async_ =
v = [[1, b"Invalid option name: 'listchars'"], None]
err = [1, b"Invalid option name: 'listchars'"], rv = None

    def request(self, method, *args, **kwargs):
        """Send a msgpack-rpc request and block until as response is

        If the event loop is running, this method must have been called by a
        request or notification handler running on a greenlet. In that case,
        send the quest and yield to the parent greenlet until a response is

        When the event loop is not running, it will perform a blocking
        like this:
        - Send the request
        - Run the loop until the response is available
        - Put requests/notifications received while waiting into a queue

        If the `async_` flag is present and True, a asynchronous
        is sent instead. This will never block, and the return value or
        is ignored.
        async_ = check_async(kwargs.pop('async_', None), kwargs, False)
        if async_:
            self._async_session.notify(method, args)

        if kwargs:
            raise ValueError("request got unsupported keyword
argument(s): {}"
                             .format(', '.join(kwargs.keys())))

        if self._is_running:
            v = self._yielding_request(method, args)
            v = self._blocking_request(method, args)
        if not v:
            # EOF
            raise IOError('EOF')
        err, rv = v
        if err:
            info("'Received error: %s", err)
>           raise self.error_wrapper(err)
E           neovim.api.nvim.NvimError: b"Invalid option name: 'listchars'"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: