Skip to content

Commit b6fd66b

Browse files
committed
Link upstream flit issue/PR + tracking issue at the workaround site
Add references to pypa/flit#798 and pypa/flit#799 in the docstring of check_flit_worktree_compatibility, and the Airflow tracking issue apache#65772 at both the helper and its call site. CLAUDE.md requires the tracking-issue URL to appear at the workaround site in the code so the follow-up work is discoverable from any grep or code review.
1 parent 84a0bd8 commit b6fd66b

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎dev/breeze/src/airflow_breeze/commands/release_management_commands.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,10 @@ def prepare_provider_distributions(
11581158
version_suffix: str,
11591159
):
11601160
perform_environment_checks()
1161+
# Workaround for pypa/flit#798 (fix PR pypa/flit#799) plus the Breeze
1162+
# Docker-mount case. Remove this call and the helper it invokes once
1163+
# the conditions in the tracking issue are met:
1164+
# https://github.com/apache/airflow/issues/65772
11611165
check_flit_worktree_compatibility(distribution_format)
11621166
fix_ownership_using_docker()
11631167
cleanup_python_generated_files()

‎dev/breeze/src/airflow_breeze/prepare_providers/provider_distributions.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,14 @@ def check_flit_worktree_compatibility(distribution_format: str) -> None:
6666
``[tool.hatch.build.targets.sdist]`` ``include`` list are also
6767
unaffected.
6868
69-
Remove this check once upstream flit handles worktrees correctly *and*
70-
Airflow pins to a flit release that contains the fix.
69+
Upstream flit tracking:
70+
71+
- Issue: https://github.com/pypa/flit/issues/798
72+
- Fix PR: https://github.com/pypa/flit/pull/799
73+
74+
Airflow-side follow-up (remove this workaround when both conditions in
75+
the tracking issue are met):
76+
https://github.com/apache/airflow/issues/65772
7177
"""
7278
if distribution_format == "wheel":
7379
return

0 commit comments

Comments
 (0)