diff --git a/noxfile.py b/noxfile.py index ce2d2c3865..7ce394640a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -62,8 +62,6 @@ "3.11": ["2.42.0", "2.47.1"], } UNIT_TEST_STANDARD_DEPENDENCIES = [ - "mock", - "asyncmock", "pytest", "pytest-cov", "pytest-asyncio", diff --git a/testing/constraints-3.10.txt b/testing/constraints-3.10.txt index b931b4f348..e9fe2ca303 100644 --- a/testing/constraints-3.10.txt +++ b/testing/constraints-3.10.txt @@ -5,7 +5,6 @@ google-api-core==2.21.0 # Tests google-api-core with rest async support google-auth==2.47.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/testing/constraints-3.11.txt b/testing/constraints-3.11.txt index 205412f0e5..45130293eb 100644 --- a/testing/constraints-3.11.txt +++ b/testing/constraints-3.11.txt @@ -5,7 +5,6 @@ google-api-core==2.21.0 # Tests google-api-core with rest async support google-auth==2.47.0 # Tests google-auth with rest async support proto-plus protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) pytest-xdist==3.3.1 # Pinned to unbreak unit tests diff --git a/testing/constraints-3.12.txt b/testing/constraints-3.12.txt index 35b3def89d..3d171a0e51 100644 --- a/testing/constraints-3.12.txt +++ b/testing/constraints-3.12.txt @@ -4,7 +4,6 @@ google-api-core==2.21.0 # Tests google-api-core with rest async support google-auth==2.47.0 # Tests google-auth with rest async support proto-plus -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) pytest-xdist==3.3.1 # Pinned to unbreak unit tests diff --git a/testing/constraints-3.13.txt b/testing/constraints-3.13.txt index ecc94df9ac..e2cc479699 100644 --- a/testing/constraints-3.13.txt +++ b/testing/constraints-3.13.txt @@ -4,7 +4,6 @@ google-api-core==2.27.0 # Tests google-api-core with rest async support google-auth==2.47.0 # Tests google-auth with rest async support proto-plus -mock==4.0.2 google-cloud-storage==3.10.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) pytest-xdist==3.3.1 # Pinned to unbreak unit tests diff --git a/testing/constraints-3.14.txt b/testing/constraints-3.14.txt index d3d2ea38b7..85983ca9e7 100644 --- a/testing/constraints-3.14.txt +++ b/testing/constraints-3.14.txt @@ -4,7 +4,6 @@ google-api-core==2.27.0 google-auth==2.47.0 # Tests google-auth with rest async support proto-plus -mock==4.0.2 google-cloud-storage==3.10.0 # Updated for Python 3.14 compatibility packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) pytest-xdist==3.3.1 # Pinned to unbreak unit tests diff --git a/testing/constraints-3.8.txt b/testing/constraints-3.8.txt index cbd2bf5690..18e42bbc6e 100644 --- a/testing/constraints-3.8.txt +++ b/testing/constraints-3.8.txt @@ -6,7 +6,6 @@ google-api-core==2.17.1 # Increased for gapic owlbot presubmit tests google-auth==2.14.1 # Tests google-auth without rest async support proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index 63f2d6d147..8ffcc248bc 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -5,7 +5,6 @@ google-api-core==2.21.0 # Tests google-api-core with rest async support google-auth==2.47.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/testing/constraints-ray-2.33.0.txt b/testing/constraints-ray-2.33.0.txt index 10bc7c96f9..266d63479e 100644 --- a/testing/constraints-ray-2.33.0.txt +++ b/testing/constraints-ray-2.33.0.txt @@ -3,7 +3,6 @@ ray==2.33.0 google-api-core proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/testing/constraints-ray-2.42.0.txt b/testing/constraints-ray-2.42.0.txt index 5844dca74f..d342cee14e 100644 --- a/testing/constraints-ray-2.42.0.txt +++ b/testing/constraints-ray-2.42.0.txt @@ -3,7 +3,6 @@ ray==2.42.0 google-api-core proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/testing/constraints-ray-2.47.1.txt b/testing/constraints-ray-2.47.1.txt index 2615289db0..0f655a1f88 100644 --- a/testing/constraints-ray-2.47.1.txt +++ b/testing/constraints-ray-2.47.1.txt @@ -3,7 +3,6 @@ ray==2.47.1 google-api-core proto-plus==1.22.3 protobuf -mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper packaging==24.1 # Increased to unbreak canonicalize_version error (b/377774673) grpcio-testing==1.34.0 diff --git a/tests/unit/vertex_rag/test_rag_constants_preview.py b/tests/unit/vertex_rag/test_rag_constants_preview.py index 9819137268..7e0b13fd5a 100644 --- a/tests/unit/vertex_rag/test_rag_constants_preview.py +++ b/tests/unit/vertex_rag/test_rag_constants_preview.py @@ -282,7 +282,6 @@ name=TEST_RAG_CORPUS_RESOURCE_NAME, display_name=TEST_CORPUS_DISPLAY_NAME, description=TEST_CORPUS_DISCRIPTION, - embedding_model_config=TEST_EMBEDDING_MODEL_CONFIG, ) TEST_CMEK_RAG_CORPUS = RagCorpus( name=TEST_RAG_CORPUS_RESOURCE_NAME,