Skip to content

Commit 5de2305

Browse files
authored
build: update warning filters (#219)
* build: update warning filters * build: update warning filters
1 parent 627877c commit 5de2305

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

  • packages/google-cloud-documentai-toolbox

packages/google-cloud-documentai-toolbox/pytest.ini

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ filterwarnings =
66
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
77
# Remove once https://github.com/dateutil/dateutil/issues/1314 is fixed
88
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil.tz.tz
9-
# Remove once release PR https://github.com/googleapis/proto-plus-python/pull/391 is merged
10-
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:proto.datetime_helpers
11-
# Remove once release PR https://github.com/googleapis/python-api-common-protos/pull/191 is merged
12-
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
13-
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
149
# Remove once Python3.7 support is dropped https://github.com/googleapis/python-documentai-toolbox/issues/209
1510
ignore:distutils Version classes are deprecated:DeprecationWarning
16-
# Remove once release PR https://github.com/googleapis/python-api-core/pull/555 is merged
17-
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:google.api_core.datetime_helpers
18-
# Remove once release PR https://github.com/googleapis/google-auth-library-python/pull/1416 is merged
19-
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:google.auth._helpers
11+
# Remove after support for Python 3.7 is dropped
12+
ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning
13+
# Remove once the minimum supported version of `google-api-core` is 2.15.0
14+
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
15+
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning

0 commit comments

Comments
 (0)