kaxil commented on code in PR #42904:
URL: https://github.com/apache/airflow/pull/42904#discussion_r1797705192
##########
dev/breeze/src/airflow_breeze/commands/release_management_commands.py:
##########
@@ -549,6 +555,105 @@ def prepare_airflow_packages(
get_console().print("[success]Successfully prepared Airflow packages")
+TASK_SDK_DIR_PATH = AIRFLOW_SOURCES_ROOT / "task_sdk"
+TASK_SDK_DIST_DIR_PATH = TASK_SDK_DIR_PATH / "dist"
+
+
+@release_management.command(
+ name="prepare-task-sdk-package",
+ help="Prepare sdist/whl package of Airflow Task SDK.",
+)
+@option_package_format
+@option_use_local_hatch
+@option_verbose
+@option_dry_run
+def prepare_airflow_task_sdk_packages(
+ package_format: str,
+ use_local_hatch: bool,
+):
+ check_python_version()
+ perform_environment_checks()
+ fix_ownership_using_docker()
+ cleanup_python_generated_files()
+
+ def _build_package_with_hatch(package_format: str):
+ command = [
+ "hatch",
+ "build",
+ "-c",
Review Comment:
Yup will create a separate PR to switch it to uv everywhere
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]