diff --git a/.flake8 b/.flake8 index b8d6ca33b5..c53ad8835c 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,5 @@ [flake8] -min_python_version = 3.8 +min_python_version = 3.9 # Incompatible with black see https://github.com/ambv/black/issues/315 ignore = diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index ac8bf3c65e..061ec492ab 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,6 +1,6 @@ name: Bug Report description: Report broken or incorrect behaviour -labels: unconfirmed bug +labels: ["unconfirmed bug"] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 67572c9bea..5409e28b3f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,6 +1,6 @@ name: Feature Request description: Suggest a feature for this library -labels: feature request +labels: ["feature request"] body: - type: input attributes: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c500580ee..8daaed7da9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,16 +16,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - # Python 3.8/3.9 are on macos-13 but not macos-latest (macos-14-arm64) + python-version: ["3.9", "3.10", "3.11", "3.12"] + # Python 3.9 are on macos-13 but not macos-latest (macos-14-arm64) # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760 exclude: - - { python-version: "3.8", os: "macos-latest" } - { python-version: "3.9", os: "macos-latest" } include: - - { python-version: "3.8", os: "macos-13" } - { python-version: "3.9", os: "macos-13" } - env: OS: ${{ matrix.os }} PYTHON: ${{ matrix.python-version }} @@ -58,10 +55,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.9" cache: "pip" cache-dependency-path: "requirements/docs.txt" check-latest: true diff --git a/.readthedocs.yml b/.readthedocs.yml index 59842ef8bb..936af78043 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,7 +4,7 @@ formats: [] build: os: ubuntu-22.04 tools: - python: "3.8" + python: "3.9" sphinx: configuration: docs/conf.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bd37dd602..2ebb0f0528 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,15 @@ possible (see our [Version Guarantees] for more info). These changes are available on the `master` branch, but have not yet been released. +⚠️ **This Version Removes Support For Python 3.8** ⚠️ + ### Changed - Renamed `cover` property of `ScheduledEvent` and `cover` argument of `ScheduledEvent.edit` to `image`. ([#2496](https://github.com/Pycord-Development/pycord/pull/2496)) +- ⚠️ **This Version Removes Support For Python 3.8** ⚠️ + ([#2521](https://github.com/Pycord-Development/pycord/pull/2521)) ## [2.6.0] - 2024-07-09 diff --git a/README.rst b/README.rst index ae74c857e0..12df2893f8 100644 --- a/README.rst +++ b/README.rst @@ -30,7 +30,7 @@ Key Features Installing ---------- -**Python 3.8 or higher is required** +**Python 3.9 or higher is required** To install the library without full voice support, run the following command: diff --git a/pyproject.toml b/pyproject.toml index 0f3af97474..461e23e896 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ ] description = "A Python wrapper for the Discord API" readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" license = {text = "MIT"} classifiers = [ "Development Status :: 5 - Production/Stable", @@ -20,7 +20,6 @@ classifiers = [ "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -66,7 +65,7 @@ voice = {file = "requirements/voice.txt"} [tool.setuptools_scm] [tool.black] -target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] +target-version = ['py39', 'py310', 'py311', 'py312'] [tool.isort] profile = "black" @@ -85,7 +84,7 @@ extension-pkg-whitelist = [ "pydantic", "ujson" ] -py-version = 3.8 +py-version = 3.9 [tool.pylint.messages_control] enable = [