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

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new ea1bd2d06 Specify Python 3.12 version for Java interop tests
ea1bd2d06 is described below

commit ea1bd2d0660743204aba42f5cbc25c09726e416b
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Fri Oct 25 16:20:39 2024 +0300

    Specify Python 3.12 version for Java interop tests
    
    Otherwise the action does nothing and uses the system-installed Python:
    
    ```
    Run actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
    Warning: Neither 'python-version' nor 'python-version-file' inputs were 
supplied. Attempting to find '.python-version' file.
    Warning: .python-version doesn't exist.
    Warning: The `python-version` input is not set.  The version of Python 
currently in `PATH` will be used.
    ```
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/test-lang-java.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/test-lang-java.yml 
b/.github/workflows/test-lang-java.yml
index e5d6aebf9..c757da674 100644
--- a/.github/workflows/test-lang-java.yml
+++ b/.github/workflows/test-lang-java.yml
@@ -112,6 +112,8 @@ jobs:
 
       - name: 'Setup Python for Generating Input Data'
         uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # 
v5.0.0
+        with:
+          python-version: '3.12'
 
       - name: 'Apt Install Compression Libs Required by Python'
         run: |

Reply via email to