Skip to content

chore(release): bump version to 0.4.2 - #33

Merged
d-v-b merged 1 commit into
mainfrom
chore/bump-version-0.4.2
Aug 13, 2026
Merged

d-v-b merged 1 commit into
mainfrom
chore/bump-version-0.4.2

Conversation

@d-v-b

@d-v-b d-v-b commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

🤖 AI text below 🤖

The v0.4.1 tag was cut without bumping the package version, so the CD run built every artifact as 0.4.0. Both registries already hold 0.4.0, and both publish steps failed on the duplicate:

  • PyPI — ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/, on the first file (cast_value_rs-0.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl). The 120 files for 0.4.0 were uploaded on 2026-04-01.
  • crates.io — error: crate zarr-cast-value@0.4.0 already exists on crates.io index, exit 101. The job still reported green because the step carries continue-on-error: true; that is fixed in ci: fail the crates.io job when publishing actually fails #30.

Nothing was wrong with the builds, trusted publishing, or the Sigstore attestations.

v0.4.1 is left untouched — a release that was cut and did not publish. This bumps to 0.4.2 so the same code ships under a version that was never taken.

Two files need the bump, because the two registries read the version from different places:

  • core/Cargo.toml — what cargo publish -p zarr-cast-value releases.
  • python/Cargo.toml — python/pyproject.toml declares dynamic = ["version"], so maturin stamps the wheel version from here.

Cargo.lock is regenerated to match. No other file in the repo pins the version.

After merging

Tag the merge commit v0.4.2 to trigger CD.

Testing

cargo test --workspace passes (50 tests).

The v0.4.1 tag was cut without bumping the package version, so CD built
every artifact as 0.4.0. Both registries already hold 0.4.0, and both
publish steps failed on the duplicate: PyPI returned 400 Bad Request and
cargo publish exited 101 with "already exists on crates.io index".

v0.4.1 stays where it is as a release that did not publish. 0.4.2 carries
the same code out to both registries instead.

python/pyproject.toml declares dynamic = ["version"], so the wheel
version comes from python/Cargo.toml; the crates.io release version
comes from core/Cargo.toml. Both need the bump.

Assisted-by: ClaudeCode:claude-opus-5
@codspeed

codspeed Bot commented Aug 13, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 51 untouched benchmarks
⏩ 21 skipped benchmarks1


Comparing chore/bump-version-0.4.2 (734274a) with main (fc76523)

Open in CodSpeed

Footnotes

  1. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@d-v-b
d-v-b merged commit 0fc5467 into main Aug 13, 2026
9 checks passed
@d-v-b
d-v-b deleted the chore/bump-version-0.4.2 branch August 13, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant