From 678cfd59229fcbcabf0980b49fa1b8267207cb89 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Tue, 28 May 2024 23:04:08 +0800 Subject: [PATCH] ci: upgrade min python version to 3.8 --- .cruft.json | 2 +- .github/workflows/master-updated.yaml | 4 ++-- tasks/env.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cruft.json b/.cruft.json index 699e820..78c7139 100644 --- a/.cruft.json +++ b/.cruft.json @@ -10,7 +10,7 @@ "github_url": "https://github.com/pycontw/mail_handler", "author_name": "Wei Lee", "author_email": "weilee.rx@gmail.com", - "python_version": "3.7", + "python_version": "3.8", "dependency_management_tool": "poetry", "default_branch": "master", "use_strict_mypy_config": "n", diff --git a/.github/workflows/master-updated.yaml b/.github/workflows/master-updated.yaml index d3ab0a1..30670c9 100644 --- a/.github/workflows/master-updated.yaml +++ b/.github/workflows/master-updated.yaml @@ -33,10 +33,10 @@ jobs: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} fetch-depth: 0 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.8" - name: Install dependencies run: | diff --git a/tasks/env.py b/tasks/env.py index 842a850..dc2f961 100644 --- a/tasks/env.py +++ b/tasks/env.py @@ -7,7 +7,7 @@ @task def clean(ctx: Context) -> None: """Remove virtual environment""" - ctx.run("poetry env remove 3.7", warn=True) + ctx.run("poetry env remove 3.8", warn=True) @task