Skip to content

fix: drop tomllib from config drift check (older-Python compat) - #15

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/codex-tomllib-compat
Jul 18, 2026
Merged

fix: drop tomllib from config drift check (older-Python compat)#15
rldyourmnd merged 1 commit into
mainfrom
fix/codex-tomllib-compat

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

The 0.3.4 co-owned config.toml drift check imported tomllib (Python 3.11+), which broke the manager on older interpreters (cross-platform smoke caught ModuleNotFoundError). Replaced with a line-based base-intact check: every managed base key = value line must survive verbatim while the Codex runtime's [projects.*] additions are tolerated — sufficient for the controlled simple setup base, no new runtime dependency. Module 0.3.4 → 0.3.5.

Verified: pyright 0 errors, ruff clean, no import tomllib, drift behavior correct ([projects.*]→no drift; base change→drift).

https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo

…ibility

The 0.3.4 co-owned config.toml drift check imported tomllib (Python 3.11+),
which broke the manager on older interpreters (the cross-platform smoke runner
caught ModuleNotFoundError). Replace the TOML parse with a line-based
base-intact check: every managed base `key = value` line must survive verbatim,
while the Codex runtime's [projects.*] additions are tolerated. Sufficient for
the controlled simple setup base, no new runtime dependency. Module 0.3.4 -> 0.3.5.

Claude-Session: https://claude.ai/code/session_01Y29c9sJRhChvxDcUjab5Xo
@rldyourmnd
rldyourmnd merged commit 648ff75 into main Jul 18, 2026
8 checks passed
@rldyourmnd
rldyourmnd deleted the fix/codex-tomllib-compat branch July 18, 2026 14:24
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