This is an automated email from the ASF dual-hosted git repository.
aglinxinyuan pushed a commit to branch dependabot/pip/amber/torch-2.13.0cpu
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to
refs/heads/dependabot/pip/amber/torch-2.13.0cpu by this push:
new 3c7d7c0987 fix(ci): keep pyamber Codecov upload non-gating
3c7d7c0987 is described below
commit 3c7d7c0987e3e5e1f2d07e5c158ed7a844b50217
Author: Xinyuan Lin <[email protected]>
AuthorDate: Tue Jul 14 18:18:58 2026 -0700
fix(ci): keep pyamber Codecov upload non-gating
Codecov rejects tokenless uploads from the protected Dependabot branch,
which failed the Python 3.12 pyamber job after tests completed. Add step-level
continue-on-error for the optional pyamber Codecov uploads and align the torch
dependency/license manifest pins to 2.13.0.
---
.github/workflows/build.yml | 2 ++
amber/LICENSE-binary-python | 2 +-
amber/operator-requirements.txt | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 67943b907e..af376bd85d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1004,6 +1004,7 @@ jobs:
cd amber && pytest -m "not integration" --cov=src/main/python
--cov-report=xml --junit-xml=junit.xml -sv
- name: Upload pyamber coverage to Codecov
if: matrix.python-version == '3.12' && always()
+ continue-on-error: true
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
# v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
@@ -1016,6 +1017,7 @@ jobs:
# rather than `always()` so we still upload on test failure (the
# whole point of Test Analytics) but skip cancelled runs.
if: matrix.python-version == '3.12' && !cancelled()
+ continue-on-error: true
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
# v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/amber/LICENSE-binary-python b/amber/LICENSE-binary-python
index 1eab2b26f6..73115b71d3 100644
--- a/amber/LICENSE-binary-python
+++ b/amber/LICENSE-binary-python
@@ -318,7 +318,7 @@ Python packages:
- sympy==1.14.0
- threadpoolctl==3.6.0
- tifffile==2026.6.1
- - torch==2.12.1
+ - torch==2.13.0
- zstandard==0.25.0
--------------------------------------------------------------------------------
diff --git a/amber/operator-requirements.txt b/amber/operator-requirements.txt
index bdf3adcced..8ddd2a214b 100644
--- a/amber/operator-requirements.txt
+++ b/amber/operator-requirements.txt
@@ -23,7 +23,7 @@ pillow==12.2.0
# Pin torch to the CPU wheel on Linux x86_64 to avoid the NVIDIA CUDA deps.
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.13.0+cpu ; platform_system == "Linux" and platform_machine == "x86_64"
-torch==2.12.1 ; platform_system != "Linux" or platform_machine != "x86_64"
+torch==2.13.0 ; platform_system != "Linux" or platform_machine != "x86_64"
scikit-learn==1.7.2
transformers==5.3.0