Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.13.0
Description
The create_binary_release.sh fails for creating python binary release:
[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.
One problem that I was able to fix myself is a wrong path in apache-flink-libraries/setup.py:
collect_licenses_file_sh = os.path.abspath(os.path.join( this_directory, "..", "tools", "releasing", "collect_license_files.sh"))
should be:
collect_licenses_file_sh = os.path.abspath(os.path.join( this_directory, "..", "..", "tools", "releasing", "collect_license_files.sh"))
Attachments
Issue Links
- links to