Skip to content

Commit

Permalink
BOM-2682: Added Support for Django 3.2 (#59)
Browse files Browse the repository at this point in the history
* feat: Added Support for Django 3.2

* add common constraint
  • Loading branch information
M. Zulqarnain authored Jul 19, 2021
1 parent e69e717 commit 272bb42
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
- TOXENV=django22
- TOXENV=django30
- TOXENV=django31
- TOXENV=django32
before_install:
- export DJANGO_SETTINGS_MODULE=settings

Expand Down
2 changes: 1 addition & 1 deletion milestones/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""


__version__ = '0.3.1'
__version__ = '0.3.2'
2 changes: 1 addition & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{22,30,31}
envlist = py38-django{22,30,31,32}

[testenv]
setenv =
Expand All @@ -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}
Expand Down

0 comments on commit 272bb42

Please sign in to comment.