You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "aeroyorch (via GitHub)" <gi...@apache.org> on 2026/04/09 19:45:29 UTC

[I] Default Python version for Docker image inconsistent between build config and docs [airflow]

aeroyorch opened a new issue, #64977:
URL: https://github.com/apache/airflow/issues/64977

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.2.0
   
   ### What happened and how to reproduce it?
   
   The Dockerfile and several doc files reference Python 3.12 as the default for the Docker image, but `global_constants.py` has it set to 3.13. It looks like `upgrade_important_versions.py` has its own hardcoded constant (`DEFAULT_PROD_IMAGE_PYTHON_VERSION = "3.12"`) that didn't get updated when the image default moved to 3.13.
   
   ### What you think should happen instead?
   
   The docs and Dockerfile should reflect the same default Python version as `global_constants.py`. It might also be worth having the upgrade script pull its value from there instead of keeping a separate copy, to avoid this kind of drift in the future.
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Default Python version for Docker image inconsistent between build config and docs [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #64977:
URL: https://github.com/apache/airflow/issues/64977#issuecomment-4222255038

   Thanks for noticing it !


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Default Python version for Docker image inconsistent between build config and docs [airflow]

Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl closed issue #64977: Default Python version for Docker image inconsistent between build config and docs
URL: https://github.com/apache/airflow/issues/64977


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org