[ 
https://issues.apache.org/jira/browse/FLINK-32981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Márton Balassi closed FLINK-32981.
----------------------------------
    Fix Version/s: 1.19.0
       Resolution: Fixed

63a4db2 in master

> 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
>            Assignee: Gabor Somogyi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> 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)

Reply via email to