From 7c4a88d147f5ec39faad8a29c36db4bef557ec90 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 28 Oct 2022 14:53:57 -0500 Subject: [PATCH 1/2] Require python 3.8+ --- .github/workflows/test.yml | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a9411b..49d39e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,14 +23,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.7", "3.10"] + python-version: ["3.8", "3.11"] include: - os: windows-latest python-version: "3.9" - os: ubuntu-latest python-version: "pypy-3.8" - os: macos-latest - python-version: "3.8" + python-version: "3.10" steps: - uses: actions/checkout@v2 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 @@ -54,7 +54,7 @@ jobs: - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: - python_version: "3.7" + python_version: "3.8" - name: Install miniumum versions uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 - name: Run the unit tests diff --git a/pyproject.toml b/pyproject.toml index da77339..29c68b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3" ] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ "platformdirs", "traitlets", From 76a18ed2927b755bdaac8ed8ae86b90229f3d109 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 31 Oct 2022 16:55:05 -0500 Subject: [PATCH 2/2] bump pyupgrade --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8e08c19..1446d4f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: rev: v3.1.0 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/PyCQA/doc8 rev: v1.0.0