From 9930928fd10b6b6b5e1f74f9676d34f391a110ba Mon Sep 17 00:00:00 2001 From: insomnes Date: Tue, 11 Feb 2025 10:53:04 +0100 Subject: [PATCH 1/4] Add deprecations ignore file to google provider --- .../google/tests/deprecations_ignore.yml | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 providers/google/tests/deprecations_ignore.yml diff --git a/providers/google/tests/deprecations_ignore.yml b/providers/google/tests/deprecations_ignore.yml new file mode 100644 index 0000000000000..bce6cbd36f6f2 --- /dev/null +++ b/providers/google/tests/deprecations_ignore.yml @@ -0,0 +1,136 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +--- + +- providers/tests/amazon/aws/deferrable/hooks/test_base_aws.py::TestAwsBaseAsyncHook::test_get_client_async +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_cluster_status +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_get_cluster_status +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_get_cluster_status_exception +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_pause_cluster +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_resume_cluster +- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_resume_cluster_exception +- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_exception +- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_resuming_status +- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_success +- providers/google/tests/provider_tests/google/common/auth_backend/test_google_openid.py::TestGoogleOpenID::test_success +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs_duplication_warning +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_queries +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_cancel_completed +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_cancel_timeout +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_jobs_to_cancel +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_get_dataset_tables_list +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_schema_update_and_write_disposition +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_schema_update_options +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_source_format +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_extract +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_load_with_non_csv_as_src_fmt +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_schema_update_options +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_schema_update_options_incorrect +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_default +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_legacy_with_query_params +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_legacy_with_query_params_fails +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_with_arg +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_without_sql_fails +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_table_delete +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookRunWithConfiguration::test_run_with_configuration_location +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_create_external_table_with_kms +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_copy_with_kms +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_load_with_kms +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_query_with_kms +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_create_external_table_description +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_create_external_table_labels +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_run_load_description +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_run_load_labels +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_load_default +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_load_with_arg +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_query_default +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_query_with_arg +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestDatasetsOperations::test_patch_dataset +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTableOperations::test_patch_table +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_load_default +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_load_with_arg +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_query_with_arg +- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_with_auto_detect +- providers/google/tests/provider_tests/google/cloud/hooks/test_gcs.py::TestGCSHook::test_list__error_match_glob_and_invalid_delimiter +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_error_operation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_life_science_client_creation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_run_pipeline_immediately_complete +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_waiting_operation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_error_operation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_life_science_client_creation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_location_path +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_run_pipeline_immediately_complete +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_waiting_operation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithoutProjectId::test_life_science_client_creation +- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithoutProjectId::test_run_pipeline +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_cancel_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_create_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_delete_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_get_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_list_pipeline_jobs +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_cancel_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_create_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_delete_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_get_pipeline_job +- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_list_pipeline_jobs +- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::TestDataprocClusterScaleOperator::test_execute +- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_create_cluster_operator_extra_links +- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_scale_cluster_operator_extra_links +- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_submit_spark_job_operator_extra_links +- providers/google/tests/provider_tests/google/cloud/operators/test_gcs.py::TestGoogleCloudStorageListOperator::test_execute__delimiter +- providers/google/tests/provider_tests/google/cloud/operators/test_life_sciences.py::TestLifeSciencesRunPipelineOperator::test_executes +- providers/google/tests/provider_tests/google/cloud/operators/test_life_sciences.py::TestLifeSciencesRunPipelineOperator::test_executes_without_project_id +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_copy_files_into_a_folder +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_last_modified_time +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_more_than_1_wildcard +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_no_prefix +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_no_suffix +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_prefix_and_suffix +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_empty_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_destination_object_retained_prefix +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_replace_flag_false +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_replace_flag_false_with_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_without_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_a_delimiter +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_delimiter_and_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_different_delimiter_and_destination_object +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_all_true_cond +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_one_true_cond +- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_no_last_modified_time +- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyDatasetLink::test_get_link +- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationDatasetListLink::test_get_link +- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyModelLink::test_get_link +- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyModelTrainLink::test_get_link +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_conn +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_prediction_client +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_create_model +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_batch_predict +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_predict +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_create_dataset +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_import_dataset +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_column_specs +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_model +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_delete_model +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_update_dataset +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_deploy_model +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_table_specs +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_datasets +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_delete_dataset +- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_dataset From 27208ea5836042dc50cb245cde4c9752a8c5ba76 Mon Sep 17 00:00:00 2001 From: insomnes Date: Tue, 11 Feb 2025 10:54:38 +0100 Subject: [PATCH 2/4] Remove amazon tests from dep ignore --- providers/google/tests/deprecations_ignore.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/providers/google/tests/deprecations_ignore.yml b/providers/google/tests/deprecations_ignore.yml index bce6cbd36f6f2..41439cb443b33 100644 --- a/providers/google/tests/deprecations_ignore.yml +++ b/providers/google/tests/deprecations_ignore.yml @@ -15,17 +15,6 @@ # specific language governing permissions and limitations # under the License. --- - -- providers/tests/amazon/aws/deferrable/hooks/test_base_aws.py::TestAwsBaseAsyncHook::test_get_client_async -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_cluster_status -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_get_cluster_status -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_get_cluster_status_exception -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_pause_cluster -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_resume_cluster -- providers/tests/amazon/aws/deferrable/hooks/test_redshift_cluster.py::TestRedshiftAsyncHook::test_resume_cluster_exception -- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_exception -- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_resuming_status -- providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_success - providers/google/tests/provider_tests/google/common/auth_backend/test_google_openid.py::TestGoogleOpenID::test_success - providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs - providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs_duplication_warning From 91156c087327d5770214e836fafb7c20c1a97723 Mon Sep 17 00:00:00 2001 From: insomnes Date: Tue, 11 Feb 2025 11:54:24 +0100 Subject: [PATCH 3/4] Remove google deprecations, moved to new structure --- providers/tests/deprecations_ignore.yml | 108 ------------------------ 1 file changed, 108 deletions(-) diff --git a/providers/tests/deprecations_ignore.yml b/providers/tests/deprecations_ignore.yml index bce6cbd36f6f2..0a0b40c94a071 100644 --- a/providers/tests/deprecations_ignore.yml +++ b/providers/tests/deprecations_ignore.yml @@ -26,111 +26,3 @@ - providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_exception - providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_resuming_status - providers/tests/amazon/aws/triggers/test_redshift_cluster.py::TestRedshiftClusterTrigger::test_redshift_cluster_sensor_trigger_success -- providers/google/tests/provider_tests/google/common/auth_backend/test_google_openid.py::TestGoogleOpenID::test_success -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_api_resource_configs_duplication_warning -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_queries -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_cancel_completed -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_cancel_timeout -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_cancel_query_jobs_to_cancel -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_get_dataset_tables_list -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_schema_update_and_write_disposition -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_schema_update_options -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_invalid_source_format -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_extract -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_load_with_non_csv_as_src_fmt -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_schema_update_options -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_schema_update_options_incorrect -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_default -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_legacy_with_query_params -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_sql_dialect_legacy_with_query_params_fails -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_with_arg -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_query_without_sql_fails -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookMethods::test_run_table_delete -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryHookRunWithConfiguration::test_run_with_configuration_location -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_create_external_table_with_kms -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_copy_with_kms -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_load_with_kms -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithKMS::test_run_query_with_kms -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_create_external_table_description -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_create_external_table_labels -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_run_load_description -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestBigQueryWithLabelsAndDescription::test_run_load_labels -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_load_default -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_load_with_arg -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_query_default -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestClusteringInRunJob::test_run_query_with_arg -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestDatasetsOperations::test_patch_dataset -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTableOperations::test_patch_table -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_load_default -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_load_with_arg -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_query_with_arg -- providers/google/tests/provider_tests/google/cloud/hooks/test_bigquery.py::TestTimePartitioningInRunJob::test_run_with_auto_detect -- providers/google/tests/provider_tests/google/cloud/hooks/test_gcs.py::TestGCSHook::test_list__error_match_glob_and_invalid_delimiter -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_error_operation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_life_science_client_creation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_run_pipeline_immediately_complete -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithDefaultProjectIdFromConnection::test_waiting_operation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_error_operation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_life_science_client_creation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_location_path -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_run_pipeline_immediately_complete -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithPassedProjectId::test_waiting_operation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithoutProjectId::test_life_science_client_creation -- providers/google/tests/provider_tests/google/cloud/hooks/test_life_sciences.py::TestLifeSciencesHookWithoutProjectId::test_run_pipeline -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_cancel_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_create_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_delete_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_get_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithDefaultProjectIdHook::test_list_pipeline_jobs -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_cancel_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_create_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_delete_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_get_pipeline_job -- providers/google/tests/provider_tests/google/cloud/hooks/vertex_ai/test_custom_job.py::TestCustomJobWithoutDefaultProjectIdHook::test_list_pipeline_jobs -- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::TestDataprocClusterScaleOperator::test_execute -- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_create_cluster_operator_extra_links -- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_scale_cluster_operator_extra_links -- providers/google/tests/provider_tests/google/cloud/operators/test_dataproc.py::test_submit_spark_job_operator_extra_links -- providers/google/tests/provider_tests/google/cloud/operators/test_gcs.py::TestGoogleCloudStorageListOperator::test_execute__delimiter -- providers/google/tests/provider_tests/google/cloud/operators/test_life_sciences.py::TestLifeSciencesRunPipelineOperator::test_executes -- providers/google/tests/provider_tests/google/cloud/operators/test_life_sciences.py::TestLifeSciencesRunPipelineOperator::test_executes_without_project_id -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_copy_files_into_a_folder -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_last_modified_time -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_more_than_1_wildcard -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_no_prefix -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_no_suffix -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_prefix_and_suffix -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_empty_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_destination_object_retained_prefix -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_replace_flag_false -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_with_replace_flag_false_with_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_execute_wildcard_without_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_a_delimiter -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_delimiter_and_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_executes_with_different_delimiter_and_destination_object -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_all_true_cond -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_last_modified_time_with_one_true_cond -- providers/google/tests/provider_tests/google/cloud/transfers/test_gcs_to_gcs.py::TestGoogleCloudStorageToCloudStorageOperator::test_wc_with_no_last_modified_time -- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyDatasetLink::test_get_link -- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationDatasetListLink::test_get_link -- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyModelLink::test_get_link -- providers/google/tests/provider_tests/google/cloud/links/test_translate.py::TestTranslationLegacyModelTrainLink::test_get_link -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_conn -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_prediction_client -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_create_model -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_batch_predict -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_predict -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_create_dataset -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_import_dataset -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_column_specs -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_model -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_delete_model -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_update_dataset -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_deploy_model -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_table_specs -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_list_datasets -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_delete_dataset -- providers/google/tests/provider_tests/google/cloud/hooks/test_automl.py::TestAutoMLHook::test_get_dataset From efdcf5b72eac8e836446fe594788ac1408f97100 Mon Sep 17 00:00:00 2001 From: insomnes Date: Tue, 11 Feb 2025 11:56:22 +0100 Subject: [PATCH 4/4] Add `deprecations_ignore.yml` comment` --- providers/google/tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/google/tests/conftest.py b/providers/google/tests/conftest.py index 068fe6bbf5ae9..98f62e70d5933 100644 --- a/providers/google/tests/conftest.py +++ b/providers/google/tests/conftest.py @@ -23,6 +23,8 @@ pytest_plugins = "tests_common.pytest_plugin" +# Provider specific `deprecations_ignore.yml` file allows us to not depend +# on the called providers in tests to ignore the deprecations. @pytest.hookimpl(tryfirst=True) def pytest_configure(config: pytest.Config) -> None: deprecations_ignore_path = pathlib.Path(__file__).parent.joinpath("deprecations_ignore.yml")