Closed brendanjmeade closed 2 years ago
I'm not sure. It looks like you copied this from the CI run. Can you replicate the error locally by just running pytest ./tests/test_basic.py ./celeri/celeri_closure.py
from the root directory of the repo?
Thanks for the follow. I've tried this locally, and after some work changing paths, I have two contracitory results.
1 - pytest ./tests/test_basic.py ./celeri/celeri_closure.py Fails with an error related to celeri_closure!
____ ERROR collecting celeri/celericlosure.py ____ ImportError while importing test module '/Users/meade/Desktop/celeri/celeri/celeri_closure.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: ../../mambaforge/envs/celeri/lib/python3.10/importlib/init.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) E ModuleNotFoundError: No module named 'celeri.celeri_closure'
2 - pytest ./celeri/celeri_closure.py ./tests/test_basic.py Which is the same as (1) except I've reversed the order of the tests. This one runs perfectly and all tests pass. What???
Closed via the magic of pip install --no-use-pep517 -e .
.
@tbenthompson I'm seeing an error message associated with testing celeri_closure. The tests in /test/test_basic.py seem to run but there's some import related issue here that I don't quite understand. Thoughts?