From ab7172c1797da3eca262bfa4e105eb1aa9b3a756 Mon Sep 17 00:00:00 2001 From: Sven Hertling Date: Sun, 15 Sep 2024 11:35:08 +0200 Subject: [PATCH] update python --- .github/workflows/java_build.yml | 6 +++--- .github/workflows/java_coverage.yml | 6 +++--- .github/workflows/java_documentation.yml | 6 +++--- .github/workflows/python_tests.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml index e9e6ec236f..99c6387e06 100644 --- a/.github/workflows/java_build.yml +++ b/.github/workflows/java_build.yml @@ -18,7 +18,7 @@ jobs: pipcache: ~\AppData\Local\pip\Cache name: Build on ${{ matrix.os }} with Java ${{ matrix.java }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v2 with: @@ -50,10 +50,10 @@ jobs: ~/oaei_track_cache key: ${{ runner.os }}-oaei - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: # TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available - python-version: '3.10' + python-version: '3.11' architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install python dependencies run: pip install -r ./matching-ml/src/main/resources/requirements.txt diff --git a/.github/workflows/java_coverage.yml b/.github/workflows/java_coverage.yml index 1c628dba40..52435d4cd9 100644 --- a/.github/workflows/java_coverage.yml +++ b/.github/workflows/java_coverage.yml @@ -6,7 +6,7 @@ jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false # this is required for the javadoc deploy plugin - name: Set up JDK 8 @@ -35,10 +35,10 @@ jobs: ~/.cache/huggingface key: ${{ runner.os }}-transformers-models - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: # TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available - python-version: '3.10' + python-version: '3.11' architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install python dependencies run: pip install -r ./matching-ml/src/main/resources/requirements.txt diff --git a/.github/workflows/java_documentation.yml b/.github/workflows/java_documentation.yml index 432be91139..7293fd8788 100644 --- a/.github/workflows/java_documentation.yml +++ b/.github/workflows/java_documentation.yml @@ -6,7 +6,7 @@ jobs: build-and-deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false # this is required for the javadoc deploy plugin - name: Set up JDK 17 @@ -29,10 +29,10 @@ jobs: ~/.cache/pip key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}-1 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: # TODO: the latest pytorch version is only available for 3.9 and not yet in 3.10 - replace it with 3.x if it is available - python-version: '3.10' + python-version: '3.11' architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install python dependencies run: pip install -r ./matching-ml/src/main/resources/requirements.txt diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 947df3365a..bc22b7a050 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -6,11 +6,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.11', '3.12'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies