Skip to content

Commit ca7704d

Browse files
committed
try removing the ignore futurewarnings annotation
1 parent 5b0be33 commit ca7704d

File tree

20 files changed

+8
-20
lines changed

20 files changed

+8
-20
lines changed

gapic/templates/setup.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
# Exclude incompatible versions of `google-auth`
3838
# See https://github.com/googleapis/google-cloud-python/issues/12364
3939
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
40-
"packaging", # TODO: Remove once we require versions of api core that include this
40+
# "packaging", # TODO: Remove once we require versions of api core that include this
4141
"proto-plus >= 1.22.3, <2.0.0",
4242
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4343
{# Explicitly exclude protobuf versions mentioned in https://cloud.google.com/support/bulletins#GCP-2022-019 #}

gapic/templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,6 @@ def test_{{ service.name|snake_case }}_grpc_asyncio_transport_channel():
14721472

14731473
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
14741474
# removed from grpc/grpc_asyncio transport constructor.
1475-
@pytest.mark.filterwarnings("ignore::FutureWarning")
14761475
@pytest.mark.parametrize("transport_class", [transports.{{ service.grpc_transport_name }}, transports.{{ service.grpc_asyncio_transport_name }}])
14771476
def test_{{ service.name|snake_case }}_transport_channel_mtls_with_client_cert_source(
14781477
transport_class

tests/integration/goldens/asset/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
46-
"packaging", # TODO: Remove once we require versions of api core that include this
46+
# "packaging", # TODO: Remove once we require versions of api core that include this
4747
"proto-plus >= 1.22.3, <2.0.0",
4848
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4949
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",

tests/integration/goldens/asset/tests/unit/gapic/asset_v1/test_asset_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17712,7 +17712,6 @@ def test_asset_service_grpc_asyncio_transport_channel():
1771217712

1771317713
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
1771417714
# removed from grpc/grpc_asyncio transport constructor.
17715-
@pytest.mark.filterwarnings("ignore::FutureWarning")
1771617715
@pytest.mark.parametrize("transport_class", [transports.AssetServiceGrpcTransport, transports.AssetServiceGrpcAsyncIOTransport])
1771717716
def test_asset_service_transport_channel_mtls_with_client_cert_source(
1771817717
transport_class

tests/integration/goldens/credentials/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
46-
"packaging", # TODO: Remove once we require versions of api core that include this
46+
# "packaging", # TODO: Remove once we require versions of api core that include this
4747
"proto-plus >= 1.22.3, <2.0.0",
4848
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4949
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",

tests/integration/goldens/credentials/tests/unit/gapic/credentials_v1/test_iam_credentials.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3972,7 +3972,6 @@ def test_iam_credentials_grpc_asyncio_transport_channel():
39723972

39733973
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
39743974
# removed from grpc/grpc_asyncio transport constructor.
3975-
@pytest.mark.filterwarnings("ignore::FutureWarning")
39763975
@pytest.mark.parametrize("transport_class", [transports.IAMCredentialsGrpcTransport, transports.IAMCredentialsGrpcAsyncIOTransport])
39773976
def test_iam_credentials_transport_channel_mtls_with_client_cert_source(
39783977
transport_class

tests/integration/goldens/eventarc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
46-
"packaging", # TODO: Remove once we require versions of api core that include this
46+
# "packaging", # TODO: Remove once we require versions of api core that include this
4747
"proto-plus >= 1.22.3, <2.0.0",
4848
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4949
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",

tests/integration/goldens/eventarc/tests/unit/gapic/eventarc_v1/test_eventarc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15378,7 +15378,6 @@ def test_eventarc_grpc_asyncio_transport_channel():
1537815378

1537915379
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
1538015380
# removed from grpc/grpc_asyncio transport constructor.
15381-
@pytest.mark.filterwarnings("ignore::FutureWarning")
1538215381
@pytest.mark.parametrize("transport_class", [transports.EventarcGrpcTransport, transports.EventarcGrpcAsyncIOTransport])
1538315382
def test_eventarc_transport_channel_mtls_with_client_cert_source(
1538415383
transport_class

tests/integration/goldens/logging/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
# Exclude incompatible versions of `google-auth`
4444
# See https://github.com/googleapis/google-cloud-python/issues/12364
4545
"google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0",
46-
"packaging", # TODO: Remove once we require versions of api core that include this
46+
# "packaging", # TODO: Remove once we require versions of api core that include this
4747
"proto-plus >= 1.22.3, <2.0.0",
4848
"proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'",
4949
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",

tests/integration/goldens/logging/tests/unit/gapic/logging_v2/test_config_service_v2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12897,7 +12897,6 @@ def test_config_service_v2_grpc_asyncio_transport_channel():
1289712897

1289812898
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
1289912899
# removed from grpc/grpc_asyncio transport constructor.
12900-
@pytest.mark.filterwarnings("ignore::FutureWarning")
1290112900
@pytest.mark.parametrize("transport_class", [transports.ConfigServiceV2GrpcTransport, transports.ConfigServiceV2GrpcAsyncIOTransport])
1290212901
def test_config_service_v2_transport_channel_mtls_with_client_cert_source(
1290312902
transport_class

0 commit comments

Comments
 (0)