fix: add pytest-cases note to setup instructions (#1029)te#1031
Open
sallykinyua wants to merge 3 commits intomalariagen:masterfrom
Open
fix: add pytest-cases note to setup instructions (#1029)te#1031sallykinyua wants to merge 3 commits intomalariagen:masterfrom
sallykinyua wants to merge 3 commits intomalariagen:masterfrom
Conversation
New contributors on a fresh clone encounter a confusing ModuleNotFoundError: No module named 'pytest_cases' when running tests, with no guidance on how to resolve it. Added a note to CONTRIBUTING.md clarifying that pytest-cases is required and how to install it explicitly.
|
The best way to fix this is to use |
Author
|
Thank you @jwgarber let me look into that and change |
…n#1029) Updated installation instructions and notes for dependencies in CONTRIBUTING.md.
sallykinyua
commented
Mar 7, 2026
Author
sallykinyua
left a comment
There was a problem hiding this comment.
Updated CONTRIBUTING.md setup instructions to fix the ModuleNotFoundError: No module named 'pytest_cases' error encountered by new contributors on a fresh clone.
New contributors following the setup instructions were hitting a confusingModuleNotFoundError with no guidance on how to resolve it. Using poetry install --extras dev installs all development dependencies including pytest-cases in one command.
- Replaced
poetry installwithpoetry install --extras dev - Added a Note clarifying why
--extras devis needed - Added a Python version note after Prerequisites
- Added a Tip in the Testing section for contributors working
on new features like the NL interface
Documentation only — no functional code was changed.
Fixes #1029
Author
|
Hi @jonbrenas I would like a review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated CONTRIBUTING.md setup instructions to fix the ModuleNotFoundError: No module named 'pytest_cases' error encountered by new contributors on a fresh clone.
New contributors following the setup instructions were hitting a confusingModuleNotFoundError with no guidance on how to resolve it. Using poetry install --extras dev installs all development dependencies including pytest-cases in one command.
Replaced poetry install with poetry install --extras dev
Added a Note clarifying why --extras dev is needed
Added a Python version note after Prerequisites
Added a Tip in the Testing section for contributors working
on new features like the NL interface
Documentation only — no functional code was changed.
Fixes #1029