Closed eladkal closed 11 months ago
An issue has been raised with https://github.com/apache/airflow/pull/34919
Unfortunately it looks like it has broken GCSObjectsWithPrefixExistenceSensor
.
Testing myself I can confirm that the following code is able to create the error:
from airflow.providers.google.cloud.hooks.gcs import GCSHook
res = GCSHook().list(
bucket_name='a-testbucket',
prefix='a/prefix/in/the/bucket/'
)
print(res)
Please do not include this change.
Edit: I've raised a PR https://github.com/apache/airflow/pull/36130 which appears to fix this issue for me when testing locally.
Docker provider will be excluded from rc1
I tested my change on the Kubernetes executor, and most of the changes in the Amazon provider, all work as expected.
As @atrbgithub has mentioned above https://github.com/apache/airflow/pull/34919 is breaking an existing DAG. so we might need to exclude Google provider
so we might need to exclude Google provider
Yes. Google provider will also have RC2
Tested mssql - all looks good.
One more thing I noticed - the removed daskexecutor
has not been prepared. We have this in the release process, so it's easy to miss:
NOTE! When you want to release a provider marked for removal (needed in order to prepare last release of the provider), package for the provider will not be prepared when you prepare documentation for all providers - you have to specifically use the provider name in a separate command. For example to prepare documentation for removed.provider provider marked for removal you need to run separately this command:
breeze release-management prepare-provider-packages --package-format both removed.provider
But maybye we will change it in the future - we have more removed providers coming. So possibly we shoudl automatically add removed providers to the list of providers prepared (both for documentation and package building - so that we do not have to remember to prepare them. That was probably bad idea to not add them in the first place.
@eladkal -> I guess we should include rc2 (even if there was no rc1) for daskexecutor
.
One small update - as @pankajastro noticed in https://github.com/apache/airflow/pull/32319#discussion_r1421437350 - there is a case where we are not handling properly the fact that handler
can return either list of rows or row - in both ODBC and DAtabricks oviders, so IMHO they should also be moved to RC2 (cc: @Joffreybvn )
Fix to the process to automatically generate removed providers here: https://github.com/apache/airflow/pull/36160
Fix for https://github.com/apache/airflow/pull/32319#discussion_r1421437350 is here -> #36161
Providers: Google, ODBC, Databricks, Docker are excluded from RC1.
Body
I have a kind request for all the contributors to the latest provider packages release. Could you please help us to test the RC versions of the providers?
The guidelines on how to test providers can be found in
Verify providers by contributors
Let us know in the comment, whether the issue is addressed.
Those are providers that require testing as there were some substantial changes introduced:
Provider amazon: 8.13.0rc1
is_authorized_variable
in AWS auth manager (#35804): @vincbeckRedshiftToS3Operator
(#35986): @vincbeckAthenaHook.get_output_location
(#36008): @Taragolisboto3
andbotocore
versions notes (#36073): @Taragolisonly_client_type
decorator (#35997): @hussein-awalaget_output_location
method in AthenaHook (#35996): @hussein-awalais_authorized_*
methods (butis_authorized_dag
) (#35928): @vincbeckProvider cncf.kubernetes: 7.11.0rc1
Provider docker: 3.9.0rc1
enable_logging=True
not working inDockerSwarmOperator
(#35677): @stavdav143Provider elasticsearch: 5.3.0rc1
Provider google: 10.13.0rc1
CloudComposerEnvironmentSensor
in favor ofCloudComposerCreateEnvironmentOperator
with defer mode (#35775): @VladaZakharovaProvider http: 4.8.0rc1
str
data (#35782): @JoffreybvnProvider jdbc: 4.2.0rc1
Provider microsoft.azure: 8.4.0rc1
AzureSynapsePipelineRunLink.get_fields_from_url
(#36009): @TaragolisWasbHook.delete_container
(#36034): @TaragolisProvider microsoft.mssql: 3.6.0rc1
Provider openai: 1.1.0rc1
Provider openlineage: 1.3.0rc1
Provider trino: 5.5.0rc1
Provider weaviate: 1.1.0rc1
All users involved in the PRs: @Taragolis @vincbeck @romsharon98 @syedahsn @kacpermuda @raphaelauv @melugoyal @ginolegigot @atrbgithub @flolas @JDarDagran @nathadfield @potiuk @ephraimbuddy @Joffreybvn @pankajkoti @hussein-awala @VladaZakharova @stavdav143 @eladkal
Committer