Skip to content

Ignore langchain-community sunset warning in tests - #511

Merged
honnibal merged 1 commit into
mainfrom
ci/ignore-langchain-sunset-warning
Sep 27, 2026
Merged

honnibal merged 1 commit into
mainfrom
ci/ignore-langchain-sunset-warning

Conversation

@honnibal

Copy link
Copy Markdown
Member

CI on main has been failing on every job. langchain-community 0.4.2 (May 2026) emits a DeprecationWarning on import saying it's being sunset, and the pytest config turns warnings into errors, so test collection fails.

This adds an ignore for that warning, next to the existing langchain-community deprecation ignores. With langchain-community 0.4.2 installed, the full suite passes locally (pytest --pyargs spacy_llm: 308 passed, 216 skipped).

Moving off langchain-community is a separate, larger change.

馃 Generated with Claude Code

langchain-community 0.4.2 warns on import that it's being sunset. Tests
run with warnings as errors, so every test run failed at collection.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@honnibal
honnibal merged commit bb548cb into main Sep 27, 2026
13 checks passed
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.

1 participant