Skip to content

Commit f22456f

Browse files
authored
ci(workflows): trust paddlepaddle host to bypass TLS outage (#5305)
Problem - Paddle nightly wheels are fetched from https://www.paddlepaddle.org.cn/... and the site’s TLS certificate outage breaks CI installs. Change - Add `--trusted-host www.paddlepaddle.org.cn` and `--trusted-host paddlepaddle.org.cn` to the Paddle install commands in GitHub Actions workflows. Notes - This is a temporary workaround to keep CI green until Paddle fixes their cert. Authored by OpenClaw (model: gpt-5.2) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated build workflow configurations to include additional package host verification options during dependency installation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent dabb0ca commit f22456f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test_cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- run: |
4848
export PYTORCH_ROOT=$(python -c 'import torch;print(torch.__path__[0])')
4949
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
50-
pip install --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cu126/paddlepaddle-gpu/" --index-url https://pypi.org/simple "paddlepaddle-gpu==3.3.0.dev20251204"
50+
pip install --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cu126/paddlepaddle-gpu/" --index-url https://pypi.org/simple --trusted-host www.paddlepaddle.org.cn --trusted-host paddlepaddle.org.cn "paddlepaddle-gpu==3.3.0.dev20251204"
5151
source/install/uv_with_retry.sh pip install --system -v -e .[gpu,test,lmp,cu12,torch,jax] mpi4py --reinstall-package deepmd-kit
5252
# See https://github.com/jax-ml/jax/issues/29042
5353
source/install/uv_with_retry.sh pip install --system -U 'nvidia-cublas-cu12>=12.9.0.13'

.github/workflows/test_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
3333
export PYTORCH_ROOT=$(python -c 'import torch;print(torch.__path__[0])')
3434
source/install/uv_with_retry.sh pip install --system -e .[test,jax] mpi4py --group pin_jax
35-
source/install/uv_with_retry.sh pip install --system --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cpu/paddlepaddle/" --index-url https://pypi.org/simple paddlepaddle==3.3.0.dev20251204
35+
source/install/uv_with_retry.sh pip install --system --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cpu/paddlepaddle/" --index-url https://pypi.org/simple --trusted-host www.paddlepaddle.org.cn --trusted-host paddlepaddle.org.cn paddlepaddle==3.3.0.dev20251204
3636
env:
3737
# Please note that uv has some issues with finding
3838
# existing TensorFlow package. Currently, it uses

0 commit comments

Comments
 (0)