You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "raphaelauv (via GitHub)" <gi...@apache.org> on 2026/07/22 11:35:39 UTC

[I] uv version discrepancy between the constraints and the container [airflow]

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

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.3.0
   
   ### What happened and how to reproduce it?
   
   In the container `apache/airflow:slim-3.3.0-python3.14`
   
   uv --version ->  0.11.21
   
   but in the https://raw.githubusercontent.com/apache/airflow/constraints-3.3.0/constraints-3.14.txt
   
   uv==0.11.26
   
   ### What you think should happen instead?
   
   is that a problem ? thanks
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] uv version discrepancy between the constraints and the container [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #70231:
URL: https://github.com/apache/airflow/issues/70231#issuecomment-5109555052

   It's quite deliberate. There are two versions of uv:
   
   a) constraints 
   b) Dockerfile
   
   They are not necessarily the same - `uv` is used to both - install airflow and used by airflow as installer for venv. It's **impossible** to make it perfecly aligned - because one is fixed at the moment where Dockerfile is updated and one the other (constraint) is set when you use `uv` as extra and use constraints. We can choose either one or the other in the Dockerfile - and we choose the Dockerfile one.  Usually they will be few versions apart so this is not an issue.
   
   You can still run `uv pip install "apache-airflow[uv]"==3.3.0 --constraints ~/constraints.txt` if you want to install constraints versions. 
   
   This is the same case with `pip` - but it rarely gets different as it moves way slower than `uv`.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] uv version discrepancy between the constraints and the container [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #70231: uv version discrepancy  between the constraints and the container
URL: https://github.com/apache/airflow/issues/70231


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] uv version discrepancy between the constraints and the container [airflow]

Posted by "raphaelauv (via GitHub)" <gi...@apache.org>.
raphaelauv commented on issue #70231:
URL: https://github.com/apache/airflow/issues/70231#issuecomment-5109585323

   thanks for the answer @potiuk 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org