potiuk commented on pull request #18671:
URL: https://github.com/apache/airflow/pull/18671#issuecomment-932989966


   I think we have a small problem here. Seems that we have the Amazon provider 
depends in this release implicitly on a specific version of the Postgres 
provider - introduced with #18027. So if you would like to use Redshift from 
the AWS provider, you need to also have Postgres provider with 2.3.0 version. 
   
   This might make us hold a bit with releasing the AWS provider being voted 
now, because I think we need to introduce a specific version dependency between 
the providers, otherwise there is a risk that it won't work. However I think 
just documentation update should be enough. The Amazon provider has "postgres" 
extra 
https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/index.html#cross-provider-package-dependencies
   
   We could introduce a "harder" dependency (and modify the "extra" to depend 
on "apache-airflow-providers-postgres>=2.3.0"  or we could make it clear in the 
documentation. I doubt many people use the "cross-provider" extras, so I am not 
sure if it's worth to add the version (Seems that documentation update will be 
more than enough).
   
   WDYT @uranusjr @mariotaddeucci ? If you are OK with that, I can release the 
package now and update changelog when publishing the documentaiton. Could you 
plese add a line to the CHANGELOG for Amazon provider that 
`apache-airflow-providers-postgres>=2.3.0 is needed to use Redshift") 
   


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