waterWang opened a new pull request, #71382:
URL: https://github.com/apache/airflow/pull/71382

   ## Description
   
   uv 0.12 rejects `--project` when given a distribution name instead of a 
project directory or `pyproject.toml`. The two `generate-*-datamodels` prek 
hooks in `.pre-commit-config.yaml` pass both `--project <dist-name>` (invalid) 
and `--directory <dir>` (correct). Since `--directory` already identifies the 
target, the `--project` flag is redundant and breaks `prek run` under uv 0.12.
   
   Removed:
   - `--project apache-airflow-task-sdk` from `generate-tasksdk-datamodels`
   - `--project apache-airflow-ctl` from `generate-airflowctl-datamodels`
   
   Closes #71377
   


-- 
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]

Reply via email to