jedcunningham commented on a change in pull request #12497: URL: https://github.com/apache/airflow/pull/12497#discussion_r528279950
########## File path: scripts/ci/pre_commit/pre_commit_check_setup_extra_packages_ref.py ########## @@ -53,13 +53,16 @@ def get_extras_from_setup() -> Dict[str, List[str]]: extras_section = extras_section_regex.findall(setup_content)[0] extras_regex = re.compile( - rf'^\s+[\"\']({PY_IDENTIFIER})[\"\']:\s*({PY_IDENTIFIER})[^#\n]*(#\s*TODO.*)?$', re.MULTILINE + rf'^\s+[\"\']({PY_IDENTIFIER})[\"\']:\s*({PY_IDENTIFIER}|\[\])[^#\n]*(#\s*TODO.*)?$', re.MULTILINE Review comment: These were the smallest changes to support providers without dependencies. Frankly, I think this script can and should be simplified in the deduplication effort or maybe I'll take a stab at it separately. My naive attempt got held up by the aliases, e.g. 'kubernetes -> cncf.kubernetes', though maybe we should simply list the aliases in the docs too. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org