[
https://issues.apache.org/jira/browse/FLINK-22095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316112#comment-17316112
]
Dawid Wysakowicz commented on FLINK-22095:
------------------------------------------
Hey [~hxbks2ks] just letting you know that I created the 1.13 branch
accidentally when creating the rc0. It is not a proper 1.13 branch yet. There
is no need to merge it there yet. We will announce the actual cut off in the
ML.
> 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)