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

   > @potiuk Could you please tell me which command should i run to reproduce? 
Are we running the providers from current main against different airflow 
versions or are we using some past versions of the providers? I see that 
`namespace` property has been added 
[here](https://github.com/apache/airflow/pull/36410/files#diff-b7b2860097075edcea75bf836f010272add9e0e5fc7aa2937e18e97f50d5e294R185),
 together with OL support, so I'm trying to understand if there might be some 
mismatch of the provider versions there.
   
   The exact steps to repro are explained here : 
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst#compatibility-provider-unit-tests-against-older-airflow-releases
  (just use 2.8.4 as airflow version). 
   
   The way it is done:
   
   1) providers are prepared from current branch - so essentially main (in dist)
   2) when entering breeze, airflow is installed from PyPI (2.8.4 in this 
case). providers are installed from dist prepared packages
   3) `tests` folder is mounted from current branch `tests` folder, so you can 
modify them in-place and tests will be updated also in breeze
   4) if you woud like to modify some of the providers in attempt to fix or 
debug it, the providers are installed as packages, so you have to modify them 
in installed "site-packages" (maybe in the future we should make it easier to 
allow to also mount providers instead, but this is a bit tricky.
   


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