() Confusing error message in `poetry show` with outdated lock file
Author: KotlinIslandCreated Jun 13, 2024Updated Sep 18, 2026
Labelskind/bugarea/show
Description
> px poetry show
basedmypy 2.3.0
> # update pyproject.toml to say 'basedmypy = "2.4.0"'
> px poetry show
Because test depends on basedmypy (2.4.0) which doesn't match any versions, version solving failed.This is caused by the same problem as: Related:
- #5003
- #8737
This message is nonsense, as you can learn from the linked issues.
Poetry Installation Method
pyprojectx
Operating System
Windows 10
Poetry Version
1.8.3
Source: python-poetry/poetry