From b4c2292c4a5e70ea131746ca36fc3e5af74c45f0 Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Tue, 1 Jul 2025 19:40:55 -0400 Subject: [PATCH] Add mysqlclient dependency to address missing MySQLdb module --- .../workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml index d6582cea858a..ed523412f3e9 100644 --- a/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml +++ b/.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml @@ -81,6 +81,11 @@ jobs: run: | sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose + - name: Install mysqlclient + run: | + sudo apt update --yes + sudo apt install -y pkg-config libmysqlclient-dev + pip install mysqlclient - name: run PostCommit Python Xlang Gcp Direct script uses: ./.github/actions/gradle-command-self-hosted-action with: @@ -98,4 +103,4 @@ jobs: commit: '${{ env.prsha || env.GITHUB_SHA }}' comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }} files: '**/pytest*.xml' - large_files: true \ No newline at end of file + large_files: true