fix: skip pytest collection of qiskit validation_helpers module (#683)#686
fix: skip pytest collection of qiskit validation_helpers module (#683)#686planetf1 wants to merge 1 commit intogenerative-computing:mainfrom
Conversation
…rative-computing#683) validation_helpers.py is a helper module, not a runnable example. It was being collected and executed by pytest, failing immediately with an ImportError because flake8-qiskit-migration is not a standard dependency. Add '# pytest: skip' consistent with the existing conftest mechanism and with the main qiskit_code_validation.py entry point which is already marked. Fixes generative-computing#683
|
The PR description has been updated. Please fill out the template for your PR to be reviewed. |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
|
This PR is failing CI due to a pre-existing issue unrelated to this change. See #680 for root cause. The test collection error in This PR's change (adding |
Misc PR
Type of PR
Description
Fixes #683
validation_helpers.pyis a helper module, not a runnable example, but was being collected and executed by pytest. It failed immediately due to a missing optional dependency. Add# pytest: skipconsistent with the existing conftest mechanism and with the adjacentqiskit_code_validation.pyentry point.Testing