Skip to content

numcodecs: Add version 0.17.0 - #1998

Merged
luhenry merged 4 commits into
mainfrom
github-actions/nightly-upgrade/numcodecs
Sep 19, 2026
Merged

luhenry merged 4 commits into
mainfrom
github-actions/nightly-upgrade/numcodecs

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automatically generated by the nightly check_versions.py run.

numcodecs v0.16.5 -> v0.17.0

Every - version: entry added to docs/packages/numcodecs.yaml is built by this PR's own build-numcodecs.yml run; merging publishes the wheels.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@luhenry luhenry closed this Sep 17, 2026
@luhenry luhenry reopened this Sep 17, 2026
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor Author
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-19 11:41 UTC

The 0.16.5 patches apply unchanged to 0.17.0; the build applies
patches/numcodecs/<version>/ for every version it builds.
@luhenry
luhenry force-pushed the github-actions/nightly-upgrade/numcodecs branch from 486db39 to 7b0071d Compare September 18, 2026 05:47
luhenry and others added 2 commits September 18, 2026 13:05
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>
@luhenry
luhenry marked this pull request as ready for review September 19, 2026 09:21
@luhenry
luhenry merged commit f2adac5 into main Sep 19, 2026
11 checks passed
@luhenry
luhenry deleted the github-actions/nightly-upgrade/numcodecs branch September 19, 2026 09:22
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