Closed voice-of-texnoforge closed 2 months ago
It seems to be a problem in OSlash which had last release in 2020 so it's safe to assume it's dead.
However, jsonrpcserver
seems to only use Either
, Left
, Right
:
from oslash.either import Either, Left, Right
This should be reasonably easy to fix by switching to PyMonad or even providing custom implementation.
Hello !
It seems to be a problem in OSlash which had last release in 2020 so it's safe to assume it's dead.
However,
jsonrpcserver
seems to only useEither
,Left
,Right
:from oslash.either import Either, Left, Right
This should be reasonably easy to fix by switching to PyMonad or even providing custom implementation.
Is it possible to get some help on the proposed solution? I'm not comfortable enough to get this done.
I create a sample project on PyCharm importing only jsonrpcserver package, no version specified (grabbing 5.0.9), ran the main proposed on the jsonrpcserver documentation, and got the same error mentioned at the beginning.
So the author said he's hoping to release 6.0 version "soon" in https://github.com/explodinglabs/jsonrpcserver/discussions/275#discussioncomment-8948003
Looking at 6.0.0 PR https://github.com/explodinglabs/jsonrpcserver/pull/255 , you can see https://github.com/explodinglabs/jsonrpcserver/commit/0f1fd290c7f8d6427e419511e1cfb54a89e99b05 Replace Oslash with Returns
If you don't want to wait for the release, you can try the release/6.0.0 branch I guess.
Thanks ! I hope then that the next release will come soon. Meanwhile I've managed to make it work by creating a virtual environment for this project using version 3.11.x of Python.
As @voice-of-texnoforge said, this is fixed in version 6.
Hello, I'm getting problems on
jsonrpcserver
imports on Python 3.12:Is there any hope for a fix and new release?