mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Default to current Python minor if Requires-Python
is absent (#4070)
## Summary If `Requires-Python` is omitted in `uv lock` or `uv run`, we now warn and default to `>=` the current minor version. Closes https://github.com/astral-sh/uv/issues/4050.
This commit is contained in:
parent
0b6d5b37dc
commit
e5f95186de
17 changed files with 92 additions and 15 deletions
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5"]
|
||||
|
||||
[build-system]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
|
||||
[build-system]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
|
||||
[build-system]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5"]
|
||||
|
||||
[build-system]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
|
||||
[tool.uv.workspace]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5", "seeds"]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "seeds"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["idna==3.6"]
|
||||
|
||||
[build-system]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["bird-feeder", "tqdm>=4,<5"]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["bird-feeder", "tqdm>=4,<5"]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5", "seeds"]
|
||||
|
||||
[tool.uv.sources]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[project]
|
||||
name = "seeds"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["idna==3.6"]
|
||||
|
||||
[build-system]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue