-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(cudf.pandas): fix Excel/openpyxl test failures and add xlsxwriter dependency #22722
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
Changes from all commits
0d6c76f
e9ccf23
a24ad61
e2c15a6
f93b06c
4a3c562
5290926
ae4b616
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1317,13 +1317,14 @@ dependencies: | |
| # https://github.com/pytest-dev/pytest-rerunfailures/issues/302 | ||
| - pytest-rerunfailures!=16.0.0 | ||
| # Additional dependencies for running the pandas test suite under cudf.pandas. | ||
| # Unlike test_python_pandas_cudf (which uses pip extras like pandas[performance]), | ||
| # Unlike test_python_pandas_cudf (which uses pip extras like pandas[excel]), | ||
| # conda environments need these listed explicitly. | ||
| test_cudf_pandas_pandas_tests: | ||
| common: | ||
| - output_types: [conda] | ||
| packages: | ||
| - numexpr | ||
| - xlsxwriter | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just FYI, the pandas unit test job installs these pandas options dependencies specified the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I specifically created a new list here because I didn't want to force that job to install extra dependencies that are only needed for the pandas test suite. What I'd really love is if we can pull this information out of the pandas's pyproject.toml or something, but that feels like overkill to engineer 😅 |
||
| depends_on_dask_cuda: | ||
| common: | ||
| - output_types: conda | ||
|
|
||
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.
Fix accidental setext heading parsing before horizontal rule.
Line 296 is being interpreted as a setext underline for Line 295, which triggers markdownlint MD003. Add a blank line before
---(or escape/reword) so it’s treated as a horizontal rule.Suggested fix
The explanation string in the xfail dict should describe the *root cause* (e.g. "openpyxl limitation", "pandas test bug: assumes xlsxwriter present"), not just the error message. + ---🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 295-295: Heading style
Expected: atx; Actual: setext
(MD003, heading-style)
🤖 Prompt for AI Agents