python-lsp/python-lsp-jsonrpc

Can't install `python-lsp-jsonrpc==1.1.0`

StabbarN opened this issue · 4 comments

>>> python --version
Python 3.11.5
>>> python -m venv .
>>> pip install -U python-lsp-jsonrpc==1.1.0
ERROR: Could not find a version that satisfies the requirement python-lsp-jsonrpc==1.1.0 (from versions: 1.0.0)
ERROR: No matching distribution found for python-lsp-jsonrpc==1.1.0

This package is published, https://pypi.org/project/python-lsp-jsonrpc/1.1.1/.

Not supplying version will install 1.0.0:

>>> pip install -U python-lsp-jsonrpc
Collecting python-lsp-jsonrpc
  Using cached python_lsp_jsonrpc-1.0.0-py3-none-any.whl (8.5 kB)
Requirement already satisfied: ujson>=3.0.0 in ./lib/python3.11/site-packages (from python-lsp-jsonrpc) (5.8.0)
Installing collected packages: python-lsp-jsonrpc
Successfully installed python-lsp-jsonrpc-1.0.0

How come? Please advice :).

What happens if you run instead?

pip install python-lsp-jsonrpc==1.1.0

Same error

>>> pip install python-lsp-jsonrpc==1.1.0
ERROR: Could not find a version that satisfies the requirement python-lsp-jsonrpc==1.1.0 (from versions: 1.0.0)
ERROR: No matching distribution found for python-lsp-jsonrpc==1.1.0

Sorry, I don't know what happens in your case.

Thanks for responding. Pip's cache was wrong on my end. Removing files in pip's cache (pip cache dir) solved it.