Gabor Somogyi created FLINK-32981: ------------------------------------- Summary: Add python dynamic Flink home detection Key: FLINK-32981 URL: https://issues.apache.org/jira/browse/FLINK-32981 Project: Flink Issue Type: Improvement Components: API / Python Affects Versions: 1.19.0 Reporter: Gabor Somogyi
During `pyflink` library compilation Flink home is calculated from the provided `pyflink` version which is normally something like: `1.19.dev0`. Such case `.dev0` is replaced to `-SNAPSHOT` which ends-up in hardcoded home directory: `../../flink-dist/target/flink-1.18-SNAPSHOT-bin/flink-1.18-SNAPSHOT`. This is fine as long as one uses the basic version types described [here](https://peps.python.org/pep-0440/#developmental-releases). In order to support any kind of `pyflink` version one can dynamically find out the Flink home directory through globbing. -- This message was sent by Atlassian Jira (v8.20.10#820010)