Skip to content

fix(test): support tomli on Python 3.10 - #166

Merged
sjy3 merged 1 commit into
volcengine:mainfrom
zyn080302:fix/python310-sidecar-test-tomli
Aug 11, 2026
Merged

fix(test): support tomli on Python 3.10#166
sjy3 merged 1 commit into
volcengine:mainfrom
zyn080302:fix/python310-sidecar-test-tomli

Conversation

@zyn080302

Copy link
Copy Markdown

Summary

Make the Harness Sidecar config tests use the standard-library tomllib on Python 3.11+ and fall back to the SDKs already-declared tomli dependency on Python 3.10.

This changes test compatibility only. It does not change runtime dependencies, SDK behavior, wheel contents, tags, or publication state.

Failure fixed

The v0.8.2 Release to PyPI run failed during Python 3.10 test collection with ModuleNotFoundError: No module named tomllib; Python 3.12 passed.

Verification

Target config tests passed: 39/39.

The complete Harness Sidecar release subset passed on Python 3.12: 85/85.

Ruff check, Ruff format check, and git diff --check passed. The PR matrix is expected to provide the exact Python 3.10 proof.

Release note

The existing failed v0.8.2 tag is not changed by this PR. After merge, maintainers must explicitly choose whether to move that unpublished failed tag or release SDK 0.8.3.

@sjy3
sjy3 merged commit f66e041 into volcengine:main Aug 11, 2026
sjy3 pushed a commit that referenced this pull request Aug 11, 2026
This reverts commit f66e041, reversing
changes made to 9ebe99c.
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.

2 participants