Skip to content

pandas: Add versions 3.0.5, 3.0.6 - #2003

Merged
luhenry merged 8 commits into
mainfrom
github-actions/nightly-upgrade/pandas
Sep 21, 2026
Merged

luhenry merged 8 commits into
mainfrom
github-actions/nightly-upgrade/pandas

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Automatically generated by the nightly check_versions.py run.

pandas v3.0.3 -> v3.0.5, v3.0.6

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

@luhenry luhenry closed this Sep 17, 2026
@luhenry luhenry reopened this Sep 17, 2026
@github-actions

github-actions Bot commented Sep 18, 2026

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

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
github-actions Bot force-pushed the github-actions/nightly-upgrade/pandas branch from 6dcf36d to 123aadd Compare September 18, 2026 07:30
@github-actions github-actions Bot changed the title pandas: Add version 3.0.5 pandas: Add versions 3.0.5, 3.0.6 Sep 18, 2026
pandas was never ported from the old GitLab-based wheel_builder to the
GitHub Actions system, so this branch's nightly version bump (3.0.5,
3.0.6) had no CI. Add build-pandas.yml, following the numpy/scipy
build-from-checkout shape: cp311/cp312/cp313/cp314 (no cp314t, pandas
declares no cpython-freethreading support), and carry forward the
riscv64 NaN-test patch used for 3.0.0-3.0.3, re-verified to apply
cleanly to v3.0.5 and v3.0.6.

pandas's own pyproject.toml already covers the old GitLab config's
license-file copy and default test command, so neither is carried
forward; only LDFLAGS=-Wl,--strip-all needs restating since
CIBW_ENVIRONMENT replaces its [tool.cibuildwheel] table wholesale.
@luhenry
luhenry force-pushed the github-actions/nightly-upgrade/pandas branch from 029daea to 32776f7 Compare September 19, 2026 18:29
Building pandas 3.0.5/3.0.6 leaves the checkout dirty relative to its
tag after applying the riscv64 nan-test patch. pandas uses versioneer,
which renders the version from `git describe --tags --dirty` with no
setuptools_scm-style pretend-version override, so the build produced
3.0.6+0.g2905718.dirty instead of the clean 3.0.6, and the publish
dry-run rejected it. Commit the patch and force the tag onto the new
commit so describe reports zero distance and a clean tree again, same
pattern as build-swiglpk.yml.
…ainer

The host-side patch/commit/retag step (e05a1ed) already produces a clean
git describe at the point it runs, but pandas's own before-build hook
(scripts/cibw_before_build.sh, wired via [tool.cibuildwheel] before-build)
runs inside the cibuildwheel container afterwards and appends LICENSES/*
into the tracked LICENSE file, re-dirtying the tree right before meson
resolves the version via versioneer. Override CIBW_BEFORE_BUILD to re-run
that hook and then commit + re-tag again inside the same container, before
the build reads the version.

Verified by replicating the exact sequence against a shallow clone of the
v3.0.5 tag: generate_version.py --print reports a clean "3.0.5" after the
host-side fix alone, but reverts to "3.0.5+0.g<hash>.dirty" once the
before-build hook runs, and is clean again once it's followed by the same
commit+retag.

Also adds gotcha 381 documenting the general shape of this trap.
This branch forked from main before gotcha 381 (the nightly-upgrade
force-push-wipe trap, documented in pr-ci-and-maintainer.md) existed
there, so the previous commit's own gotcha 381 was picked independently
and collides with it. Renumber to 382, the next free number on main.
# Conflicts:
#	skills/python-project-porting/references/gotchas-index.md
#	skills/python-project-porting/references/gotchas/sdist-source-and-versioning.md
# Conflicts:
#	skills/python-project-porting/references/gotchas-index.md
@luhenry
luhenry marked this pull request as ready for review September 21, 2026 07:27
This PR should only touch the pandas port itself; the gotcha 454 entry
added here has since collided with a different gotcha 454 recorded on
main and doesn't belong in a port-scoped PR.
@luhenry
luhenry merged commit 2027718 into main Sep 21, 2026
17 checks passed
@luhenry
luhenry deleted the github-actions/nightly-upgrade/pandas branch September 21, 2026 11:36
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