Skip to content

Ignore irrelevant authlib warning#2026

Merged
dirkkul merged 2 commits intomainfrom
ignore_authlib_filter
Apr 29, 2026
Merged

Ignore irrelevant authlib warning#2026
dirkkul merged 2 commits intomainfrom
ignore_authlib_filter

Conversation

@dirkkul
Copy link
Copy Markdown
Collaborator

@dirkkul dirkkul commented Apr 29, 2026

Fixes #2020

Reason is authlib/authlib#880 not a mistake on our side

Copilot AI review requested due to automatic review settings April 29, 2026 10:01
Copy link
Copy Markdown

@orca-security-eu orca-security-eu Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Suppresses the noisy authlib.jose deprecation warning introduced in authlib>=1.7.0 (per authlib/authlib#880) so users upgrading weaviate-client don’t see an irrelevant warning on import.

Changes:

  • Add weaviate/_authlib_compat.py to install a warnings filter for AuthlibDeprecationWarning.
  • Import the compat module from weaviate/__init__.py for import-time side effects.
  • Add a reminder comment in setup.cfg tied to the future authlib>=2.0.0 bump.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
weaviate/_authlib_compat.py Introduces a warnings filter to silence authlib’s deprecation warning.
weaviate/init.py Imports the compat module to apply the filter during package import.
setup.cfg Adds a dependency-bump reminder to remove the suppression when authlib is upgraded.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread weaviate/__init__.py
Comment thread setup.cfg Outdated
Comment thread weaviate/_authlib_compat.py Outdated
Comment thread weaviate/_authlib_compat.py Outdated
@dirkkul dirkkul merged commit fb401d9 into main Apr 29, 2026
122 of 124 checks passed
@dirkkul dirkkul deleted the ignore_authlib_filter branch April 29, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authlib Deprecation Warning

3 participants