Skip to content

Commit

Permalink
Drop Python 3.6 support (#188)
Browse files Browse the repository at this point in the history
* Update ChangeLog.rst
* Update README.rst
* Update setup.cfg
* Update tox.ini
* Update tests.yml
  • Loading branch information
LincolnPuzey committed Jan 14, 2022
1 parent 08638b7 commit b788153
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.7', '3.8', '3.9', '3.10']
django: ['1.11', '2.0', '2.1', '2.2', '3.0', '3.1', '3.2', '4.0']
database: ['postgres', 'sqlite']
exclude:
- python: '3.6'
django: '4.0'
- python: '3.7'
django: '4.0'
- python: '3.8'
Expand Down
1 change: 1 addition & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ master
*New:*
- Confirm support of Python 3.10
- Confirm support of Django 4.0
- Drop support for Python 3.6

*Tests*
- Run CI tests on Github Actions since travis-ci.org has been shutdown.
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ This package is compatible and tested with the following Python & Django version
+------------------------+-----------------------------------+
| Django | Python |
+========================+===================================+
| 1.11, 2.0, 2.1 | 3.6, 3.7 |
| 1.11, 2.0, 2.1 | 3.7 |
+------------------------+-----------------------------------+
| 2.2, 3.0, 3.1 | 3.6, 3.7, 3.8, 3.9 |
| 2.2, 3.0, 3.1 | 3.7, 3.8, 3.9 |
+------------------------+-----------------------------------+
| 3.2 | 3.6, 3.7, 3.8, 3.9, 3.10 |
| 3.2 | 3.7, 3.8, 3.9, 3.10 |
+------------------------+-----------------------------------+
| 4.0 | 3.8, 3.9, 3.10 |
+------------------------+-----------------------------------+
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand All @@ -42,7 +41,7 @@ packages = find:
package_dir =
=src
include_package_data = true
python_requires = >=3.6
python_requires = >=3.7
install_requires =
Django >= 1.11

Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
[tox]
skipsdist = True
envlist =
py{36,37}-django{111,20,21}-{postgresql,sqlite}
py{36,37,38,39}-django{22,30,31}-{postgresql,sqlite}
py{36,37,38,39,310}-django{32}-{postgresql,sqlite}
py{37}-django{111,20,21}-{postgresql,sqlite}
py{37,38,39}-django{22,30,31}-{postgresql,sqlite}
py{37,38,39,310}-django{32}-{postgresql,sqlite}
py{38,39,310}-django{40}-{postgresql,sqlite}
py{36,37,38,39}-flake8
py{37,38,39}-flake8

[testenv]
usedevelop = True
Expand Down Expand Up @@ -35,7 +35,7 @@ commands =
ignore = E133,W503
max-line-length = 120

[testenv:py{36,37,38,39}-flake8]
[testenv:py{37,38,39}-flake8]
deps = flake8
commands =
python --version
Expand Down

0 comments on commit b788153

Please sign in to comment.