Skip to content

Conversation

@awilfox
Copy link
Member

@awilfox awilfox commented Oct 7, 2025

  • Remove lint dependencies from dev target, as linting cannot be done within the app. Too many dependency conflicts (anthropic causes pydoclint to crash, mypy typing bloats image size ~200 MB, etc).

  • Vendor the tiny bits of langchain_community we need to drop that.

  • Pull in lint deps for linting runs.

Implements: AP-470


Tested running the pipeline and it ran fine. The LanceDB module was very easy to pull out of langchain_community; PyPDF not so much. The lint dependencies are pulled on-demand in GitHub Actions. It does not appear to cause any significant delay in runtime.

@awilfox awilfox force-pushed the awilfox/AP-470-dep-thinning branch from d7cb92c to 71c13a7 Compare October 8, 2025 00:48
@awilfox awilfox marked this pull request as ready for review October 8, 2025 01:03
@awilfox awilfox changed the title [WIP] Thin dependencies significantly Thin dependencies significantly Oct 8, 2025
@awilfox
Copy link
Member Author

awilfox commented Oct 8, 2025

I'm expecting some amount of changes needed. I will remove the '[WIP]' tag from the commit message when I make the next change. (I don't want to trigger the runners for a single commit message change.)

@awilfox awilfox mentioned this pull request Oct 8, 2025
@awilfox awilfox self-assigned this Oct 8, 2025
Copy link
Member

@anarchivist anarchivist left a comment

Choose a reason for hiding this comment

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

🚀

* Remove lint dependencies from dev target, as linting cannot be done
  within the app.  Too many dependency conflicts (anthropic causes
  pydoclint to crash, mypy typing bloats image size ~200 MB, etc).

* Vendor the tiny bits of langchain_community we need to drop that.

* Pull in lint deps for linting runs.

Implements: AP-470
@awilfox awilfox force-pushed the awilfox/AP-470-dep-thinning branch from 71c13a7 to 6e4ea80 Compare October 9, 2025 02:47
@awilfox
Copy link
Member Author

awilfox commented Oct 9, 2025

Fixed commit message. Will merge after CI run.

@awilfox awilfox merged commit 6e4ea80 into main Oct 9, 2025
9 checks passed
@awilfox awilfox deleted the awilfox/AP-470-dep-thinning branch October 9, 2025 02:53
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.

3 participants