You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "ryankert01 (via GitHub)" <gi...@apache.org> on 2026/01/15 09:03:23 UTC

[I] Add root conftest.py with QDP auto-skip logic [mahout]

ryankert01 opened a new issue, #826:
URL: https://github.com/apache/mahout/issues/826

   ### Description
   
   Add a root-level `conftest.py` that automatically skips QDP-dependent tests when the `_qdp` native extension is not built.
   
   ### Context
   
   Currently, running `pytest` from the repository root only runs tests in `testing/`. Once we consolidate tests, we need a mechanism to gracefully skip QDP tests for contributors who don't have CUDA or haven't built the extension.
   
   ### Acceptance Criteria
   
   - [ ] Create `/conftest.py` at repository root
   - [ ] Register `gpu` and `slow` pytest markers
   - [ ] Auto-detect if `_qdp` extension is importable
   - [ ] Skip tests marked with `@pytest.mark.gpu` if extension unavailable
   - [ ] Skip all tests in `testing/qdp/` directory if extension unavailable
   - [ ] Provide helpful skip message with build instructions
   - [ ] Add `qdp_available` fixture for tests that need conditional QDP access


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add root conftest.py with QDP auto-skip logic [mahout]

Posted by "guan404ming (via GitHub)" <gi...@apache.org>.
guan404ming closed issue #826: Add root conftest.py with QDP auto-skip logic
URL: https://github.com/apache/mahout/issues/826


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mahout.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org