Spacy model download failing

Spacy model downloads are failing due to an issue upstream FIXED: Pydantic issubclass error for python 3.8 and 3.9 · Issue #12659 · explosion/spaCy · GitHub

python3 -m spacy download en_core_web_md

The recommended fix is to upgrade Pydantic to the latest version but it’s not possible

poetry add "pydantic@~1.10.9"

Because rasa (3.6.0) depends on pydantic (<1.10.3)
 and no versions of rasa match >3.6,<3.7, rasa (>=3.6,<3.7) requires pydantic (<1.10.3).
So, because search depends on both pydantic (~1.10.9) and rasa (~3.6), version solving failed.

What would be the fix here?

Installing typing_extensions fixed it.

poetry add "typing_extensions@<4.6.0"