From 60d8d61cca4f44073d55de6d83b50f677d18bbab Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Mon, 24 Jun 2024 00:09:06 +0100 Subject: [PATCH 1/2] setup: try removing coverage<6.0 pin --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dbcbae7..0917e8f 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ "pytest-cache>=1.0", 'pytest-cov>=1.8.0', 'pytest-pep8>=1.0.6', - 'coverage>=3.7.1,<6.0', + 'coverage>=3.7.1', 'mock>=2.0.0', ] From 44073bb1d66179e223434625627f6c3a322d804e Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Mon, 24 Jun 2024 00:22:10 +0100 Subject: [PATCH 2/2] ci: upgrade actions and add Python 3.12 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90df15e..56601f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,15 +17,15 @@ jobs: strategy: matrix: runner: ['ubuntu-latest'] - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] include: - runner: 'ubuntu-20.04' python-version: '3.6' 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 }} - name: Install pip dependencies @@ -61,9 +61,9 @@ jobs: permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' - name: Build PyPI package