Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 35b207e

Browse files
committed
Use django 2.2 in nox tests
1 parent 14ebac9 commit 35b207e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

noxfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
from __future__ import absolute_import
1111

12-
import nox
1312
import os
1413
import shutil
1514

15+
import nox
1616

1717
BLACK_VERSION = "black==19.10b0"
1818
BLACK_PATHS = [
@@ -62,7 +62,9 @@ def lint_setup_py(session):
6262

6363
def default(session):
6464
# Install all test dependencies, then install this package in-place.
65-
session.install("mock", "pytest", "pytest-cov", "django", "mock-import")
65+
session.install(
66+
"django~=2.2", "mock", "mock-import", "pytest", "pytest-cov"
67+
)
6668
session.install("-e", ".")
6769

6870
# Run py.test against the unit tests.

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# license that can be found in the LICENSE file or at
55
# https://developers.google.com/open-source/licenses/bsd
66

7-
__version__ = "3.1.0a1"
7+
__version__ = "2.2.0a1"

0 commit comments

Comments
 (0)