Skip to content

Conversation

@dphuang2
Copy link
Collaborator

@dphuang2 dphuang2 commented Dec 23, 2025

Note

Makes DSPy optional and avoids import-time failures when it's not installed.

  • Removes dspy from core dependencies; adds [project.optional-dependencies].dspy extra and updates lockfile extras
  • Updates eval_protocol/training/__init__.py to conditionally import DSPy modules, expose __all__, and raise a clear ImportError via __getattr__ when DSPy-dependent symbols are accessed without the extra

Written by Cursor Bugbot for commit 6efb565. This will update automatically on new commits. Configure here.

@dphuang2 dphuang2 requested a review from xzrderek December 23, 2025 00:02
@dphuang2 dphuang2 merged commit 6517c35 into main Dec 23, 2025
17 checks passed
@dphuang2 dphuang2 deleted the make-dspy-optional-dependency branch December 23, 2025 00:11
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