Skip to content

Commit

Permalink
Drop Python 3.6 support
Browse files Browse the repository at this point in the history
Modern setuptools that reads all attributes from `pyproject.toml` needs
Python 3.7+.
  • Loading branch information
bittner committed Feb 12, 2024
1 parent 5c5aac9 commit e3f1e44
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ env:

jobs:
python-django:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
Expand All @@ -34,12 +33,9 @@ jobs:
exclude:
- { django-version: '3.2', python-version: '3.11' }
- { django-version: '3.2', python-version: '3.12' }
- { django-version: '4.1', python-version: '3.6' }
- { django-version: '4.1', python-version: '3.7' }
- { django-version: '4.1', python-version: '3.12' }
- { django-version: '4.2', python-version: '3.6' }
- { django-version: '4.2', python-version: '3.7' }
- { django-version: '5.0', python-version: '3.6' }
- { django-version: '5.0', python-version: '3.7' }
- { django-version: '5.0', python-version: '3.8' }
- { django-version: '5.0', python-version: '3.9' }
Expand Down
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Release History

- Migrate packaging from ``setup.py`` to pure ``pyproject.toml``.
- Add instructions to measure test coverage to the documentation
- Cover Python 3.9 to 3.12 and Django 3.2, 4.x and 5.0, drop Python 3.5 and Django 2.2 and 3.0 support
- Cover Python 3.9 to 3.12 and Django 3.2, 4.x and 5.0, drop Python 3.5, 3.6 and Django 2.2 and 3.0 support
- Bump Behave requirement to 1.2.7.dev3/4/5 (allows TOML support and option to change the Behave TestRunner)
- New option to change the Django TestRunner

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Version Support
---------------

*behave-django* is `tested against`_ the officially supported combinations of
Python and Django (Django 3.2, 4.1, 4.2, 5.0 on Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12).
Python and Django (Django 3.2, 4.1, 4.2, 5.0 on Python 3.7, 3.8, 3.9, 3.10, 3.11, 3.12).

*behave-django* requires a few newer features of *behave* and hence installs
a recent unreleased version of `behave`_ as a dependency.
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -48,7 +47,7 @@ keywords = [
"django",
"testing",
]
requires-python = ">=3.6"
requires-python = ">=3.7"
dependencies = [
"behave[toml]@git+http://github.com/behave/[email protected]", # behave>=1.2.7.dev3
"django>=3.2",
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ envlist =
isort
pylint
# Python/Django combinations that are officially supported
py3{6,7,8,9,10}-django32
py3{7,8,9,10}-django32
py3{8,9,10,11}-django41
py3{8,9,10,11,12}-django42
py3{10,11,12}-django50
Expand All @@ -19,7 +19,6 @@ envlist =

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
Expand Down

0 comments on commit e3f1e44

Please sign in to comment.