Skip to content

Conversation

@thomasht86
Copy link
Owner

When the benchmark is run and the image is committed, the httpr version displayed was incorrect (showing the placeholder version from pyproject.toml instead of the actual release version).

Changes

  • Added --httpr-version CLI argument to benchmark/benchmark.py to allow overriding the httpr version in benchmark output
  • Updated CI workflow to extract version from the git tag (e.g., v0.3.00.3.0) and pass it to the benchmark script
  • For manual workflow dispatch, uses dev as the version

This ensures the benchmark CSV files and generated image will show the correct httpr version from the tag.

- Change pyproject.toml version to 0.0.0.dev0 (PEP 440 compliant placeholder)
- Change Cargo.toml version to 0.0.0 (Cargo semver compatible)
- Add comments explaining version is set dynamically from git tags
- Add docstring to set_version.py explaining its role in CI
- Expand action.yml description with full version logic
@thomasht86 thomasht86 enabled auto-merge December 26, 2025 09:02
@thomasht86 thomasht86 merged commit 316b3c8 into main Dec 26, 2025
18 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.

2 participants