Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60121 - [python-language-server] missing dependencies and conflicting packages

Attached to Project: Arch Linux
Opened by Guido Masella (gdmsl) - Wednesday, 19 September 2018, 08:58 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 19 September 2018, 14:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-language-server is missing python-jsonrpc-server as a dependency but
python-jsonrpc-server and python-json-rpc (which is also a dependency of
python-language-server) conflicts


Additional info:
* package version(s):
community/python-language-server 0.21.2-1
community/python-json-rpc 1.11.1-1
community/python-jsonrpc-server 0.0.1-1

Steps to reproduce:

executing `pyls` from terminal will give the following error

```
Traceback (most recent call last):
File "/usr/bin/pyls", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-jsonrpc-server' distribution was not found and is required by python-language-server
```

and try to install `python-jsonrpc-server` will give this error

```
error: failed to commit transaction (conflicting files)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/__init__.py exists in filesystem (owned by python-json-rpc)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/__pycache__/__init__.cpython-37.opt-1.pyc exists in filesystem (owned by python-json-rpc)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/__pycache__/__init__.cpython-37.pyc exists in filesystem (owned by python-json-rpc)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/__pycache__/exceptions.cpython-37.opt-1.pyc exists in filesystem (owned by python-json-rpc)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/__pycache__/exceptions.cpython-37.pyc exists in filesystem (owned by python-json-rpc)
python-jsonrpc-server: /usr/lib/python3.7/site-packages/jsonrpc/exceptions.py exists in filesystem (owned by python-json-rpc)
Errors occurred, no packages were upgraded.
Error installing repo packages
```

these files are owned by `python-json-rpc`
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 19 September 2018, 14:18 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#60119 
Comment by Morten Linderud (Foxboron) - Wednesday, 19 September 2018, 14:10 GMT
Delete python-json-rpc and python-language-server should be updated now.

Loading...