Skip to content

Commit e0a2b39

Browse files
committed
Pin exact versions when adding dependencies with uv
1 parent 2408ed7 commit e0a2b39

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ python = "3.14.2"
55
[env]
66
_.python.venv = { path = ".venv", create = true }
77

8+
UV_PREVIEW_FEATURES = "add-bounds"
9+
810
[tasks.setup]
911
sources = ["pyproject.toml", "uv.lock"]
1012
run = [

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ warn_unreachable = true
3131
[tool.hatch.version]
3232
path = "src/python_template/__init__.py"
3333

34+
[tool.uv]
35+
add-bounds = "exact"
36+
3437
[tool.ruff]
3538
target-version = "py314"
3639
select = [

0 commit comments

Comments
 (0)