Closed MilesCranmer closed 1 year ago
I'm looking
When you run python3 -m unittest test.test
what test are you actually running?
My sense is that you are not running the test.py installed with the conda-forge package, but running the test.py stored in this source tree.
Ah, perhaps that could be it; I can try changing it. Though I don’t see yet how that could cause this specific error.
I should move the test
to be inside pysr
so I can simply call it like pysr.test.testall()
.
Awesome. That was it! Thanks @mkitti for figuring that out! The conda-forge tests now actually run the one installed (via #221), and pass.
FYI @mkitti @ngam
Weirdly the conda-forge tests are breaking again, even after I updated the conda-forge build to have a more recent julia depot: https://github.com/MilesCranmer/PySR/actions/runs/3396141209/jobs/5646873573
The errors are as follows. It seems like PyCall.jl has not been successfully built or something? The line which raises this error is here, meaning that
info.is_pycall_built()
is false.