Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23276

Poetry forces use of old version of Mypy

$
0
0

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)


Viewing all articles
Browse latest Browse all 23276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>