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

[Task]: Support custom Python SDK for sdks/java/extensions/python PythonService #31680

Closed
16 tasks
Abacn opened this issue Jun 25, 2024 · 0 comments · Fixed by #31691
Closed
16 tasks

[Task]: Support custom Python SDK for sdks/java/extensions/python PythonService #31680

Abacn opened this issue Jun 25, 2024 · 0 comments · Fixed by #31691

Comments

@Abacn
Copy link
Contributor

Abacn commented Jun 25, 2024

What needs to happen?

Currently, PythonService determines the Python SDK version as in

+ getMatchingStablePythonSDKVersion(ReleaseInfo.getReleaseInfo().getSdkVersion()));

and

static String getMatchingStablePythonSDKVersion(String javaSDKVersion) {

based on the java SDK info.

This has a few problems.

  1. For release candidates, Java artifacts does not use "rc" suffices while Python SDK does. This will cause PythonService trying to install the not-yet-released pypi package, failing the initialization.

  2. For dev version, it always pin to "latest" version in pypi. One may not be able to run an old dev version.

We should expose the interface to support install custom Python SDK, either assign a version number (like 2.57.0RC1) or provide a path of the tar ball.

Issue Priority

Priority: 2 (default / most normal work should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant