Repository navigation
benchmarks: name the Citry 1.0.0 and citry-core 2.1.0 wheels in citry-local-wheels - #735
Merged
Merged
Conversation
…-local-wheels The profile and the README section that builds its wheels still named citry 0.6.0 and citry-core 1.8.0 wheels and maturin 1.15.0, after #732 moved the Citry app to PyPI citry 1.0.0 and citry-core 2.1.0. The profile now names citry-1.0.0 and citry_core-2.1.0 wheels in a version-neutral folder, .benchmarks/wheels/citry-local. The build commands empty that folder first, so a profile that names a version you did not just build fails to load instead of measuring a leftover wheel. They use the maturin version citry_core's pyproject.toml pins (1.16.0). The README and a comment in the profile say that the names must follow each package's pyproject.toml version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
citry-local-wheelsbenchmark profile and the README section that builds its wheels still named thecitry0.6.0 andcitry-core1.8.0 wheels, andmaturin1.15.0. #732 moved the Citry benchmark app to PyPIcitry1.0.0 andcitry-core2.1.0 and left them.What changes
benchmarks/web/profiles/citry-local-wheels.tomlnamescitry-1.0.0-py3-none-any.whlandcitry_core-2.1.0-cp312-cp312-macosx_11_0_arm64.whl, the versions in the twopyproject.tomlfiles on main. A comment says what the runner does with them and that the names must follow those versions..benchmarks/wheels/citry-localinstead of a folder named for a version, so only the file names go stale at a version change.Invalid local wheel) instead of measuring a leftover wheel.maturin1.16.0, the versionpackages/py/citry_core/pyproject.tomlpins. A paragraph after the commands says where each file name's version comes from and that unreleased source keeps the released version number, so the profile does not measure the PyPI release.The lockfile pin does not block the profile
preparerunsuv sync --frozen --no-install-package citry --no-install-package citry-core, thenuv pip install --no-deps --reinstallon the wheels, so the PyPI pin inapps/citry/uv.lockis never installed for a profile that names wheels. I ran both steps by hand against the app's lockfile with thecitry1.0.0 wheel built from this checkout andcitry-core2.1.0 from PyPI: both installed,import citryworked. No design decision is needed.Checks
scripts/validate.py: all 16 validators passed.uv build --wheel packages/py/citrygivescitry-1.0.0-py3-none-any.whl, anduvx --from maturin==1.16.0 maturin --versionresolves.citry-corefile name comes from the build configuration (noabi3-py311feature,--interpreter3.12.13), not from a build.Not done here
citry-corebuild were written for 1.8.0 and are not re-measured.cp312wheel; CI shipsabi3-py311wheels. Whether that changes timings is unmeasured, so the README does not say.release-0.7.0-citry.tomlkeeps its own wheel names, which record how the published 0.7.0 numbers were measured.scripts/validators/could.🤖 Generated with Claude Code