numcodecs: Add version 0.17.0 - #1998
Merged
Merged
Conversation
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
Author
|
The 0.16.5 patches apply unchanged to 0.17.0; the build applies patches/numcodecs/<version>/ for every version it builds.
luhenry
force-pushed
the
github-actions/nightly-upgrade/numcodecs
branch
from
September 18, 2026 05:47
486db39 to
7b0071d
Compare
numcodecs 0.17.0 moved to a src/ layout and relocated its test suite from numcodecs/tests/ (inside the importable package) to a top-level tests/ directory. `pytest --pyargs numcodecs -q` therefore collects nothing in the wheel-only test cwd (exit code 5, "no tests ran"), failing all three cp312/cp313/cp314 build jobs identically. Stage the checkout's tests/ and pyproject.toml via CIBW_TEST_SOURCES (no numcodecs/ shadow exists at the checkout root to guard against) and run pytest against that staged directory instead of --pyargs. Verified locally (x86_64, Python 3.12): installed the released PyPI numcodecs==0.17.0 wheel into a venv, staged tests/ + pyproject.toml into an empty directory the same way CIBW_TEST_SOURCES would, and ran the resulting CIBW_TEST_COMMAND: 646 passed, 33 skipped, 2 failed. Both failures are FileNotFoundError: zstd (the CLI binary, not on this host's PATH) - exactly the gap CIBW_BEFORE_TEST_LINUX already patches with `dnf -y install zstd` inside the manylinux container. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
numcodecs' meson.build calls setuptools_scm.get_version() without dist_name (src/numcodecs/_build_utils/gitversion.py), so the _FOR_NUMCODECS suffixed form is never consulted and the patch-dirtied tree falls through to a real git-derived dev version (0.17.1.dev0+g<sha>.d<date>), which the publish job then rejects as undeclared. Use the unsuffixed SETUPTOOLS_SCM_PRETEND_VERSION instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Automatically generated by the nightly
check_versions.pyrun.numcodecs v0.16.5 -> v0.17.0
Every
- version:entry added todocs/packages/numcodecs.yamlis built by this PR's ownbuild-numcodecs.ymlrun; merging publishes the wheels.