Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715290

Summary: dev-python/python-language-server: requires old <=dev-python/ujson-1.35
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Andrew Ammerlaan <andrewammerlaan>
Status: CONFIRMED ---    
Severity: normal CC: andrewammerlaan, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/palantir/python-language-server/issues/802
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 722500    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-29 10:19:19 UTC
NonsolvableDepsInStable: version 0.31.9: nonsolvable depset(rdepend) keyword(~amd64) stable profile (default/linux/amd64/17.0) (39 total): solutions: [ <=dev-python/ujson-1.35[-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_targets_python3_6(-),python_targets_python3_7(-)] ]
Comment 1 Andrew Ammerlaan 2020-03-29 13:49:09 UTC
> NonsolvableDepsInStable: version 0.31.9: nonsolvable depset(rdepend) keyword(~amd64) stable profile (default/linux/amd64/17.0) (39 total): solutions: [ <=dev-python/ujson-1.35[-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_targets_python3_6(-),python_targets_python3_7(-)] ]

Just tested python-langauge-server/python-jsonrpc-server with >ujson-1.35, and it looks like python-jsonrpc-server (and therefore python-language-server) has to have ujson-1.35. Otherwise the test suite fails:
AssertionError: assert b'' == (b'Content-Length: 10\r\nContent-Type: application/vscode-jsonrpc; charset=ut'\n b'f8\r\n\r\n1546304461')
E             Full diff:
E             + b''
E             - (
E             -  b'Content-Length: 10\r\nContent-Type: application/vscode-jsonrpc; charset=ut'
E             -  b'f8\r\n\r\n1546304461',
E             - )

test/test_streams.py:114: AssertionError
Comment 2 Andrew Ammerlaan 2020-05-12 08:34:51 UTC
See also: https://github.com/palantir/python-language-server/issues/802

"""
Hello. Once the windows and mac wheels are mived from test pypi to real pypi we will make the move.
"""
Comment 3 Andrew Ammerlaan 2020-05-12 08:37:07 UTC
And also: https://github.com/palantir/python-language-server/issues/744

And: https://github.com/palantir/python-language-server/pull/781
(Merged, should be in the next version)