From cfb18575bdeb746633b04f94db7710c1a27aea7a Mon Sep 17 00:00:00 2001 From: Raiden Sakura Date: Mon, 8 Apr 2024 23:45:48 +0800 Subject: [PATCH] Drop support for Python 3.8 --- .github/workflows/load-check.yml | 2 +- CHANGELOG.md | 3 +++ README.md | 2 +- docs/pages/plugins.mdx | 2 +- poetry.lock | 8 ++++---- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/load-check.yml b/.github/workflows/load-check.yml index 0138abec0b..625729b513 100644 --- a/.github/workflows/load-check.yml +++ b/.github/workflows/load-check.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] fail-fast: false name: Load Modmail - Python ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 447b4c577a..3d6bd3373a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ however, insignificant breaking changes do not guarantee a major version bump, s - Reworked `?close` command syntax to fix improper argument parsing (#3310). - Fixed improper type hinting in `?adduser` command leading to command failure. (#3311). +### Deprecated +- Dropped support for Python 3.8 as the `pre-commit` development dependency requires Python 3.9 and above to be installed. Users on this version should upgrade to a supported Python version. + # v4.2.0 ### Breaking diff --git a/README.md b/README.md index e2350d096a..aba7347b6d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A Modmail fork with a focus on improvements and bug fixes.

- + MIT License Support diff --git a/docs/pages/plugins.mdx b/docs/pages/plugins.mdx index be80488245..9d654f997a 100644 --- a/docs/pages/plugins.mdx +++ b/docs/pages/plugins.mdx @@ -7,7 +7,7 @@ Visit the [Unofficial List of Plugins](https://github.com/kyb3r/modmail/wiki/Uno # Guidelines To get approved and officially verified, you need to ensure you follow these guidelines: -- Supporting Python 3.8 (and above). +- Supporting Python 3.9 (and above). - No malicious intent. - The plugin cannot be a feature pending to be added into [Modmail](https://github.com/kyb3r/modmail/issues). You can submit a PR to add it to the core Modmail. - Core Modmail still needs to 100% function. diff --git a/poetry.lock b/poetry.lock index cf26da1a7e..66af47bfad 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1045,7 +1045,7 @@ files = [ [[package]] name = "platformdirs" -version = "4.3.0" +version = "4.2.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false python-versions = ">=3.8" @@ -1446,13 +1446,13 @@ files = [ [[package]] name = "typing-extensions" -version = "4.10.0" +version = "4.11.0" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475"}, - {file = "typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb"}, + {file = "typing_extensions-4.11.0-py3-none-any.whl", hash = "sha256:c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a"}, + {file = "typing_extensions-4.11.0.tar.gz", hash = "sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"}, ] [[package]]