Skip to content

Conversation

@corbt
Copy link
Contributor

@corbt corbt commented Jul 10, 2025

Summary

  • Moved matplotlib, seaborn, and polars from core dependencies to an optional [plotting] dependency group
  • Added proper import error handling in all affected modules with helpful error messages
  • Core dependencies are now reduced to just openai, litellm, typer, and panza

Motivation

This change makes it easier for users to adopt RULER and other lightweight features without pulling in heavyweight dependencies. Users who only need the ART client won't need to install plotting libraries.

Changes

  • Created new [plotting] optional dependency group in pyproject.toml
  • Updated all modules using these dependencies to handle missing imports gracefully
  • Added clear error messages directing users to install with pip install openpipe-art[plotting]

Test plan

  • Verified all imports have proper error handling
  • Test that core functionality works without plotting dependencies
  • Test that plotting functionality works when dependencies are installed

🤖 Generated with Claude Code

corbt and others added 2 commits July 8, 2025 17:24
…y group

This reduces the core dependencies for users who only need the ART client,
making it easier to adopt RULER and other lightweight features. Core deps
are now just openai, litellm, typer, and panza.

- Created new [plotting] optional dependency group
- Added proper import error messages directing users to install openpipe-art[plotting]
- Updated all affected modules to handle missing plotting dependencies gracefully

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@corbt corbt merged commit 530cb18 into main Jul 10, 2025
2 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.

3 participants