kaxil commented on a change in pull request #13021:
URL: https://github.com/apache/airflow/pull/13021#discussion_r541149323
##########
File path: dev/provider_packages/prepare_provider_packages.py
##########
@@ -1598,7 +1598,9 @@ def copy_readme_and_changelog(provider_package_id: str,
backport_packages: bool)
package_format = os.environ.get("PACKAGE_FORMAT", "wheel")
print(f"Building backport package: {_provider_package} in format
${package_format}")
copy_readme_and_changelog(_provider_package, BACKPORT_PACKAGES)
- command = ["python3", "setup.py", "--version-suffix-for-pypi", suffix]
+ command = ["python3", "setup.py"]
+ if suffix != "":
+ command.extend(['egg_info', '--tag-build', suffix])
if package_format in ['sdist', 'both']:
command.append("sdist")
if package_format in ['wheel', 'both']:
Review comment:
This will add `bdist_wheel` by default.
```
python3 setup.py egg_info --tag-build rc1 bdist_wheel
```
for example
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]