Skip to content

Pip install fails with ujson error #857

Description

@zerocewl

Default pip installation fails with error for wrong ujson version.

pip install python-language-server

Error:

python-jsonrpc-server 0.4.0 requires ujson>=3.0.0, but you'll have ujson 1.35 which is incompatible.

Since the dependency lib python-jsonrpc-server was updated to v0.4 the updated ujson version leads to an incompatible installation with current settings ujson 1.35 in pyls.

Latest version of python-jsonrpc-server: https://pypi.org/project/python-jsonrpc-server/
Depending pr: https://github.com/palantir/python-jsonrpc-server/pull/44/files

Workaround: use python_jsonrpc_server<0.4

pip install python-jsonrpc-server<0.4
pip install python-language-server

Possible solutions:

  • pin python_jsonrpc_server to v <0.4
  • update ujson too

Maybe blocked by #808

Quick and easy fix by #859

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions