Fix pip-install import test shadowed by local source#339
Conversation
The import verification runs from the repo root, where the local vplanet/ source directory shadows the installed package. The local source lacks the compiled C extension (vplanet_core), causing ModuleNotFoundError. Fix by cd'ing to /tmp before running the import test. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Test Results (py3.13 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 34s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.12 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 36s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.11 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 35s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.11 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 34s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.10 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 40s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.14 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 37s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.10 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 41s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.14 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 34s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.9 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 43s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.13 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 37s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.12 on ubuntu-22.04)19 903 tests 19 647 ✅ 1m 38s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Test Results (py3.9 on ubuntu-24.04)19 903 tests 19 647 ✅ 1m 43s ⏱️ For more details on these failures, see this check. Results for commit 9eb66e2. |
Summary
import vplanet) ran from the repo root, where the localvplanet/source directory shadows the installed package in the venvvplanet_core), causingModuleNotFoundErrorcd /tmpbefore running the import so Python finds the installed package, not the local sourceTest plan
🤖 Generated with Claude Code