Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help resolve current pinning to 1.8.6 for JSONata-Wrapper (possibly ducktape compatibility) #666

Open
2 tasks
pibara opened this issue Jan 5, 2024 · 0 comments

Comments

@pibara
Copy link

pibara commented Jan 5, 2024

Currently, after an attempt to get 2.x running, the Python wrapper has been pinned to using 1.8.6.

The hope was that wrapping invocation to use the async API would be enough to make it work, but it appears something else is stopping it from functioning. My current hypothesis is that 2.x uses new javascript features unsupported by DukTape.

Es6/7 support in DuckTape is limited, so IF 2.x now uses ES6/7 features not fully supported by DuckTape, this could be the reason that we can't get the python wrapper to work with 2.0.

I have three questions for this issue:

  • Answer if 2.X is currently ineed uses ES6/7 features that aren't fully supported by duktape
  • If the awnser to this is yes, if 2.X can be made duktape compatible again

If the awnsers are respectively yes for the first and no to the second, that means a rewrite of the Python wrapper using STPyV8 could be needed in order to support 2.x. V8 isn't light weight, and a rewrite will take substantial work, so if this could be avoided that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant