FS#79570 - [python-lsp-server] Broken with python-jedi 0.19.0
Attached to Project:
Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Tuesday, 05 September 2023, 10:48 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 05 September 2023, 20:26 GMT
Opened by Chih-Hsuan Yen (yan12125) - Tuesday, 05 September 2023, 10:48 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 05 September 2023, 20:26 GMT
|
Details
Description:
python-lsp-server has strict checks for dependency versions, and it does not want python-jedi 0.19.0. Debug logs: (from `pylsp -vv --log-file /tmp/pylsp.log`) 2023-09-05 12:19:00,837 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'autopep8': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,837 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'flake8': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,837 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'folding': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,838 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_completion': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,838 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_definition': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,838 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_highlight': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,839 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_hover': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,839 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_references': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,839 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_rename': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,839 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_signature_help': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,840 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'jedi_symbols': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,840 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'mccabe': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,840 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'preload': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,841 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'pycodestyle': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,841 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'pydocstyle': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,841 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'pyflakes': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,841 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'pylint': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,842 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'rope_autoimport': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,842 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'rope_completion': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,842 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'rope_rename': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) 2023-09-05 12:19:00,843 CST - INFO - pylsp.config.config - Failed to load pylsp entry point 'yapf': (jedi 0.19.0 (/usr/lib/python3.11/site-packages), Requirement.parse('jedi<0.19.0,>=0.17.2')) Additional info: * python-lsp-server 1.7.4-1 * python-jedi 0.19.0-1 * Upstream supports jedi 0.19 in git-master: https://github.com/python-lsp/python-lsp-server/commit/f33a93a * A possible fix is attached below Steps to reproduce: 1. Setup coc.nvim integration for pylsp 2. Open a Python file and try to use auto-completion PS. Assigned both python-lsp-server maintainer and the last packager of python-lsp-server and python-jedi. |
This task depends upon
Closed by Antonio Rojas (arojas)
Tuesday, 05 September 2023, 20:26 GMT
Reason for closing: Fixed
Additional comments about closing: python-lsp-server-1.7.4-2
Tuesday, 05 September 2023, 20:26 GMT
Reason for closing: Fixed
Additional comments about closing: python-lsp-server-1.7.4-2
PKGBUILD.diff