We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In PR #107 NumPy was constrained to <2.0.0 in env.yml but not in pyproject.toml, so when sleap-io is installed via pip, the latest NumPy is installed.
<2.0.0
This led to the following errors and deprecation warnings (in the tests):
np.string_
np.bytes_
The text was updated successfully, but these errors were encountered:
Thanks @lochhh!
Merged and available in v0.1.8. Up on PyPI and will be up soon on conda-forge.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In PR #107 NumPy was constrained to
<2.0.0
in env.yml but not in pyproject.toml, so when sleap-io is installed via pip, the latest NumPy is installed.This led to the following errors and deprecation warnings (in the tests):
np.string_
was removed in the NumPy 2.0 release. Usenp.bytes_
instead.is_grayscale = bool(np.all(test_img[..., 0] == test_img[..., -1]))
The text was updated successfully, but these errors were encountered: