Skip to content

deps: cap dspy <3.5 until the DSPy 3.5 migration lands - #46

Open
Superagentic-AI wants to merge 1 commit into
mainfrom
deps/cap-dspy-3.5
Open

Superagentic-AI wants to merge 1 commit into
mainfrom
deps/cap-dspy-3.5

Conversation

@Superagentic-AI

Copy link
Copy Markdown
Contributor

DSPy 3.5.0 shipped on 2026-11-10 (https://github.com/stanfordnlp/dspy/releases/tag/3.5.0, upgrade guide https://dspy.ai/current/community/upgrading-to-3-5/). It changes prompts, defaults and APIs, and our dspy>=3.3 pin is uncapped, so fresh installs pick it up.

What breaks or changes for SuperOptiX:

  • dspy.experimental.TypeSafe and the dspy[typesafe] extra are removed (replacement is dspy.LM("typesafe:jev-latest", ...)). superoptix/quality/jev.py and typesafe_adapter.py import TypeSafe, so the JEV / typesafe quality path silently turns off under 3.5.
  • XMLAdapter is now the default adapter, so prompts and output parsing change even with the same Signature; previously optimized programs need re-evaluation.
  • LiteLLM and openai become optional in DSPy (lm15 engine), model_type="auto" is the default, ReActV2 replaces ReAct, TwoStepAdapter is deprecated (we expose it in dspy_runner.py).

This PR caps dspy at <3.5 in core, frameworks-dspy, typesafe and the bundle extras. No code changes.

Verified on the box: the test suite gives the same results under dspy 3.4.1 and 3.5.0 (the same 25 pre-existing env-dependent failures, SurrealDB and a2a_adapt mocks), which means the suite does not cover the TypeSafe or adapter-default changes. With this cap the resolver picks dspy 3.4.1.

Follow-up: a proper DSPy 3.5 migration (TypeSafe to the lm15 typesafe route, adapter default, ReAct, re-run GEPA baselines) as its own PR.

This branch has not been deployed

No deployments
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