Skip to content

Commit db11842

Browse files
author
jax authors
committed
Merge pull request #21466 from jakevdp:warning-filters
PiperOrigin-RevId: 638003079
2 parents 4cb6a15 + b441a09 commit db11842

File tree

1 file changed

+7
-26
lines changed

1 file changed

+7
-26
lines changed

pyproject.toml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -58,35 +58,16 @@ markers = [
5858
]
5959
filterwarnings = [
6060
"error",
61-
"ignore:The hookimpl.*:DeprecationWarning",
62-
"ignore:No GPU/TPU found, falling back to CPU.:UserWarning",
63-
"ignore:xmap is an experimental feature and probably has bugs!",
64-
"ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning",
65-
"ignore:can't resolve package from __spec__ or __package__:ImportWarning",
66-
"ignore:Using or importing the ABCs.*:DeprecationWarning",
67-
"ignore:numpy.ufunc size changed",
68-
"ignore:.*experimental feature",
69-
"ignore:The distutils.* is deprecated.*:DeprecationWarning",
70-
"default:Error reading persistent compilation cache entry for 'jit_equal'",
71-
"default:Error reading persistent compilation cache entry for 'jit__lambda_'",
72-
"default:Error writing persistent compilation cache entry for 'jit_equal'",
73-
"default:Error writing persistent compilation cache entry for 'jit__lambda_'",
74-
"ignore:backend and device argument on jit is deprecated.*:DeprecationWarning",
75-
# TODO(skyewm): remove when jaxlib >= 0.4.12 is released (needs
76-
# https://github.com/openxla/xla/commit/fb9dc3db0999bf14c78d95cb7c3aa6815221ddc7)
77-
"ignore:ml_dtypes.float8_e4m3b11 is deprecated.",
78-
"ignore:JAX_USE_PJRT_C_API_ON_TPU=false will no longer be supported.*:UserWarning",
79-
"ignore:np.find_common_type is deprecated.*:DeprecationWarning",
80-
"ignore:jax.numpy.in1d is deprecated.*:DeprecationWarning",
61+
"default:Error (reading|writing) persistent compilation cache entry for 'jit_equal'",
62+
"default:Error (reading|writing) persistent compilation cache entry for 'jit__lambda_'",
63+
"default:backend and device argument on jit is deprecated.*:DeprecationWarning",
64+
"default:jax.extend.mlir.dialects.mhlo is deprecated.*:DeprecationWarning",
8165
# TODO(jakevdp): remove when array_api_tests stabilize
8266
# start array_api_tests-related warnings
83-
"ignore:The numpy.array_api submodule is still experimental.*:UserWarning",
84-
"ignore:case not machine-readable.*:UserWarning",
85-
"ignore:not machine-readable.*:UserWarning",
86-
"ignore:Special cases found for .* but none were parsed.*:UserWarning",
67+
"default:.*not machine-readable.*:UserWarning",
68+
"default:Special cases found for .* but none were parsed.*:UserWarning",
69+
"default:.*is not JSON-serializable. Using the repr instead.",
8770
# end array_api_tests-related warnings
88-
"ignore:jax.extend.mlir.dialects.mhlo is deprecated.*:DeprecationWarning",
89-
"ignore:.*is not JSON-serializable. Using the repr instead.",
9071
]
9172
doctest_optionflags = [
9273
"NUMBER",

0 commit comments

Comments
 (0)