Skip to content

Commit

Permalink
chore!: Drop support for EOL Python 3.5 and 3.6, test on Python 3.11 too
Browse files Browse the repository at this point in the history
  • Loading branch information
akx authored and pennersr committed Mar 31, 2023
1 parent afa3ea9 commit 632f37d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 34 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['main', '2.0', '2.1', '2.2', '3.0', '3.1', '3.2', '4.0', '4.1']
exclude:
- python-version: '3.8'
Expand All @@ -21,45 +21,34 @@ jobs:
django-version: '2.0'
- python-version: '3.10'
django-version: '2.0'
- python-version: '3.11'
django-version: '2.0'

- python-version: '3.8'
django-version: '2.1'
- python-version: '3.9'
django-version: '2.1'
- python-version: '3.10'
django-version: '2.1'
- python-version: '3.11'
django-version: '2.1'

- python-version: '3.5'
django-version: '3.0'
- python-version: '3.10'
django-version: '3.0'
- python-version: '3.11'
django-version: '3.0'

- python-version: '3.5'
django-version: '3.1'
- python-version: '3.10'
django-version: '3.1'
- python-version: '3.11'
django-version: '3.1'

- python-version: '3.5'
django-version: '3.2'

- python-version: '3.5'
django-version: '4.0'
- python-version: '3.6'
django-version: '4.0'
- python-version: '3.7'
django-version: '4.0'

- python-version: '3.5'
django-version: '4.1'
- python-version: '3.6'
django-version: '4.1'
- python-version: '3.7'
django-version: '4.1'

- python-version: '3.5'
django-version: 'main'
- python-version: '3.6'
django-version: 'main'
- python-version: '3.7'
django-version: 'main'
- python-version: '3.8'
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def find_package_data(
"requests",
"pyjwt[crypto] >= 1.7",
],
python_requires=">=3.5",
python_requires=">=3.7",
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -153,8 +153,6 @@ def find_package_data(
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
17 changes: 6 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
[tox]
envlist =
py{35,36,37}-django20
py{35,36,37}-django21
py{35,36,37,38,39}-django22
py{36,37,38,39}-django30
py{36,37,38,39}-django31
py{36,37,38,39,310}-django32
py{38,39,310}-django40
py{38,39,310}-django41
py{310}-djangomain
py{37}-django{20,21}
py{37,38,39}-django{22,30,31}
py{37,38,39,310}-django32
py{38,39,310,311}-django{40,41}
py{310,311}-djangomain
docs
checkqa
standardjs
Expand Down Expand Up @@ -79,12 +75,11 @@ exclude = migrations

[gh-actions:env]
PYTHON_VER =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
DJANGO =
main: djangomain
2.0: django20
Expand Down

0 comments on commit 632f37d

Please sign in to comment.