Poetry yields the following error on request to upgrade mypy:
<your-project> depends on both mypy (^0.812) and mypy (^0.761), version solving failed
mypy v0.761 considers type specification with bracket arguments (e.g., Callable[[],Any]
) to be a syntax error.
This is problematic.
How does one force poetry to use the latest version of a package, or remove poetry's belief that the old version of a package is necessary? (by comparison, pip installs the latest version)