Skip to content
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

Turn on xfail_strict=true in all subpackages #12391

Closed
wence- opened this issue Dec 15, 2022 · 0 comments · Fixed by #16977
Closed

Turn on xfail_strict=true in all subpackages #12391

wence- opened this issue Dec 15, 2022 · 0 comments · Fixed by #16977
Assignees
Labels
improvement Improvement / enhancement to an existing function

Comments

@wence-
Copy link
Contributor

wence- commented Dec 15, 2022

Followup to #12244.

Can we do the same for other packages in the repo? I would expect that dask-cudf / custreamz / cudf-kafka / strings_udf won't have as many problems as cudf.

Originally posted by @bdice in #12244 (comment)

@wence- wence- self-assigned this Dec 15, 2022
@wence- wence- added code quality improvement Improvement / enhancement to an existing function labels Dec 15, 2022
rapids-bot bot pushed a commit that referenced this issue Oct 8, 2024
The cudf tests already treat tests that are expected to fail but pass as errors, but at the time we introduced that change, we didn't do the same for the other packages. Do that now, it turns out there are only a few xpassing tests.

While here, it turns out that having multiple different pytest configuration files does not work. `pytest.ini` takes precedence over other options, and it's "first file wins". Consequently, the merge of #16851 turned off `xfail_strict = true` (and other options) for many of the subpackages.

To fix this, migrate all pytest configuration into the appropriate section of the `pyproject.toml` files, so that all tool configuration lives in the same place. We also add a section in the developer guide to document this choice.

- Closes #12391 
- Closes #16974

Authors:
  - Lawrence Mitchell (https://github.com/wence-)

Approvers:
  - James Lamb (https://github.com/jameslamb)
  - Matthew Roeschke (https://github.com/mroeschke)
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #16977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants