From e8d89de2800d57ce5524fb84c21822fbf8f9329a Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Wed, 6 Mar 2024 14:14:20 +0000 Subject: [PATCH 1/2] feat!: drop python 3.6; add python 3.9 --- .github/workflows/ci.yml | 8 ++++---- README.rst | 2 +- docs/getting-started.rst | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63d71e6..7ca7447 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} @@ -27,7 +27,7 @@ jobs: - name: Run tests run: pytest - name: Coveralls - if: matrix.python-version == '3.8' + if: matrix.python-version == '3.9' run: coveralls --service=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -38,10 +38,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Set up Python 3.7 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.9 - name: Install pypa/build run: >- python -m diff --git a/README.rst b/README.rst index c45322f..6ca4e87 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ The name was inspired by `Open Contracting `_ Installation ------------ -iatikit is tested for pythons 3.6, 3.7 and 3.8. +iatikit is tested for pythons 3.7 – 3.9. You can install it using ``pip``: diff --git a/docs/getting-started.rst b/docs/getting-started.rst index eb1eeab..8893173 100644 --- a/docs/getting-started.rst +++ b/docs/getting-started.rst @@ -4,7 +4,7 @@ Getting started Installation ------------ -iatikit is tested for pythons 3.6, 3.7 and 3.8. +iatikit is tested for pythons 3.7 – 3.9. You can install iatikit using ``pip``: diff --git a/setup.py b/setup.py index f90b6e6..b14ed5f 100644 --- a/setup.py +++ b/setup.py @@ -35,8 +35,8 @@ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], ) From 325294a4485f1e7ae5248e7021290eba45e1b228 Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Wed, 6 Mar 2024 14:15:03 +0000 Subject: [PATCH 2/2] ci: minor CI fixes --- .github/workflows/ci.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca7447..db46387 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,20 +6,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ['3.7', '3.8', '3.9'] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v2 - name: Cache dependencies - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: 'pip' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -32,16 +26,17 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} deploy: - needs: [test] - if: startsWith(github.ref, 'refs/tags') name: Deploy runs-on: ubuntu-latest + needs: test + if: startsWith(github.ref, 'refs/tags') steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: '3.9' + cache: 'pip' - name: Install pypa/build run: >- python -m