-
-
Couldn't load subscription status.
- Fork 19.2k
BUG: Recognize 2-tuple state without attrs dict #62832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+4
−0
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment that this is hit with pyodide? Also were you able to find any sources why this happens?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't be certain, but it looks likely to be caused by a difference in the Cython compiler version.
Here's how I reasoned:
1. Comparison of the action logs around the time the error occurred
I also suspected the
pyodide-buildversion, but downgrading it myself made no difference. The same was true in #62822, and in the logs below there was even a counterexample where both Passed and Failed appeared on the same 0.30.7 version.2025-10-22T17:00:https://github.com/pandas-dev/pandas/actions/runs/18708950986/job/53352549298
2025-10-22T19:15:https://github.com/pandas-dev/pandas/actions/runs/18712341219/job/53363529061
However, the Cython compiler versions were different:
3.1.5->3.2.02. Cython Update
Around the same time, at
2025-10-22T18:49, a pre-release of Cython was published that includes an update related to pickling.https://github.com/cython/cython/releases/tag/3.2.0b1-3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems likely that the condition was tightened in the PR below, so that empty dicts are no longer included in the state.
https://github.com/cython/cython/pull/7222/files#diff-81caf3d8e52e1f4c815d4b94458252dcb181f86d3a24ee9f33759a5072837a5bL2335-L2337
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a comment. It doesn't seem to be the only cause of the pyodide, so I wrote it in general, and I wrote down the issue number so that it can be tracked instead. (1e6cd2f)