Source: vim-ultisnips
Version: 3.2-1
Severity: serious
Tags: upstream
Justification: RT

Bookworm's Vim now has a non-contiguous set of patches applied:

% vim --version | grep Included
Included patches: 1-1000, 1087, 1117-1118, 1129

This is causing the "with-vim" autopkgtests to fail to parse the Vim
version.  For example:

======================================================================
ERROR: runTest 
(test_Autotrigger.Autotrigger_WillProduceNoExceptionWithVimLowerThan214.runTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.8wvyi1gs/downtmp/build.Ujt/src/test/vim_test_case.py", 
line 99, in setUp
    reason_for_skipping = self.skip_if()
                          ^^^^^^^^^^^^^^
  File 
"/tmp/autopkgtest-lxc.8wvyi1gs/downtmp/build.Ujt/src/test/test_Autotrigger.py", 
line 56, in <lambda>
    if not check_required_vim_version(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/tmp/autopkgtest-lxc.8wvyi1gs/downtmp/build.Ujt/src/test/test_Autotrigger.py", 
line 8, in check_required_vim_version
    if not test.vim.has_version(7, 4, 214):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/tmp/autopkgtest-lxc.8wvyi1gs/downtmp/build.Ujt/src/test/vim_interface.py", 
line 102, in has_version
    _patch = int(line.split(":")[-1].strip().split("-")[-1])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '1118, 1129'

See the full log for more failures:
https://ci.debian.net/data/autopkgtest/unstable/i386/v/vim-ultisnips/30238961/log.gz

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to