From cf8ffa48d3d5bef7695a8066835d82ad68057b78 Mon Sep 17 00:00:00 2001 From: Maciej Szankin Date: Mon, 18 Dec 2023 08:56:04 +0100 Subject: [PATCH 1/3] Update GitHub Runner env from 3.10 to 3.11 Torch is now supported in Python 3.11. Moving our testing env from 3.10 to 3.11 to enable tests in a newer environment. --- .github/workflows/unit_tests.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 534b355..bce2f0f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -6,10 +6,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -36,10 +36,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -51,10 +51,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.10"] + python-version: ["3.8", "3.11"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From e88d313bb5b7f0ba33cd0fbf80a06f4045d043f3 Mon Sep 17 00:00:00 2001 From: Maciej Szankin Date: Mon, 5 Feb 2024 14:28:58 -0800 Subject: [PATCH 2/3] Bump up hydra version Signed-off-by: Maciej Szankin --- requirements_test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements_test.txt b/requirements_test.txt index 093c2cc..386838e 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,7 @@ black flake8-html flake8 +hydra-core>=1.3.0 isort mypy pymarkdownlnt; python_version >= '3.8' From 346a90d563d2b5ff1fb1c7eaf5a6c2334d8497e2 Mon Sep 17 00:00:00 2001 From: Maciej Szankin Date: Mon, 5 Feb 2024 14:37:53 -0800 Subject: [PATCH 3/3] Revert "Bump up hydra version" This reverts commit e88d313bb5b7f0ba33cd0fbf80a06f4045d043f3. --- requirements_test.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 386838e..093c2cc 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,7 +1,6 @@ black flake8-html flake8 -hydra-core>=1.3.0 isort mypy pymarkdownlnt; python_version >= '3.8'