Closed doronbehar closed 1 year ago
It looks like the Cython modules are not built. How did you build or install primer3-py
prior to invoking python -m pytest
. It looks like you are running the tests from within the package directory, in which case you need to do an "in place" build: python setup.py build_ext --inplace
Hey and thanks for trying to help :). Indeed we run python -m pytest
in the package's directory, after it was installed at a certain location. In fact, here at NixOS we investigate similar issues we experience with other packages that use Cython extension modules, over at https://github.com/NixOS/nixpkgs/issues/255262 .
If I run python setup.py build_ext --inplace
before I run python -m pytest
indeed that helps and all the tests pass. Perhaps this issue can be closed, as we probably need to further investigate the issue on NixOS by ourselves.
Hello,
I'd like to make NixOS run the tests of this package during build. Here's a log of the errors we see here, when we run
python -m pytest
: