-
Notifications
You must be signed in to change notification settings - Fork 80
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
EPIC: Allow deephaven server to be started from python #2221
Labels
Comments
niloc132
added a commit
that referenced
this issue
Apr 11, 2022
Removes jpy initialization for the new python apis, to be re-introduced in a new python module that can start the gRPC server as well as the engine. Tests and doc generation have their own version of jpyinit, specific to their circumstances, to allow some flexibility where required, but generally reducing the overall supported complexity. Partial #2221
niloc132
added a commit
that referenced
this issue
Apr 13, 2022
This also declares wheels as artifacts, making it simpler to declare and install dependencies. Gradle build/ and python dist/ are now excluded from the python build - if we find this is onerous, buildPyWheel could take a CopySpec argument. With that said, this shouldn't be necessary soon, since deephaven-jpy will hopefully soon be replaced by upstream jpy, and deephaven-legacy will be phased out, leaving only projects that use the new python-wheel plugin. Legacy deephaven-wheel is renamed now in gradle as well, but not relocated. Partial #2221
This was referenced Apr 14, 2022
niloc132
added a commit
to niloc132/deephaven-core
that referenced
this issue
Apr 14, 2022
This allows the library to be used from a project that wants to redefine those resources, without requiring that the downstream project shade the server library or have a specific classpath ordering. Partial deephaven#2221
This was referenced Apr 14, 2022
niloc132
added a commit
that referenced
this issue
Apr 14, 2022
This allows a server implementation to not provide these print streams if it doesn't want to, by explicitly binding to null. This is clearly safe, since providesStreamToReal explicitly passes nulls along rather than consume the offered params, if certain system properties are set. Partial #2221
niloc132
added a commit
that referenced
this issue
Apr 14, 2022
This allows the library to be used from a project that wants to redefine those resources, without requiring that the downstream project shade the server library or have a specific classpath ordering. Partial #2221
niloc132
added a commit
that referenced
this issue
Apr 25, 2022
The gradle Sync task can result in unbuildable images without ensuring that the nested CopySpecs explicitly include their own Dockerfile. Partial #2221
Incorrectly closed, this issue isn't complete yet. |
niloc132
added a commit
that referenced
this issue
Apr 26, 2022
The current system of requiring that the consumer request the entire map and already know the session type (or read it from the singleton not-@singleton configuration instance) is pretty onerous for downstream apps, and somewhat moot when we know that there is only one possible scriptsession at a time anyway. Partial #2221
4 tasks
niloc132
added a commit
that referenced
this issue
Jun 3, 2022
Introduces a Python library that can start the Deephaven server from python code. This consists of a wheel that holds not only some python glue to start the server, but all of the jars required to be on the deephaven classpath. Presently this depends on deephaven's own jpy fork, but soon this limitation will be dropped and the upstream jpy project will work. Partial #2221
SuperTails
pushed a commit
to SuperTails/deephaven-core
that referenced
this issue
Jun 29, 2022
Introduces a Python library that can start the Deephaven server from python code. This consists of a wheel that holds not only some python glue to start the server, but all of the jars required to be on the deephaven classpath. Presently this depends on deephaven's own jpy fork, but soon this limitation will be dropped and the upstream jpy project will work. Partial deephaven#2221
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
py/
deephaven_server
which is able to start the jvm and the java components of Deephaven, including the engine and the gRPC service. This will have very little python in it, but will mostly be a container to hold the above java application, and will mostly offer the ability to start different parts of the server, as well as manipulate the script session or applicationdeephaven
has tools for working with the UGPThe text was updated successfully, but these errors were encountered: