This is an automated email from the ASF dual-hosted git repository.

shunping pushed a commit to branch resolution-too-deep
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 47673b91969409ad78ce5acac1b1d1383e81bbf4
Author: Shunping Huang <[email protected]>
AuthorDate: Mon Jun 29 11:35:36 2026 -0400

    Add debugging pip step
---
 .../beam_Inference_Python_Benchmarks_Dataflow.yml        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.github/workflows/beam_Inference_Python_Benchmarks_Dataflow.yml 
b/.github/workflows/beam_Inference_Python_Benchmarks_Dataflow.yml
index aec7e2432dc..ee8b28ba8cf 100644
--- a/.github/workflows/beam_Inference_Python_Benchmarks_Dataflow.yml
+++ b/.github/workflows/beam_Inference_Python_Benchmarks_Dataflow.yml
@@ -216,6 +216,22 @@ jobs:
       #       -PpythonVersion=3.10 \
       #       
-PloadTest.requirementsTxtFile=apache_beam/ml/inference/table_row_inference_requirements.txt
 \
       #       '-PloadTest.args=${{ 
env.beam_Inference_Python_Benchmarks_Dataflow_test_arguments_10 }} 
--autoscaling_algorithm=THROUGHPUT_BASED --max_num_workers=20 
--metrics_table=result_table_row_inference_stream 
--influx_measurement=result_table_row_inference_stream --mode=streaming 
--input_subscription=projects/apache-beam-testing/subscriptions/table_row_inference_benchmark
 --window_size_sec=60 --trigger_interval_sec=30 --timeout_ms=900000 
--output_table=apache-beam-testing:beam_run_i [...]
+      - name: Debug Dependency Resolution (Dry Run & Deptree)
+        shell: bash
+        run: |
+          python3 -m venv test_env
+          source test_env/bin/activate
+          python3 -m pip install --upgrade pip
+          python3 -m pip install pipdeptree
+          echo "=== Running pip install dry-run with report ==="
+          # We use --dry-run and --report to see the resolution plan.
+          # This might backtrack, so we run it and print the output.
+          python3 -m pip install -r 
sdks/python/apache_beam/examples/ml_transform/mltransform_generate_vocab_requirements.txt
 --dry-run --report report.json -vv || true
+          if [ -f report.json ]; then
+            cat report.json
+          fi
+          echo "=== Installed Packages in Test Env ==="
+          pipdeptree || true
       - name: run MLTransform Generate Vocab Batch
         uses: ./.github/actions/gradle-command-self-hosted-action
         timeout-minutes: 180

Reply via email to