-
Notifications
You must be signed in to change notification settings - Fork 548
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
CI logs contain a lot of warnings about unknown mark #6194
Comments
Maybe this https://github.com/rapidsai/cuml/blob/branch-25.02/python/cuml/cuml/tests/pytest.ini I suspect consolidating everything into |
Yep I think "having Opened #6201 with that change |
fixes #6194 Wheel tests in this project are emitting tons of warnings like this: > test_random_forest.py:1247 /__w/cuml/cuml/python/cuml/cuml/tests/test_random_forest.py:1247: PytestUnknownMarkWarning: Unknown pytest.mark.memleak - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.memleak I think that's because the introduction of a `pytest.ini` file in #6078 resulted in all of the `pytest` options from `pyproject.toml` being ignored. From https://docs.pytest.org/en/stable/reference/customize.html#pytest-ini > pytest.ini files take precedence over other files, even when empty. I think "take precedence" there means that if `pytest` finds a `pytest.ini`, it stops searching for other configuration files. Authors: - James Lamb (https://github.com/jameslamb) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Tim Head (https://github.com/betatim) - Jake Awe (https://github.com/AyodeAwe) - Vyas Ramasubramani (https://github.com/vyasr) URL: #6201
While looking at a CI job output I noticed a lot of warnings like:
which I thought "oh well, this is easy to fix" - except when I looked at
pyproject.toml
there is already an entry for themg
mark. One mark is added in theconftest.py
but I think this shouldn't overwrite the settings from the toml.Does someone who knows more about how the tests are run have an idea why the config is maybe not found/respected?
The text was updated successfully, but these errors were encountered: