Skip to content

Commit

Permalink
Merge pull request #161 from ticosax/maintain-python-versions
Browse files Browse the repository at this point in the history
Update maintained versions of python and django
  • Loading branch information
dfunckt committed Mar 2, 2022
2 parents 2b79375 + d2fb0bb commit d16356a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.6
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.6"
python-version: "3.10"
- uses: pre-commit/action@v2.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -28,7 +28,7 @@ jobs:

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
experimental: [false]
toxenv: ["py"]
include:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Run tox targets for Python ${{ matrix.python-version }}
if: ${{ matrix.toxenv == 'PyPy' }}
continue-on-error: ${{ matrix.experimental }}
run: tox -e pypy3-django22,pypy3-django30,pypy3-django31,pypy3-django32
run: tox -e pypy3-django22,pypy3-django32

- name: Upload coverage data to coveralls.io
env:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def get_version(version):
"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",
"Programming Language :: Python :: 3.10",
],
)
13 changes: 5 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
[tox]
envlist =
py36-django{22,30,31,32},
py37-django{22,30,31,32},
py38-django{22,30,31,32},
py39-django{22,30,31,32},
pypy3-django{22,30,31,32},
py{37,38,39,310}-django{22,32},
py{38,39,310}-django40,
packaging,

[testenv]
Expand All @@ -13,11 +10,11 @@ deps =
coverage
djangorestframework
django22: Django~=2.2
django31: Django~=3.1
django32: Django~=3.2
django40: Django~=4.0
commands =
py{36,37,38,39},pypy3: coverage run tests/manage.py test testsuite {posargs: -v 2}
py{36,37,38,39},pypy3: coverage report -m
py{37,38,39,310},pypy3: coverage run tests/manage.py test testsuite {posargs: -v 2}
py{37,38,39,310},pypy3: coverage report -m

[testenv:packaging]
usedevelop = false
Expand Down

0 comments on commit d16356a

Please sign in to comment.