Skip to content

feat: move llvm-cov into packages/llvm-cov - #9

Merged
shenxianpeng merged 6 commits into
mainfrom
claude/project-thread-8krsne
Dec 4, 2026
Merged

shenxianpeng merged 6 commits into
mainfrom
claude/project-thread-8krsne

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

Moves llvm-cov from cpp-linter/llvm-cov-wheel into packages/llvm-cov, with its history.

  • Import: git filter-repo --to-subdirectory-filter packages/llvm-cov, merged with --allow-unrelated-histories.
  • Build: hatch_build.py is replaced by the static-binaries recipe for llvm-cov and llvm-profdata. The 23.1.6 wheels are the same file for file as the old ones (checked on linux-amd64, macos-arm64 and windows-arm64).
  • Extra tests: a new [[tool.wheels.extra-tests]] setting. CI builds one version on one runner and runs the smoke test with more arguments. llvm-cov uses it for the full coverage workflow with clang 18 on Ubuntu 24.04. "All wheels pass" requires it.
  • Cleanup: the repository files are gone, and the README and project.urls point here.

Before merging

  1. On PyPI and TestPyPI, replace llvm-cov's trusted publisher with cpp-linter/wheels, publish.yml, environment pypi (testpypi).
  2. Merge with Create a merge commit, so the imported history stays.
  3. Then archive llvm-cov-wheel.

23.1.6 is already on PyPI, so the merge releases nothing. The next LLVM update releases llvm-cov-v<version> from here.

Checked

  • pytest: 32 passed; ruff clean.

Generated by Claude Code

shenxianpeng and others added 6 commits November 30, 2026 21:36
Repackage the llvm-cov and llvm-profdata binaries of the
clang-tools-static-binaries releases, unchanged, as wheels for LLVM 12 to
23 on Linux (glibc and musl), macOS and Windows, x86_64 and arm64.
sources.json pins the SHA-512 of every file; the build refuses anything
else. A daily workflow pins new LLVM releases and opens a pull request.
Bumps the actions group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/setup-python](https://github.com/actions/setup-python) | `7.0.0` | `7.1.0` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `8.1.1` | `8.1.3` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `8.0.1` | `8.0.2` |
| [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.14.2` | `1.14.3` |
| [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `7.10.0` | `7.11.0` |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `10.3.0` | `10.4.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` |


Updates `actions/setup-python` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@5fda3b9...6d4fd22)

Updates `peter-evans/create-pull-request` from 8.1.1 to 8.1.3
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@5f6978f...3ffccac)

Updates `actions/download-artifact` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@3e5f45b...9000827)

Updates `pypa/gh-action-pypi-publish` from 1.14.2 to 1.14.3
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@dc37677...7245906)

Updates `release-drafter/release-drafter` from 7.10.0 to 7.11.0
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@978bb0b...d1a19e6)

Updates `astral-sh/setup-uv` from 10.3.0 to 10.4.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@1c37ad0...1db35dd)

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@043fb46...cf430e0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/download-artifact
  dependency-version: 8.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: pypa/gh-action-pypi-publish
  dependency-version: 1.14.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: release-drafter/release-drafter
  dependency-version: 7.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[tool.wheels] extra-tests builds one version's wheel for the runner's
platform and runs tests/smoke_test.py with more arguments after a setup
command, e.g. llvm-cov with the clang of the same major version.
hatch_build.py gives way to the static-binaries recipe in pyproject.toml;
the wheels are the same file for file (checked for linux-amd64,
macos-arm64 and windows-arm64 of 23.1.6). The smoke test takes --bin like
the others, and the coverage test with clang 18 becomes an extra test.
The repository files go; the links point here.
@shenxianpeng shenxianpeng self-assigned this Dec 4, 2026
@shenxianpeng
shenxianpeng merged commit a51583a into main Dec 4, 2026
37 checks passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-8krsne branch December 4, 2026 11:54
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