Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/prepare-pypi-readme.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

# GitHub resolves relative chart paths. PyPI needs the raw images at the
# packaged commit, even before the release workflow creates the version tag.
raw_url="https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA"
sed -Ei "s@(src|srcset)=\"benchmarks/@\1=\"$raw_url/benchmarks/@g" README.md
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
UV_REQUIRE_HASHES: 'true'
run: |
dist="$RUNNER_TEMP/dist"
bash .github/prepare-pypi-readme.sh
uv build --sdist --no-sources --out-dir "$dist" --python 3.14
uv build "$dist"/*.tar.gz --wheel --no-sources --out-dir "$dist" --python 3.14 \
--config-setting 'build-args=--compatibility pypi --auditwheel check --features abi3'
Expand Down
Loading