Package: ycmd
Version: 0+20230103+gitf53e7ac+ds-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Currently in Debian testing python3 refers to python3.11, but that version has
removed getargspec function from inspect module. So when you try to run ycmd,
it errors out:

Traceback (most recent call last):
  File "/usr/bin/ycmd", line 37, in <module>
    from ycmd.hmac_plugin import HmacPlugin
  File "/usr/lib/ycmd/ycmd/hmac_plugin.py", line 19, in <module>
    from bottle import request, abort, response
  File "/usr/lib/python3/dist-packages/bottle.py", line 44, in <module>
    from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' 
(/usr/lib/python3.11/inspect.py)

Running manually with `python3.10 /usr/bin/ycmd` shows usage information from
ycmd, meaning the command is not completely broken on python3.10. But
`python3.11 /usr/bin/ycmd` shows the error shown above, so this issue
definitely was exposed by python3.11 becoming the new default.


Versions of packages ycmd depends on:
ii  libabsl20220623     20220623.1-1
ii  libc6               2.36-8
ii  libclang1-14        1:14.0.6-10+b1
ii  libgcc-s1           12.2.0-14
ii  libpython3.11       3.11.1-2
ii  libstdc++6          12.2.0-14
ii  python3             3.11.1-3
ii  python3-bottle      0.12.19-1+deb11u1
ii  python3-frozendict  1.2-3
ii  python3-future      0.18.2-6
ii  python3-jedi        0.18.2-1
ii  python3-watchdog    2.2.1-1

Versions of packages ycmd recommends:
pn  libclang-common-14-dev  <none>
ii  vim-youcompleteme       0+20230109+git7620d87+ds-2

Versions of packages ycmd suggests:
pn  ccls                     <none>
pn  clangd                   <none>
pn  fortran-language-server  <none>
pn  gopls                    <none>
pn  node-typescript          <none>

-- no debconf information

Reply via email to