potiuk opened a new pull request, #71511: URL: https://github.com/apache/airflow/pull/71511
The `generate-tasksdk-datamodels` and `generate-airflowctl-datamodels` prek hooks pass workspace package names (`apache-airflow-task-sdk`, `apache-airflow-ctl`) to `uv run --project`, which takes a *directory*. uv 0.11 tolerated it; uv 0.12 validates the path and fails with: ``` error: Project directory `apache-airflow-task-sdk` does not exist ``` `--package` is the flag that takes a workspace member name. Verified against both uv 0.11.29 and uv 0.12.3: both hooks pass and regenerate byte-identical output. This currently blocks the CI environment upgrade, which bumps uv to 0.12.3. Note that CI here cannot demonstrate the failure, since `main` still pins uv 0.11.29, where both spellings work. This PR shows no regression; the fix is exercised by the upgrade PR. related: #70501 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
