Skip to content

Revert "Ignore irrelevant authlib warning"#2032

Open
dirkkul wants to merge 1 commit intomainfrom
revert-2026-ignore_authlib_filter
Open

Revert "Ignore irrelevant authlib warning"#2032
dirkkul wants to merge 1 commit intomainfrom
revert-2026-ignore_authlib_filter

Conversation

@dirkkul
Copy link
Copy Markdown
Collaborator

@dirkkul dirkkul commented May 4, 2026

Reverts #2026

authlib removed the warning: authlib/authlib#880 lets merge this revert after 1.7.1 has been released

Copilot AI review requested due to automatic review settings May 4, 2026 09:57
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

This PR reverts the previously added workaround that suppressed an authlib.jose deprecation warning by removing the compatibility module and its side-effect import, now that the upstream warning is reported as removed.

Changes:

  • Deleted weaviate/_authlib_compat.py (warning suppression shim).
  • Removed the side-effect import of _authlib_compat from weaviate/__init__.py.
  • Removed the related “remove-on-authlib-2.0” note from setup.cfg.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
weaviate/_authlib_compat.py Removes the local warning-filter module entirely.
weaviate/__init__.py Drops the import that triggered the warning suppression side effect.
setup.cfg Cleans up dependency comment tied to the removed shim.

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

Comment thread setup.cfg
@@ -37,8 +37,6 @@ install_requires =
httpx>=0.26.0,<0.29.0
validators>=0.34.0,<1.0.0
authlib>=1.6.7,<2.0.0
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.

2 participants