From ae3ea7113db7d19c14f0282f7dbd21691a588322 Mon Sep 17 00:00:00 2001 From: Tobias Bruckert <62531735+tb102122@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:04:15 +1100 Subject: [PATCH] Upgrade for 3.12/3.13 (#972) --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/test.yml | 8 ++++---- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5c28073..cf070ca 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can check out the head. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fd6069..15d34c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,15 +18,15 @@ jobs: test: strategy: matrix: - python: ["3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Setup Graphviz - uses: ts-graphviz/setup-graphviz@v1 + uses: ts-graphviz/setup-graphviz@v2 - name: Install poetry run: curl -sSL https://install.python-poetry.org | python3 - - name: Run all tests diff --git a/pyproject.toml b/pyproject.toml index 9be9701..3f22ac6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ include = ["resources/**/*"] python = "^3.7" graphviz = ">=0.13.2,<0.21.0" jinja2 = ">=2.10,<4.0" -typed-ast = "^1.5.4" +typed-ast = { version = "^1.5.5", markers = "python_version < '3.8'} [tool.poetry.dev-dependencies] pytest = "^7.3"