From c6c4181893674609e6d833ae045b4178997e5ddd Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Mon, 29 Apr 2024 14:17:20 +0300 Subject: [PATCH 1/6] Update actions --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 42363921..bd62a554 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,9 +16,9 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -44,9 +44,9 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -72,9 +72,9 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -100,7 +100,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies From 12612a0328b9f2c9bfaba797e29556f17f957b5a Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Tue, 30 Apr 2024 13:18:44 +0300 Subject: [PATCH 2/6] Try to use Python 3.13 on Windows --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd62a554..f8448868 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From e8c92a57e68b2519ccd369d0ed0d125b49ca0377 Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Tue, 30 Apr 2024 13:35:50 +0300 Subject: [PATCH 3/6] Set ignore_errors to ignore SyntaxError on old Python versions --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a6ea37a9..91af745a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,3 +39,6 @@ omit = ["setup.py"] [tool.coverage.report] exclude_lines = ["pragma: no cover", "@overload", "@abstractmethod"] + +[tool.coverage.run] +ignore_errors = true From ac645530167203b7ef26c37df85f245f16970ee4 Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Tue, 30 Apr 2024 13:36:53 +0300 Subject: [PATCH 4/6] Fix duplicated section --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 91af745a..77adf806 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,9 +36,7 @@ line-length = 79 [tool.coverage.run] omit = ["setup.py"] +ignore_errors = true [tool.coverage.report] exclude_lines = ["pragma: no cover", "@overload", "@abstractmethod"] - -[tool.coverage.run] -ignore_errors = true From e5abddac0b3ce1e94965ff225a25bb8521e02360 Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Tue, 30 Apr 2024 13:56:00 +0300 Subject: [PATCH 5/6] Try to fix ignore_errors option --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 77adf806..bb0fd4a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ line-length = 79 [tool.coverage.run] omit = ["setup.py"] -ignore_errors = true [tool.coverage.report] exclude_lines = ["pragma: no cover", "@overload", "@abstractmethod"] +ignore_errors = true From a1845fa5db37f1539601b873a4bcb54301680a15 Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Tue, 30 Apr 2024 14:09:38 +0300 Subject: [PATCH 6/6] Revert "Try to use Python 3.13 on Windows" This reverts commit 12612a0328b9f2c9bfaba797e29556f17f957b5a. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8448868..bd62a554 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}