-
What is the recommended setup for project development?I'm a maintainer of the open source pvlib-python project, and I've been using vscode+python for about 2 years. We at pvlib-python have been recommending contributors to install pvlib as an editable library. Unfortunately since some time in fall of 2020, vscode+python no longer runs tests for projects installed this way. AFAICT this is because tests are now set to run "in isolation" which I believe means that the current folder has been removed from the Python path, and therefore the test modules can't import the very functions they are intended to test. For example:
But this setup has the following outcomes:
This is why I'm asking what the recommended dev proj setup is, because our existing contributor recommendation doesn't work with vscode+python anymore. Thanks! related |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Did you try turning off isolation via |
Beta Was this translation helpful? Give feedback.
-
HI @brettcannon it turns out the |
Beta Was this translation helpful? Give feedback.
HI @brettcannon it turns out the
conftest.py
was the culprit. Resolved in pvlib/pvlib-python#1204 and marking this as answered, thanks again!