I was experiencing some trouble with my installed python version (3.13.x). By switching to python version 3.9, poetry was able to install the necessary dependencies.
By changing the pyproject.toml file to be more restrictive (say python = ">=3.9.2,<3.12"), this would be nice.