-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_faith_pd_none_observed fails: type numpy.ndarray doesn't define __round__ method #156
Comments
Thanks, @nteodosio. What version of python and numpy, and how was this installed? We currently test in CI up to py311 without an explicit pin on numpy ( unifrac/.github/workflows/main.yml Lines 32 to 65 in bd3cfac
|
Hi @wasade, Python 3.11 and Numpy 1.24.2 according to the log. It was installed via Apt. And by the way we test in ARM and x86, and interestingly the test only failed in x86. Apologies for failing to mention this bit of information. For what it's worth, given the error message I just submitted another run with a print statement and it says the array is [6.25], so really nothing close to 0. |
Hi @nteodosio, thank you for the additional detail. I'm unable to construct an environment from conda with Python 3.11 and NumPy 1.24.2 on Linux x86_64 due to unsatisfied constraints on the Python version, which I'm puzzled by. But, relaxing that, I was able to install and run tests without issue. @sfiligoi, any unusual stand out to you with the error logs?
|
The package builds successfully after apply division by zero fix without changing test_pd_none_obvserved. See https://launchpad.net/~vpa1977/+archive/ubuntu/plusone/+sourcepub/15188389/+listing-archive-extra https://launchpad.net/~vpa1977/+archive/ubuntu/plusone/+sourcepub/15188076/+listing-archive-extra |
The test fails in Ubuntu 23.10:
Full log.
The text was updated successfully, but these errors were encountered: