diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 88372caee4481a13a30424308fbba1b1cd9a1621..deb090557b1e48f10e5b5930fd14e0e380154313 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -158,6 +158,9 @@ jobs:
                 cd "$DOWNSTREAM_PROJECT"
                 echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)"
 
+                if [[ "$DOWNSTREAM_PROJECT" = "pytential" ]] && [[ "$GITHUB_HEAD_REF" = "kernel_callables_v3-edit2" || "$GITHUB_BASE_REF" = "kernel_callables_v3-edit2" ]]; then
+                  sed -i "/egg=sumpy/ c git+https://github.com/inducer/sumpy.git@loopy-callables#egg=sumpy" requirements.txt
+                fi
                 sed -i "/egg=loopy/ c git+file://$(readlink -f ..)#egg=loopy" requirements.txt
 
                 export CONDA_ENVIRONMENT=.test-conda-env-py3.yml