Skip to content

Fix VCS versioning after dev tags#59

Draft
S1ro1 wants to merge 1 commit into
mainfrom
fix/routed-experts-installable-pr54
Draft

Fix VCS versioning after dev tags#59
S1ro1 wants to merge 1 commit into
mainfrom
fix/routed-experts-installable-pr54

Conversation

@S1ro1
Copy link
Copy Markdown
Contributor

@S1ro1 S1ro1 commented May 21, 2026

Summary

  • Make renderers installable from commits after the renderers-v0.1.8.dev4 tag by using setuptools-scm semver-pep440 versioning.
  • This lets the routed-experts sidecar parser from PR Handle routed experts as response sidecar #54 be consumed directly from a git/submodule commit instead of falling back to stale installed code.

Verification

  • uv run --frozen python - <<PY ... imported renderers.client from the workspace and resolved version 0.1.9.dev1+g3177399b7.d20260521.
  • Mocked compact /inference/v1/generate JSON and verified renderers.client.generate() returns routed_experts.data as memoryview.

Note

Fix VCS versioning by setting version_scheme to semver-pep440 in Hatch config

Sets version_scheme = "semver-pep440" under [tool.hatch.version.raw-options] in pyproject.toml to correct version resolution after dev tags. The default scheme was producing incorrect versions in this scenario.

Macroscope summarized ae4d9b8.

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