The CONTRIBUTING docs say to install the development dependencies with: pip install .[dev,doc]
When I did this there were many test failures of the type:
______________________________________ ERROR collecting src/swmmanywhere/utilities.py _______________________________________
import file mismatch:
imported module 'swmmanywhere.utilities' has this __file__ attribute:
/Users/adalessa/Projects/SWMManywhere/SWMManywhere/.venv/lib/python3.12/site-packages/swmmanywhere/utilities.py
which is not the same as the test file we want to collect:
/Users/adalessa/Projects/SWMManywhere/SWMManywhere/src/swmmanywhere/utilities.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
Solution:
The solution appears to be installing the package in editable mode pip install -e .[dev,doc]
The CONTRIBUTING docs say to install the development dependencies with:
pip install .[dev,doc]
When I did this there were many test failures of the type:
Solution:
The solution appears to be installing the package in editable mode
pip install -e .[dev,doc]