general: python3.7 will reach EOL soon, remove its support
This commit is contained in:
parent
7a32302d66
commit
a445d2cbfe
2 changed files with 9 additions and 6 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -17,12 +17,15 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
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: [
|
exclude: [
|
||||||
# windows runners are pretty scarce, so let's only run one of them..
|
# windows runners are pretty scarce, so let's only run lowest and highest python version
|
||||||
{platform: windows-latest, python-version: '3.7' },
|
{platform: windows-latest, python-version: '3.9'},
|
||||||
{platform: windows-latest, python-version: '3.9' },
|
|
||||||
{platform: windows-latest, python-version: '3.10'},
|
{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 }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
@ -34,7 +37,7 @@ jobs:
|
||||||
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
|
# ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation
|
||||||
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -42,7 +42,7 @@ def main() -> None:
|
||||||
author_email='karlicoss@gmail.com',
|
author_email='karlicoss@gmail.com',
|
||||||
description='A Python interface to my life',
|
description='A Python interface to my life',
|
||||||
|
|
||||||
python_requires='>=3.7',
|
python_requires='>=3.8',
|
||||||
install_requires=INSTALL_REQUIRES,
|
install_requires=INSTALL_REQUIRES,
|
||||||
extras_require={
|
extras_require={
|
||||||
'testing': [
|
'testing': [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue