Skip to content

Commit b4ff364

Browse files
Update uv (#1538)
The Pytorch index has been flaky recently, causing [builds to fail](https://github.com/PennyLaneAI/qml/actions/runs/17419394443). This PR bumps the version of `uv`, which includes automatic retries in the event of a 503 response from the Pytorch index. This has been [tested](https://github.com/PennyLaneAI/qml/actions/runs/17444053054), but since we can't make the Pytorch index unavailable we won't know it works until we stop seeing failures due to 503s from Pytorch.
1 parent 44a79aa commit b4ff364

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

dependencies/requirements-build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ markupsafe==2.1.1
66
pyyaml~=6.0.1
77
pypandoc==1.5
88
pennylane-sphinx-theme @ git+https://github.com/PennyLaneAI/pennylane-sphinx-theme.git@sphinx-update
9-
uv~=0.5
9+
uv~=0.7.18
1010
numpy~=1.24
1111
pennylane

poetry.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"dulwich<0.22",
2222
"requirements-parser>=0.11.0,<0.12.0",
2323
"lxml>=5.3.0,<6.0.0",
24-
"uv>=0.5.25,<0.6.0",
24+
"uv>=0.7.18,<0.8.0",
2525
"sphobjinv>=2.3.1.3,<3.0.0"
2626
]
2727

@@ -69,7 +69,7 @@ pyyaml = "^6.0.1"
6969
pennylane-sphinx-theme = { git = "https://github.com/PennyLaneAI/pennylane-sphinx-theme.git", branch = "sphinx-update" }
7070
pypandoc = "1.5"
7171
pennylane = "0.42.0"
72-
uv = "^0.5.25"
72+
uv = "^0.7.18"
7373

7474
# Metadata validation dependencies (optional)
7575
[tool.poetry.group.metadata-validation]

0 commit comments

Comments
 (0)