--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: elpa-jedi-core: deprecated warning on jedi server
- From: Thomas Krichel <krichel@openlib.org>
- Date: Thu, 04 Jul 2024 06:16:14 +0000
- Message-id: <172007377426.1021944.520031658096950049.reportbug@tagol>
Package: elpa-jedi-core
Version: 0.2.8+git20220410.81c5a42-1
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Edit a python file in emacs with jedi enabled.
archec@tagol:~$ grep jedi .emacs
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t) ; optional
The error buffer, when opening *.py is
================================
|Failed to start Jedi EPC server.
|================================
|
|*** EPC Error ***
|Server may raise an error. Use "M-x epc:pop-to-last-server-process-buffer RET" to see full traceback:
|/usr/share/emacs/site-lisp/elpa/jedi-core-0.3.0/jediepcserver.py:37: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
| import pkg_resources
|
|
|*** EPC Server Output (last 10 lines) ***
|/usr/share/emacs/site-lisp/elpa/jedi-core-0.3.0/jediepcserver.py:37: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
| import pkg_resources
|
|
|*** EPC Server Config ***
|Server arguments: ("/usr/bin/python" "/usr/share/emacs/site-lisp/elpa/jedi-core-0.3.0/jediepcserver.py")
|Actual command: /usr/bin/python
|VIRTUAL_ENV envvar: nil
|
|*** jedi-mode is disabled in #<buffer test.py> ***
|Fix the problem and re-enable it.
|
|*** You may need to run "M-x jedi:install-server". ***
|This could solve the problem especially if you haven't run the command yet
|since Jedi.el installation or update and if the server complains about
|Python module imports.
|
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: trixie/sid
APT prefers oldstable-security
APT policy: (500, 'oldstable-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
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
Versions of packages elpa-jedi-core depends on:
ii dh-elpa-helper 2.0.17
ii elpa-epc 0.1.1-6
ii elpa-python-environment 0.0.2-6
ii emacsen-common 3.0.5
ii python3 3.11.8-1
ii python3-epc 0.0.5-5
ii python3-jedi 0.19.1+ds1-1
ii python3-sexpdata 1.0.2-1
ii virtualenv 20.26.2+ds-1
Versions of packages elpa-jedi-core recommends:
ii emacs 1:29.4+1-3
ii emacs-nox [emacs] 1:29.4+1-3
elpa-jedi-core suggests no packages.
-- no debconf information
--- End Message ---