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

   ### Apache Airflow version
   
   3.0.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   While working on #53241, I realized that I still don’t fully understand how 
the `breeze` command works. Since I had already built the image, I assumed that 
I needed to use `breeze shell` to run tests inside that image.
   
   So I ran `breeze ci-image build --python 3.10` to build the CI image with 
Python 3.10.
   
   Then I ran `breeze shell --python 3.10 --verbose` to enter the shell and 
confirm, using the `--verbose` flag, that I was indeed working inside the CI 
image.
   
   Inside the shell, I ran `export SHOW_UNUSED_MYPY_WARNINGS=true` (note: this 
is not related to the issue), and then executed 
`./scripts/ci/pre_commit/mypy_folder.py providers/apache/pinot` 
   
   <img width="613" height="169" alt="Image" 
src="https://github.com/user-attachments/assets/9d4d79d8-91d4-47f2-87c0-72447309b5f4";
 />
   
   After reviewing the official documentation again, I noticed the 
`--mount-sources all` option, which seemed relevant to the issue. So I re-ran 
the shell using `breeze shell --python 3.10 --mount-sources all`, and this 
time, I was able to confirm that `Dockerfile.ci` was properly included in the 
environment. After going through this sequence, everything worked as expected.
   
   <img width="3656" height="1576" alt="Image" 
src="https://github.com/user-attachments/assets/59c9a76a-3329-4723-a7a5-f090292ac272";
 />
   
   First of all, is it possible that I ran the test incorrectly?
   
   Also, could what I observed here be considered a bug?
   
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   ```python
   breeze ci-image build --python 3.10
   
   breeze shell --python 3.10 --mount-sources all
   ```
   
   ### Operating System
   
   m2 max (arm64)
   
   ### 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?
   
   - [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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to