Comments (5)
So the author said he's hoping to release 6.0 version "soon" in #275 (comment)
Looking at 6.0.0 PR #255 , you can see 0f1fd29 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.
from jsonrpcserver.
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.
from jsonrpcserver.
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.
from jsonrpcserver.
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.
from jsonrpcserver.
As @voice-of-texnoforge said, this is fixed in version 6.
from jsonrpcserver.
Related Issues (20)
- Add installation instruction to README
- Upgrade pre-commit hooks
- Enable all Pylint errors
- Type check tests and examples
- Use importlib.resources instead of "open" in setup.py HOT 1
- method decorator does not work with custom dict anymore in v5.0.9
- Change linter from Pylint to Ruff HOT 1
- Blocking task with status callbacks HOT 2
- Always shut down server when using serve() HOT 1
- The serve() method will get stuck HOT 1
- More high-level tools HOT 1
- Server interrupts requests when Python application packed by PyInstaller
- Improve the types used
- Add "testing only" message to `serve` output HOT 1
- A few more examples using jsonrpc request/response
- Are there any new releases?
- Secure connection via https HOT 1
- Replace black and isort with Ruff
- Don’t return “Success” from methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonrpcserver.