diff --git a/.travis.yml b/.travis.yml index e663660..d894670 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ env: - TOXENV=django22 - TOXENV=django30 - TOXENV=django31 + - TOXENV=django32 before_install: - export DJANGO_SETTINGS_MODULE=settings diff --git a/milestones/__init__.py b/milestones/__init__.py index 02645fb..0320c2e 100644 --- a/milestones/__init__.py +++ b/milestones/__init__.py @@ -3,4 +3,4 @@ """ -__version__ = '0.3.1' +__version__ = '0.3.2' diff --git a/requirements/base.in b/requirements/base.in index c65ce4e..c3f45b6 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -1,7 +1,7 @@ # Core requirements for using this application -c constraints.txt -Django>=2.2,<2.3 # Web application framework +Django # Web application framework django-model-utils # Provides TimeStampedModel abstract base class edx-opaque-keys>=0.2.1 # Create and introspect course and xblock identities six # Utilities for supporting Python 2 & 3 in the same codebase diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 4437840..5a66837 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -8,5 +8,8 @@ # pin when possible. Writing an issue against the offending project and # linking to it here is good. +# Common constraints for edx repos +-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # constrained until https://github.com/signalpillar/tox-battery/pull/26 is merged tox-battery==0.5.2 \ No newline at end of file diff --git a/setup.py b/setup.py index 4034ea5..51f5207 100644 --- a/setup.py +++ b/setup.py @@ -76,6 +76,9 @@ def is_requirement(line): 'Programming Language :: Python :: 3.8', 'Framework :: Django', 'Framework :: Django :: 2.2', + 'Framework :: Django :: 3.0', + 'Framework :: Django :: 3.1', + 'Framework :: Django :: 3.2', ], packages=find_packages(exclude=["tests"]), install_requires=load_requirements('requirements/base.in'), diff --git a/tox.ini b/tox.ini index 971828d..676581d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{22,30,31} +envlist = py38-django{22,30,31,32} [testenv] setenv = @@ -9,6 +9,7 @@ deps = django22: Django>=2.2,<2.3 django30: Django>=3.0,<3.1 django31: Django>=3.1,<3.2 + django32: Django>=3.2,<3.3 -r{toxinidir}/requirements/test.txt commands = python -Wd -m pytest {posargs}