Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare support for Python 3.9 #424

Merged
merged 3 commits into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ python:
- 3.6
- 3.7
- 3.8
- 3.9
env:
- DJANGO=2.2
- DJANGO=3.0
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import codecs
import os
import re
import sys
import codecs

import setuptools
import setuptools.command.test
Expand Down Expand Up @@ -39,6 +39,7 @@ def _pyimp():
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Framework :: Django
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ 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}
flake8
flakeplus
Expand Down Expand Up @@ -104,20 +105,20 @@ commands =
sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck

[testenv:flake8]
basepython = python3.8
basepython = python3.9
commands =
python -m flake8 {toxinidir}/django_celery_beat {toxinidir}/t

[testenv:pydocstyle]
basepython = python3.8
basepython = python3.9
commands =
pydocstyle {toxinidir}/django_celery_beat

[testenv:cov]
basepython = python3.8
basepython = python3.9
usedevelop = true
commands =
pip install -U https://github.com/celery/celery/zipball/master#egg=celery
pip install -U https://github.com/celery/kombu/zipball/master#egg=kombu
pip install Django==3.0
pip install Django==3.2
py.test -x --cov=django_celery_beat --cov-report=xml --no-cov-on-fail