Repository navigation
deps: cap dspy <3.5 until the DSPy 3.5 migration lands - #46
Open
Superagentic-AI wants to merge 1 commit into
Open
Superagentic-AI wants to merge 1 commit into
Superagentic-AI wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.3pin is uncapped, so fresh installs pick it up.What breaks or changes for SuperOptiX:
dspy.experimental.TypeSafeand thedspy[typesafe]extra are removed (replacement isdspy.LM("typesafe:jev-latest", ...)).superoptix/quality/jev.pyandtypesafe_adapter.pyimportTypeSafe, so the JEV / typesafe quality path silently turns off under 3.5.model_type="auto"is the default, ReActV2 replaces ReAct, TwoStepAdapter is deprecated (we expose it indspy_runner.py).This PR caps
dspyat<3.5in core,frameworks-dspy,typesafeand 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.