abydos
abydos copied to clipboard
Incompatible with Numpy 1.24
Numpy 1.24 was released recently, and it looks like there is (at least one) deprecation that abydos relies on. Relevant stack trace snippet below.
Opening this for tracking purposes.
File "/.venv/lib/python3.10/site-packages/abydos/distance/_aline.py", line 25, in <module>
from numpy import float as np_float
ImportError: cannot import name 'float' from 'numpy' (/.venv/lib/python3.10/site-packages/numpy/__init__.py)
A fast solution to this would be to update the numpy version constraints in pyproject.toml/setup.py (this project has both and I don't know which is used for build) to also include <1.24.
Given last commit in Jan 2021, I wouldn't get my hopes up.
Apologies. I’m working on it but having some difficulty with GitHub at the moment. Hoping to have packages out with support for current Pythons & supportiing packages (e.g. NumPy) by year’s end.
On Thu, Dec 22, 2022 at 6:31 AM Michał Górny @.***> wrote:
Given last commit in Jan 2021, I wouldn't get my hopes up.
— Reply to this email directly, view it on GitHub https://github.com/chrislit/abydos/issues/283#issuecomment-1362907881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALNF5V23OF4I2HHA5OBIUDWORQ4TANCNFSM6AAAAAATDTC4VE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for letting me know. In that case, I'll give it a try and see if I can make a PR to fix it.
Hmm, actually, it looks like master is good already, just needs a new release.
Hi, are there any updates on this issue? I've installed abydos v0.5.0 (via PyPI) and v0.6.0 (via GIT) but i'm getting the above error with both versions.
it's been a year, if the problem is fixed on master can a new release be cut?
@joaodperes @bwo the issue seems to be fixed in 0.6.0b version which was merged to master. Use git to install the package or if you use poetry, use poetry add git+https://github.com/chrislit/abydos.git. It worked from my end :)