This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e27bbea8ec Clarify that we are using lowest supported version for 
static checks (#29024)
e27bbea8ec is described below

commit e27bbea8ec0f1f5ccb0b0e4f6010396d64af42c3
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Jan 18 22:04:36 2023 +0100

    Clarify that we are using lowest supported version for static checks 
(#29024)
    
    There is a good reason static checks always use lowest supported
    Python version. This PR clarifies that it happens and why.
---
 BREEZE.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/BREEZE.rst b/BREEZE.rst
index 35a84ccb6f..7f03ad7cc6 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -491,6 +491,13 @@ Those are all available flags of ``static-checks`` command:
     get broken, in which case you should run ``breeze stop`` to clean up the 
cache.
 
 
+.. note::
+
+    You cannot change Python version for static checks that are run within 
Breeze containers.
+    The ``--python`` flag has no effect for them. They are always run with 
lowest supported Python version.
+    The main reason is to keep consistency in the results of static checks and 
to make sure that
+    our code is fine when running the lowest supported version.
+
 Starting Airflow
 ----------------
 

Reply via email to