notatallshaw opened a new issue, #39100:
URL: https://github.com/apache/airflow/issues/39100

   ### Description
   
   Airflow should set lower bounds on the providers it specifies by extras.
   
   ### Use case/motivation
   
   Airflow provides a number of extras that point to providers, e.g. 
`apache-beam` points to the provider `apache-airflow-providers-apache-beam` , 
but in the metadata it does this completely unbounded:
   
   ```
   Provides-Extra: apache-beam
   Requires-Dist: apache-airflow-providers-apache-beam; (python_version != 
"3.12") and extra == 'apache-beam'
   ```
   
   This leads to the problem that dependency resolution tools might backtrack 
to `apache-airflow-providers-apache-beam==1.0.0` when trying to find solutions, 
which can cause resolution failures, e.g. 
https://github.com/astral-sh/uv/issues/3078
   
   I don't think the lower bounds need to even be particularly strong, just 
avoid letting resolution tools attempt extremely old versions of providers.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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