You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2024/10/16 02:57:21 UTC
(arrow) branch main updated: GH-44428: [CI][C#] Use setup-python to use "pip install" (#44429)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 648af67a48 GH-44428: [CI][C#] Use setup-python to use "pip install" (#44429)
648af67a48 is described below
commit 648af67a484b5025efa2da43d986da173d7f1836
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Wed Oct 16 11:57:16 2024 +0900
GH-44428: [CI][C#] Use setup-python to use "pip install" (#44429)
### Rationale for this change
We can't use `pip install` with Ubuntu 24.04's Python.
### What changes are included in this PR?
Use `actions/setup-python` instead of Ubuntu 24.04's Python.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #44428
Authored-by: Sutou Kouhei <ko...@clear-code.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
.github/workflows/csharp.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml
index 5f657e6c1b..a0f7b08765 100644
--- a/.github/workflows/csharp.yml
+++ b/.github/workflows/csharp.yml
@@ -39,7 +39,7 @@ permissions:
jobs:
ubuntu:
- name: AMD64 Ubuntu 18.04 C# ${{ matrix.dotnet }}
+ name: AMD64 Ubuntu 24.04 C# ${{ matrix.dotnet }}
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 15
@@ -52,6 +52,10 @@ jobs:
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: ${{ matrix.dotnet }}
+ - name: Setup Python
+ uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
+ with:
+ python-version: 3
- name: Checkout Arrow
uses: actions/checkout@v4
with: