1. Clear screen

clear

2. Highest strategy

Select-String -Path uv.lock -Pattern 'name = "httpx"' -Context 0,1

3. Lowest-direct strategy

uv lock --resolution lowest-direct

4. Back to the highest

uv lock --resolution highest

5. Add an override to pyproject.toml

@"

[tool.uv]
override-dependencies = [
    "httpx==0.27.0"
]
"@ | Add-Content pyproject.toml

Get-Content pyproject.toml

6. Re-lock with override active

uv lock

Select-String -Path uv.lock -Pattern 'name = "httpx"' -Context 0,2