build(workspace): pin Aliyun PyPI mirror and refresh uv.lock
Tests / Test .apps.device-host-agent.tests.test_app failed
Tests / Test .apps.device-host-agent.tests.test_app failed
Set `index-url` under `[tool.uv]` so all consumers (local devs and the Jenkins image) resolve from `mirrors.aliyun.com/pypi/simple` by default instead of relying on the per-stage `UV_INDEX_URL` env var in Jenkinsfile. Local overrides remain available via `UV_INDEX_URL=... uv sync`. Re-run `uv lock` to rewrite package sources/URLs from `pypi.org` to the Aliyun mirror; versions, hashes, and resolution are unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,11 @@ dev = [
|
||||
"pytest>=8.3.0",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
# Aliyun PyPI mirror for CN networks. Override locally with UV_INDEX_URL
|
||||
# (e.g. `UV_INDEX_URL=https://pypi.org/simple uv sync`).
|
||||
index-url = "https://mirrors.aliyun.com/pypi/simple"
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
"apps/cloud-api",
|
||||
|
||||
Reference in New Issue
Block a user