From 8c3ec58d24b2edd04012a7abe61a8d0b00772d26 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Tue, 7 Jun 2022 00:55:55 +0800 Subject: [PATCH] Revert "still support py39" This reverts commit 1570f677446276024fe7eb44993e02424f14e70f. --- .github/workflows/main.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9b9033..7dacc37 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: needs: build-frontend strategy: matrix: - python-version: ["3.9","3.10"] + python-version: ["3.10"] os: [ubuntu-latest, windows-latest, macos-latest] fail-fast: false env: diff --git a/pyproject.toml b/pyproject.toml index 93dd942..cc5ef7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = ">=3.9,<4.0.0" +python = ">=3.10,<4.0.0" nonebot2 = "^2.0.0-beta.2" httpx = ">=0.16.1" bs4 = "^0.0.1" @@ -64,7 +64,7 @@ asyncio_mode = "auto" [tool.black] line-length = 88 -target-version = ["py39","py310"] +target-version = ["py310"] include = '\.pyi?$' extend-exclude = ''' '''