pandas: Add versions 3.0.5, 3.0.6 - #2003
Merged
Merged
Conversation
Contributor
Author
|
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions
Bot
force-pushed
the
github-actions/nightly-upgrade/pandas
branch
from
September 18, 2026 07:30
6dcf36d to
123aadd
Compare
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
force-pushed
the
github-actions/nightly-upgrade/pandas
branch
from
September 19, 2026 18:29
029daea to
32776f7
Compare
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
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.
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.pandas v3.0.3 -> v3.0.5, v3.0.6
Every
- version:entry added todocs/packages/pandas.yamlis built by this PR's ownbuild-pandas.ymlrun; merging publishes the wheels.