Add a dedicated error for members with mismatched Python requirements (#5695)

## Summary

Gives you a nice error message if you attempt to sync with, e.g., `-p
3.8` when that version is supported by at least one workspace member,
but your project's minimum requirement is `>=3.12`

Closes https://github.com/astral-sh/uv/issues/5662.
This commit is contained in:
Charlie Marsh
2024-08-01 17:37:13 -04:00
committed by GitHub
parent 69b8b16c75
commit 7efed62798
4 changed files with 38 additions and 4 deletions
@@ -1,7 +1,7 @@
[project]
name = "bird-feeder"
version = "1.0.0"
requires-python = ">=3.12"
requires-python = ">=3.8"
dependencies = ["anyio>=4.3.0,<5", "seeds"]
[tool.uv.sources]