From a445d2cbfec361746e4602756e0d518d70f3cef2 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 15 May 2023 21:56:23 +0100 Subject: [PATCH] general: python3.7 will reach EOL soon, remove its support --- .github/workflows/main.yml | 13 ++++++++----- setup.py | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b23921..47f84cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,12 +17,15 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] exclude: [ - # windows runners are pretty scarce, so let's only run one of them.. - {platform: windows-latest, python-version: '3.7' }, - {platform: windows-latest, python-version: '3.9' }, + # windows runners are pretty scarce, so let's only run lowest and highest python version + {platform: windows-latest, python-version: '3.9'}, {platform: windows-latest, python-version: '3.10'}, + + # same, macos is a bit too slow and ubuntu covers python quirks well + {platform: macos-latest , python-version: '3.9' }, + {platform: macos-latest , python-version: '3.10' }, ] runs-on: ${{ matrix.platform }} @@ -34,7 +37,7 @@ jobs: # ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index b0f4ab6..f3f8511 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ def main() -> None: author_email='karlicoss@gmail.com', description='A Python interface to my life', - python_requires='>=3.7', + python_requires='>=3.8', install_requires=INSTALL_REQUIRES, extras_require={ 'testing': [