Skip to content

Conversation

@shunping
Copy link
Collaborator

@shunping shunping commented Dec 12, 2025

Looks like pip 2.53.0 is also causing :sdks:python:installGcpTest stuck in workflow (https://github.com/apache/beam/actions/workflows/beam_PreCommit_Yaml_Xlang_Direct.yml)

https://github.com/apache/beam/actions/runs/20081968748/job/57610953116

Re-pinning the pip version.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @shunping, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request attempts to resolve recurring xlang test failures by stabilizing the Python environment's pip dependency. The primary change involves pinning the pip version to 25.0.1 during the build process, circumventing known issues with newer pip releases that were causing build and test instability. Additionally, adjustments were made to test triggering mechanisms to ensure proper validation of the fix.

Highlights

  • Pip Version Pinning: The pip version used in the build process has been explicitly pinned to 25.0.1. This addresses issues where pip 23.3 caused hash mismatches and pip 25.1 led to the :sdks:python:installGcpTest becoming stuck.
  • Test Trigger File Removal: The .github/trigger_files/beam_PreCommit_Python_ML.json file, which was previously used to trigger a specific test suite, has been removed.
  • CI Trigger Update: A trivial comment was added to sdks/python/setup.py to explicitly trigger CI tests, likely to validate the changes introduced in this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@shunping shunping changed the title Attempt to fix xlang test failure. Repin pip to 2.50.1 to fix hanging yaml xlang workflow Dec 12, 2025
@jrmccluskey jrmccluskey self-requested a review December 12, 2025 15:30
@shunping
Copy link
Collaborator Author

The workflow passed again after re-pinning. https://github.com/apache/beam/actions/runs/20170681485/job/57905333559?pr=37092

@github-actions github-actions bot removed the python label Dec 12, 2025
@shunping shunping marked this pull request as ready for review December 12, 2025 16:02
@shunping shunping merged commit 8a4a69e into apache:master Dec 12, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants