Skip to content

asv: pin the wheel version to avoid a setuptools_scm dev version - #1928

Merged
luhenry merged 1 commit into
mainfrom
asv
Sep 14, 2026
Merged

luhenry merged 1 commit into
mainfrom
asv

Conversation

@luhenry

@luhenry luhenry commented Sep 14, 2026

Copy link
Copy Markdown
Member
  • Package: asv

The riscv64-compat patch (a cibuildwheel-4.x-vs-pyproject.toml fix) leaves the checkout dirty relative to the v0.6.6 tag. Without a pin, setuptools_scm computes the version from git state and produced a dev-suffixed local version on every publish so far (0.6.7.dev0+gda01e9e39.d20260914) instead of the clean 0.6.6.

Fix: add SETUPTOOLS_SCM_PRETEND_VERSION to both matrix jobs' CIBW_ENVIRONMENT, matching the fix already used for tensorstore.

License: OK, unchanged.

The riscv64-compat patch leaves the checkout dirty relative to the v0.6.6
tag; without SETUPTOOLS_SCM_PRETEND_VERSION, setuptools_scm computes the
version from git state and produces a dev-suffixed local version instead
of the clean 0.6.6 (published so far: 0.6.7.dev0+gda01e9e39.d20260914).
@luhenry
luhenry merged commit 0cac7c6 into main Sep 14, 2026
7 checks passed
@luhenry
luhenry deleted the asv branch September 14, 2026 16:33
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