Skip to content
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

Fix version of numpy expected by networkx #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrismiceli
Copy link

rhasspy-remote-http-hermes uses networkx==2.4 which uses numpy.int:
https://github.com/networkx/networkx/blob/networkx-2.4/networkx/readwrite/graphml.py#L346

This was deprecated in newer version of numpy. Instead of upgrading, which I am not qualified to do with my limited python experience, I am fixing the numpy version as what is expected throughout rhasspy to 1.20.1:
https://github.com/rhasspy/rhasspy/blob/0b6caab2ea41f022fa4d8c0714ad00befcbb38d2/Dockerfile#L150

I will do this in other submodules if this gets approved to make the instructions for virtual environment work:
https://rhasspy.readthedocs.io/en/latest/installation/#virtual-environment

There is a similar need to fix the markupsafe transitive dependency to version 2.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant