From c9dc769a2be16e133598a155261f1588e2d646e7 Mon Sep 17 00:00:00 2001 From: Jillian Vogel Date: Fri, 13 Sep 2024 11:01:58 +0930 Subject: [PATCH] build!: dropped support for Python 3.8 and bumped package version to 4.7.0 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pypi-publish.yml | 2 +- .github/workflows/upgrade-python-requirements.yml | 2 +- CHANGELOG.rst | 5 +++++ README.rst | 2 +- completion/__init__.py | 2 +- setup.py | 1 - tox.ini | 2 +- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f28d9b1..9de4607 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, ubuntu-latest] - python-version: ['3.8', '3.11', '3.12'] + python-version: ['3.11', '3.12'] toxenv: [quality, django42-drf314, django42-drflatest] steps: @@ -36,7 +36,7 @@ jobs: run: tox - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django42-drflatest' + if: matrix.python-version == '3.11' && matrix.toxenv=='django42-drflatest' uses: codecov/codecov-action@v4 with: flags: unittests diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 94a11e2..82d17ce 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -15,7 +15,7 @@ jobs: - name: setup python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 1935041..9bc6476 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -13,7 +13,7 @@ jobs: call-upgrade-python-requirements-workflow: with: branch: ${{ github.event.inputs.branch }} - python_version: "3.8" + python_version: "3.12" # optional parameters below; fill in if you'd like github or email notifications # user_reviewers: "" # team_reviewers: "" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d64a811..eeec05b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,11 @@ Change Log .. There should always be an "Unreleased" section for changes pending release. +[4.7.0] - 2024-9-13 +------------------- + +* Dropped support for Python 3.8 + [4.6.0] - 2024-4-16 ------------------- diff --git a/README.rst b/README.rst index 417721b..b2225da 100644 --- a/README.rst +++ b/README.rst @@ -37,7 +37,7 @@ To run the test suite: .. code:: bash pip install tox - tox # to run only a single environment, do e.g. tox -e py38-django42-drflatest + tox # to run only a single environment, do e.g. tox -e py312-django42-drflatest To use a Django shell to test commands: diff --git a/completion/__init__.py b/completion/__init__.py index 987c618..e3bd49c 100644 --- a/completion/__init__.py +++ b/completion/__init__.py @@ -3,4 +3,4 @@ """ -__version__ = '4.6.9' +__version__ = '4.7.0' diff --git a/setup.py b/setup.py index 682faac..6329d2a 100644 --- a/setup.py +++ b/setup.py @@ -159,7 +159,6 @@ def add_version_constraint_or_raise(current_line, current_requirements, add_if_n 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], diff --git a/tox.ini b/tox.ini index 827fc93..b5498b5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = drf{314,latest},py{38,311,312}-django{42} +envlist = drf{314,latest},py{311,312}-django{42} [doc8] max-line-length = 120