From a82d90ea55a980e7c7974367fe5c26e3945117b5 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Fri, 1 Sep 2023 17:11:48 +0800 Subject: [PATCH] build!: drop python 37 (#326) --- .github/workflows/ci.yaml | 2 +- poetry.lock | 12 +++--------- pyproject.toml | 9 ++++----- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b84ae8e7..fb2f8783 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: max-parallel: 2 matrix: transmission: [ 'version-3.00-r8', '4.0.3' ] - python: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] + python: [ "3.8", "3.9", "3.10", "3.11" ] services: transmission: diff --git a/poetry.lock b/poetry.lock index ff9330ad..dc6d037c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. [[package]] name = "alabaster" @@ -345,7 +345,6 @@ files = [ ] [package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} zipp = ">=0.5" [package.extras] @@ -631,9 +630,6 @@ files = [ {file = "pluggy-1.2.0.tar.gz", hash = "sha256:d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"}, ] -[package.dependencies] -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} - [package.extras] dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] @@ -684,7 +680,6 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" @@ -1178,7 +1173,6 @@ files = [ [package.dependencies] idna = ">=2.0" multidict = ">=4.0" -typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} [[package]] name = "zipp" @@ -1197,5 +1191,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" -python-versions = "^3.7" -content-hash = "7f1afca108ded045565d88094140425207bbaa1e981e37dcd989ba40bd5058e2" +python-versions = "^3.8" +content-hash = "8d2572afc657564a5c1d3b08f895fb78f58bc74fcaf6af14361d7d58ab6e98dd" diff --git a/pyproject.toml b/pyproject.toml index 4e5c47a9..f7226b21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,6 @@ classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -27,7 +26,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" # dependencies requests = "^2.23.0" typing-extensions = "*" @@ -70,7 +69,7 @@ include_trailing_comma = true addopts = '-rav -Werror' [tool.mypy] -python_version = "3.7" +python_version = "3.8" disallow_untyped_defs = true ignore_missing_imports = true warn_return_any = false @@ -79,7 +78,7 @@ show_error_codes = true [tool.black] line-length = 120 -target-version = ['py37'] +target-version = ['py38'] [tool.ruff] @@ -152,4 +151,4 @@ ignore = [ 'PGH003', ] -target-version = "py37" +target-version = "py38"