potiuk commented on code in PR #57899: URL: https://github.com/apache/airflow/pull/57899#discussion_r2496476919
########## dev/breeze/src/airflow_breeze/global_constants.py: ########## @@ -440,8 +439,8 @@ def get_default_platform_machine() -> str: # changes from main to the previous branch. ALL_PYTHON_MAJOR_MINOR_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] CURRENT_PYTHON_MAJOR_MINOR_VERSIONS = ALL_PYTHON_MAJOR_MINOR_VERSIONS -CURRENT_POSTGRES_VERSIONS = ["13", "14", "15", "16", "17"] -DEFAULT_POSTGRES_VERSION = CURRENT_POSTGRES_VERSIONS[0] +ALLOWED_POSTGRES_VERSIONS = ["14", "15", "16", "17", "18"] +DEFAULT_POSTGRES_VERSION = ALLOWED_POSTGRES_VERSIONS[-1] Review Comment: The main reason is that most PRs are run with the "lowest" versions so if someone accidentally uses a feature of Postgres that was added in later version, it will be detected in the PR and not in canary builds. Those failures that you see now with latest version show another type of similar failure - this time added by "newest" version - but this is where "all versions" addded correctly run it for all versions -- 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]
