From 4a2f7713a1661a96516e907bda2f3dd87a2c3b3d Mon Sep 17 00:00:00 2001 From: Joe Birr-Pixton Date: Sat, 26 Oct 2024 09:46:34 +0100 Subject: [PATCH] ci: fixes - update artifact action - test on more modern pythons - unhook & bump poetry required version --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/requirements.txt | 4 ++-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3aea995..c8a2e38 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu, windows, macos] - python: ['3.8', '3.9', '3.10'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Check out code from GitHub uses: actions/checkout@v2.3.4 @@ -33,7 +33,7 @@ jobs: - name: Run tests and ensure 100% line coverage run: poetry run pytest --cov-fail-under=100 --cov hpke tests - name: Upload coverage artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.python }}-${{ matrix.os }} path: .coverage diff --git a/.github/workflows/requirements.txt b/.github/workflows/requirements.txt index 4efa670..d00cfe3 100644 --- a/.github/workflows/requirements.txt +++ b/.github/workflows/requirements.txt @@ -1,3 +1,3 @@ -pip==21.2.4 -poetry==1.1.8 +pip==24.2 +poetry==1.8.2 diff --git a/pyproject.toml b/pyproject.toml index 31b62c5..3417c72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,5 +20,5 @@ black = "^22.3.0" mypy = "^0.942" [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"