Skip to content

fix: remove dead config module with undeclared pydantic_settings import#1021

Merged
abrichr merged 1 commit into
mainfrom
fix/remove-dead-config-module
Jul 17, 2026
Merged

fix: remove dead config module with undeclared pydantic_settings import#1021
abrichr merged 1 commit into
mainfrom
fix/remove-dead-config-module

Conversation

@abrichr

@abrichr abrichr commented Jul 17, 2026

Copy link
Copy Markdown
Member

openadapt/config.py is referenced by nothing (only its own docstring). Importing it raises ModuleNotFoundError: the launcher deliberately trimmed its dependencies to click + openadapt-flow in #1013/#1014 and pydantic_settings is not declared. Surfaced while triaging (now-closed) #1005.

Removing the module is safer than declaring the dependency: the settings it defines (API keys, capture dirs, model settings) belong to the pre-compiler training era, not the launcher. 31 tests + 1 skip pass locally.

🤖 Generated with Claude Code

openadapt/config.py was imported by nothing (only its own docstring
references it) and importing it crashes: pydantic_settings is not a
declared dependency of the trimmed launcher (#1013/#1014). Flagged
during triage of PR #1005.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrichr
abrichr merged commit a390e63 into main Jul 17, 2026
6 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.

1 participant