potiuk commented on PR #41916:
URL: https://github.com/apache/airflow/pull/41916#issuecomment-2456495604

   Just follow the testing documentation and regular way how you run your tests 
(using IDE integration or command line pytest): 
   
   
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst
   
   You can run the tests individually with pytest using local venv or enter the 
breeeze shell and run it from there.
   
   I highly recommend to rebase to latest `main` (we are doing a number of 
architectural changes that make our tests temporarily having some 
reproducibility problems). When you run then with breeze - make sure rebuild 
your breeze image `breeze ci-image build` and (as instructed in the error 
message by pytest) remove .pyc and __pycache__ files - you might have some old 
cached files in your environment that cause the problems.
   
   Also you have updated instructions in 
https://github.com/apache/airflow/blob/main/contributing-docs/07_local_virtualenv.rst
 you have updated instructions how to setup your virtualenv with uv - it allows 
you to have a mostly reproducible environment to run your tests in,


-- 
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