Taragolis commented on code in PR #37789:
URL: https://github.com/apache/airflow/pull/37789#discussion_r1507977477


##########
scripts/in_container/run_generate_constraints.py:
##########
@@ -132,21 +132,21 @@ def current_constraints_file(self) -> Path:
     @cached_property
     def get_freeze_command(self) -> list[str]:
         if self.use_uv:
-            return ["uv", "pip", "freeze"]
+            return ["uv", "pip", "freeze", "--python", sys.executable]

Review Comment:
   If we would like to have post processing anyway than better choice would be:
   `pip freeze` for output and `packaging` for parse, postprocess and normalize
   
   Difference between 0.5-1s and 0.1s is negligible if we wouldn't like a 
surprises 



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