Skip to content

fix: warning in test explodes xdist#9285

Merged
akshayka merged 1 commit into
mainfrom
aka/fix-pandas-test
Apr 20, 2026
Merged

fix: warning in test explodes xdist#9285
akshayka merged 1 commit into
mainfrom
aka/fix-pandas-test

Conversation

@akshayka
Copy link
Copy Markdown
Contributor

@akshayka akshayka commented Apr 20, 2026

Apparently a warning that xdist fails to deserialize kills the whole worker.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Building Building Preview, Comment Apr 20, 2026 8:33pm

Request Review

@akshayka akshayka added the internal A refactor or improvement that is not user facing label Apr 20, 2026
@akshayka akshayka changed the title maybe fix pandas test fix: warning in test explodes xdist Apr 20, 2026
@akshayka akshayka marked this pull request as ready for review April 20, 2026 20:50
Copilot AI review requested due to automatic review settings April 20, 2026 20:50
@akshayka akshayka enabled auto-merge (squash) April 20, 2026 20:50
@akshayka akshayka disabled auto-merge April 20, 2026 20:50
@akshayka akshayka merged commit 26052dc into main Apr 20, 2026
46 of 49 checks passed
@akshayka akshayka deleted the aka/fix-pandas-test branch April 20, 2026 20:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prevents pytest-xdist workers from crashing when a pandas 3 warning is emitted during test_get_field_types_nullables, by suppressing the specific warning that triggers xdist’s warning (de)serialization path.

Changes:

  • Add a pytest.mark.filterwarnings decorator to ignore the pandas 3 warning about 'str' dtypes being included for backward compatibility.
  • Document why the suppression is needed (xdist warning deserialization failure) and note an upstream TODO for xdist.

@github-actions
Copy link
Copy Markdown

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.23.2-dev65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants