[ 
https://issues.apache.org/jira/browse/FLINK-22095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313693#comment-17313693
 ] 

Huang Xingbo edited comment on FLINK-22095 at 4/2/21, 8:09 AM:
---------------------------------------------------------------

Merged into master via 69d9bce0526b82a1bd8890d10802a4c25b6ef2fa
Merged into release-1.13 via acbc47165ea4d3eb2db318468b6f58ac9e2e2813


was (Author: hxbks2ks):
Merged into master via 69d9bce0526b82a1bd8890d10802a4c25b6ef2fa

> Creating python release binaries does not work
> ----------------------------------------------
>
>                 Key: FLINK-22095
>                 URL: https://issues.apache.org/jira/browse/FLINK-22095
>             Project: Flink
>          Issue Type: Bug
>          Components: Release System
>    Affects Versions: 1.13.0
>            Reporter: Dawid Wysakowicz
>            Assignee: Huang Xingbo
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>
> The {{create_binary_release.sh}} fails for creating python binary release:
> {code}
> [7/7] Cythonizing pyflink/fn_execution/table/window_aggregate_fast.pyx
> /home/dwysakowicz/projects/flink/flink-python/dev/.conda/lib/python3.7/site-packages/Cython/Compiler/Main.py:369:
>  FutureWarning: Cython directive 'language_level' not set, using 2 for now 
> (Py2). This will change in a later release! File: 
> /home/dwysakowicz/projects/flink/flink-python/pyflink/fn_execution/table/window_aggregate_fast.pxd
>   tree = Parsing.p_module(s, pxd, full_module_name)
> find: 'deps/tmp': No such file or directory
> Traceback (most recent call last):
>   File "setup.py", line 264, in <module>
>     subprocess.check_output([collect_licenses_file_sh, TEMP_PATH, TEMP_PATH])
>   File 
> "/home/dwysakowicz/projects/flink/flink-python/dev/.conda/lib/python3.7/subprocess.py",
>  line 395, in check_output
>     **kwargs).stdout
>   File 
> "/home/dwysakowicz/projects/flink/flink-python/dev/.conda/lib/python3.7/subprocess.py",
>  line 487, in run
>     output=stdout, stderr=stderr)
> subprocess.CalledProcessError: Command 
> '['/home/dwysakowicz/projects/flink/tools/releasing/collect_license_files.sh',
>  'deps', 'deps']' returned non-zero exit status 1.
> {code}
> One problem that I was able to fix myself is a wrong path in 
> {{apache-flink-libraries/setup.py}}:
> {code}
>             collect_licenses_file_sh = os.path.abspath(os.path.join(
>                 this_directory, "..", "tools", "releasing", 
> "collect_license_files.sh"))
> {code}
> should be:
> {code}
>             collect_licenses_file_sh = os.path.abspath(os.path.join(
>                 this_directory, "..", "..", "tools", "releasing", 
> "collect_license_files.sh"))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to