Michael-Teraco opened a new issue, #52158:
URL: https://github.com/apache/airflow/issues/52158

   ### Apache Airflow version
   
   3.0.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   ### Summary
   
   While testing the current published image:
   `apache/airflow:3.0.2-python3.11`
   
   
   we have found that the image appears to be built from an incorrect source 
tree:
   
   - The CLI reports version 3.0.2, but:
     - Running `airflow webserver` results in:
   
       ```
       Command 'airflow webserver' has been removed. Please use 'airflow 
api-server'
       ```
   
       This message does not appear in Airflow 3.0.2 release notes or 3.0.2 
source.
   
     - The Web UI displays:
   
       ```
       SimpleAuthManager enabled
       ```
   
       which was introduced after 3.0.2 (merged into `main` after 3.0.2 
release).
   
     - `pip freeze | grep airflow` reports version 3.0.2, but CLI behavior and 
UI match newer development.
   
   - The official GitHub Releases page shows latest tag as **3.0.2**.
   
   - The image was built on June 10, 2025 (per release notes), but appears to 
include commits after 3.0.2 code freeze.
   
   ### Impact
   
   - Users expecting Airflow 3.0.2 are unable to run it — `webserver` command 
fails, CLI is inconsistent.
   - Several tutorials / upgrade paths from Airflow 2.x break when using this 
image.
   - The issue is repeatable, even when testing without any extra dependencies:
   
       ```bash
       docker run -it --rm apache/airflow:3.0.2-python3.11 airflow webserver 
--help
       ```
   
       still results in the "command removed" error.
   
   ### Request
   
   - Could the image be reviewed or rebuilt from the actual 3.0.2 release tag?
   - Will a version be released soon that we should use instead?
   - Should a warning be added to the Docker Hub page?
   
    
   Thank you very much to the Airflow team for your great work!
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   ### How to reproduce
   
   1. Pull the official image:
   
       ```bash
       docker pull apache/airflow:3.0.2-python3.11
       ```
   
   2. Run to check version:
   
       ```bash
       docker run -it --rm apache/airflow:3.0.2-python3.11 airflow version
       ```
   
       Output:
   
       ```
       3.0.2
       ```
   
   3. Run to test CLI command:
   
       ```bash
       docker run -it --rm apache/airflow:3.0.2-python3.11 airflow webserver 
--help
       ```
   
       Output:
   
       ```
       airflow command error: argument GROUP_OR_COMMAND: Command `airflow 
webserver` has been removed. Please use `airflow api-server`, see help above.
       ```
   
   4. (Optional) Run to test Web UI:
   
       ```bash
       docker run -it --rm -p 8080:8080 apache/airflow:3.0.2-python3.11 
standalone
       ```
   
       Then open [http://localhost:8080](http://localhost:8080)
   
       - The Web UI will display the message:
   
           ```
           SimpleAuthManager enabled
           ```
   
   ---
   
   These steps reproduce the issue on a clean machine (no custom Dockerfile or 
requirements.txt).
   
   ### Operating System
   
   Ubuntu 24.04.2
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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-unsubscr...@airflow.apache.org.apache.org

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

Reply via email to