Skip to content

Commit ccd12ac

Browse files
committed
Review feedback
1 parent a30eb57 commit ccd12ac

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ install_requires =
3838
validators>=0.34.0,<1.0.0
3939
authlib>=1.6.7,<2.0.0
4040
# When bumping authlib to >=2.0.0, remove the `authlib.jose` deprecation
41-
# warning filter at the top of `weaviate/__init__.py`.
41+
# warning filter implemented in `weaviate/_authlib_compat.py`.
4242
pydantic>=2.12.0,<3.0.0
4343
grpcio>=1.59.5,<1.80.0
4444
protobuf>=4.21.6,<7.0.0

weaviate/_authlib_compat.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@
1111

1212
from authlib.deprecate import AuthlibDeprecationWarning
1313

14-
warnings.filterwarnings("ignore", category=AuthlibDeprecationWarning)
14+
warnings.filterwarnings(
15+
"ignore",
16+
message=r"^authlib\.jose module is deprecated",
17+
category=AuthlibDeprecationWarning,
18+
)

0 commit comments

Comments
 (0)