8000 Incompatible with Numpy 1.24 · Issue #283 · chrislit/abydos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Incompatible with Numpy 1.24 #283
Open
@js-truework

Description

@js-truework

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0