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


##########
dev/breeze/src/airflow_breeze/utils/packages.py:
##########
@@ -474,14 +474,37 @@ def get_package_extras(provider_id: str, version_suffix: 
str) -> dict[str, list[
 
     :param provider_id: id of the package
     """
+
     if provider_id == "providers":
         return {}
     if provider_id in get_removed_provider_ids():
         return {}
+
+    deps_list = get_install_requirements(provider_id=provider_id, 
version_suffix=version_suffix)[1]
+
+    for i in range(len(deps_list)):

Review Comment:
   I think it would be better to use requirements parser here 
   
   ```
           from packaging.requirements import Requirement
           req = Requirement(requirement_string)
           package = req.name
   ```



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