general: python3.7 will reach EOL soon, remove its support

This commit is contained in:
Dima Gerasimov 2023-05-15 21:56:23 +01:00 committed by karlicoss
parent 7a32302d66
commit a445d2cbfe
2 changed files with 9 additions and 6 deletions

View file

@ -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' },
# 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 }}

View file

@ -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': [