From e0e01ac1011f2503f6e207f454a44c20674a76a4 Mon Sep 17 00:00:00 2001 From: Wesley van Lee Date: Tue, 15 Oct 2024 09:29:46 +0200 Subject: [PATCH 1/4] Add later python versions to test matrix --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4895e89..99a170e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,12 +24,15 @@ jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: ${{ matrix.python-version }} - name: Install Dependencies run: pip install -r requirements-tests.txt - name: Test From a31dd98624761752a5cc1e9a0e2e4a4b2d234e0b Mon Sep 17 00:00:00 2001 From: Wesley van Lee Date: Tue, 15 Oct 2024 09:46:40 +0200 Subject: [PATCH 2/4] Generate unique artifacts for coverage reports --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99a170e..0694a38 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,6 +42,6 @@ jobs: - name: Store coverage HTML uses: actions/upload-artifact@v4 with: - name: coverage-html - path: htmlcov + name: coverage-data-${{ github.job }}-${{ strategy.job-index }} + path: .coverage.* include-hidden-files: true From 96e8272cc449882d76d952bc3d16e79b2aedd29e Mon Sep 17 00:00:00 2001 From: Wesley van Lee Date: Tue, 15 Oct 2024 09:50:34 +0200 Subject: [PATCH 3/4] Remove py3.13 from test matrix and add compatible python version to readme --- .github/workflows/test.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0694a38..d9517f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-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 }} diff --git a/README.md b/README.md index e42806f..ebe6b46 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Scrapy Webarchive is a plugin for Scrapy that allows users to capture and export ## Compatibility -* Python 3.8+ +* Python 3.8, 3.9, 3.10, 3.11 and 3.12 ## Documentation From 2bc9ff69229df519d04d97ad20fc059d4c241394 Mon Sep 17 00:00:00 2001 From: Wesley van Lee Date: Tue, 15 Oct 2024 09:52:15 +0200 Subject: [PATCH 4/4] update requires-python in pyprojec.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9e789fc..0c24f25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ "wacz==0.5.0", "cdxj-indexer==1.4.5", ] -requires-python = ">=3.7" +requires-python = ">=3.7,<3.13" authors = [] maintainers = [] description = "A webarchive extension for Scrapy"