potiuk commented on code in PR #58412:
URL: https://github.com/apache/airflow/pull/58412#discussion_r2535749724


##########
dev/breeze/src/airflow_breeze/utils/packages.py:
##########
@@ -1232,7 +1232,7 @@ def _update_dependency_line_with_new_version(
     updated_line = line.replace(old_constraint, new_constraint)
 
     # Remove the "# use next version" comment after upgrading
-    updated_line = updated_line.replace(", # use next version", "").replace(" 
# use next version", "")
+    updated_line = updated_line.replace(" # use next version", "")

Review Comment:
   There was a bug in the AI -generated code, it removed "," from array and 
made pyproject.toml invalid.



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