[
https://issues.apache.org/jira/browse/FLINK-38590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zakelly Lan updated FLINK-38590:
--------------------------------
Description:
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 underscore style 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.
was:
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.
> Pypi does not support source distribution with hyphen 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
> Priority: Major
> Labels: pull-request-available
>
> 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 underscore style 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)