Skip to content

fix: move pandas to the dev group so CI installs it - #44

Merged
mailletf merged 1 commit into
mainfrom
fix/pandas-dev-dependency
Sep 16, 2026
Merged

mailletf merged 1 commit into
mainfrom
fix/pandas-dev-dependency

Conversation

@mailletf

Copy link
Copy Markdown
Member

test_dictionary_geog_id_deduplicates_repeated_ids calls to_pandas() to prove a dictionary with repeated categories does not blow up. pandas sat in the troubleshooting group, but CI installs with

poetry export --with dev --extras arrow

so pandas was never present there and the test failed with ModuleNotFoundError. It passed locally only because a dev machine with the troubleshooting group installed happens to have it.

That one failure skipped every job downstream of tests — linux, musllinux, macos, windows, sdist and release all need it. So the v0.7.0 tag built and published nothing: the GitHub release has 0 assets and PyPI is still on 0.6.4.

Moving pandas to dev rather than guarding the test with importorskip: the assertion is about a real pandas interaction, so it should run in CI rather than silently skip there.

Lock change is group reassignment only; no version moved.

Verified locally: 190 tests pass, mypy --strict clean, and poetry export --with dev --extras arrow now contains pandas==2.3.3.

🤖 Generated with Claude Code

test_dictionary_geog_id_deduplicates_repeated_ids calls to_pandas() to
prove a dictionary with repeated categories does not blow up. pandas sat
in the troubleshooting group, but CI installs with

  poetry export --with dev --extras arrow

so pandas was never present there and the test failed with
ModuleNotFoundError. It passed locally only because a dev machine with the
troubleshooting group installed happens to have it.

That one failure skipped every job downstream of `tests` — linux,
musllinux, macos, windows, sdist and release all need it — so the v0.7.0
tag built and published nothing. PyPI is still on 0.6.4.

Moving pandas to dev rather than guarding the test with importorskip: the
assertion is about a real pandas interaction, so it should run in CI
rather than silently skip there.

Lock change is group reassignment only; no version moved.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mailletf
mailletf merged commit 77bcb9d into main Sep 16, 2026
15 checks passed
@mailletf
mailletf deleted the fix/pandas-dev-dependency branch September 16, 2026 20:02
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