Zakelly Lan created FLINK-38590:
-----------------------------------
Summary: Pypi does not support source distribution with underscore
naming
Key: FLINK-38590
URL: https://issues.apache.org/jira/browse/FLINK-38590
Project: Flink
Issue Type: Bug
Components: Build System
Affects Versions: 2.0.1, 1.20.4
Reporter: Zakelly Lan
Assignee: Dian Fu
Currently, Pypi does not support source distribution with underscore naming.
When uploading it says:
{code:bash}
HTTPError: 400 Client Error: Filename 'apache-flink-libraries-2.0.1.tar.gz' is
invalid, should be 'apache_flink_libraries-2.0.1.tar.gz'. for url:
https://upload.pypi.org/legacy/
{code}
So we should change the building script to generate python source distribution
with hyphen naming. This only affects the release-2.0 and release-1.20 branch,
since the release-2.1 the script has been already changed in release-2.2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)