Skip to content

Commit 48612b9

Browse files
authored
Merge pull request #24 from edx/Django22-Support
Django22 support
2 parents ffbcfc3 + 4b9329c commit 48612b9

File tree

19 files changed

+272
-209
lines changed

19 files changed

+272
-209
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ docs/super_csv.*.rst
7171
# Private requirements
7272
requirements/private.in
7373
requirements/private.txt
74+
requirements/test.txt.tmp
7475

7576
# tox environment temporary artifacts
7677
tests/__init__.py

.travis.yml

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,61 @@
11
language: python
2+
23
python:
34
- 2.7
4-
- 3.6
5+
- 3.5
6+
57
env:
6-
- TOXENV=django111
7-
- TOXENV=django20
8+
- TOXENV=django111-drf37
9+
- TOXENV=django111-drf38
10+
- TOXENV=django111-drf39
11+
- TOXENV=django111-drflatest
12+
- TOXENV=django20-drf37
13+
- TOXENV=django20-drf38
14+
- TOXENV=django20-drf39
15+
- TOXENV=django20-drflatest
16+
- TOXENV=django21-drf37
17+
- TOXENV=django21-drf38
18+
- TOXENV=django21-drf39
19+
- TOXENV=django21-drflatest
20+
- TOXENV=django22-drf37
21+
- TOXENV=django22-drf38
22+
- TOXENV=django22-drf39
23+
- TOXENV=django22-drflatest
24+
825
matrix:
9-
exclude:
10-
- python: 2.7
11-
env: TOXENV=django20
1226
include:
13-
- python: 3.6
27+
- python: 3.5
1428
env: TOXENV=quality
15-
- python: 3.6
29+
- python: 3.5
1630
env: TOXENV=docs
17-
- python: 3.6
31+
- python: 3.5
1832
env: TOXENV=pii_check
33+
exclude:
34+
- python: 2.7
35+
env: TOXENV=django20-drf37
36+
- python: 2.7
37+
env: TOXENV=django20-drf38
38+
- python: 2.7
39+
env: TOXENV=django20-drf39
40+
- python: 2.7
41+
env: TOXENV=django20-drflatest
42+
- python: 2.7
43+
env: TOXENV=django21-drf37
44+
- python: 2.7
45+
env: TOXENV=django21-drf38
46+
- python: 2.7
47+
env: TOXENV=django21-drf39
48+
- python: 2.7
49+
env: TOXENV=django21-drflatest
50+
- python: 2.7
51+
env: TOXENV=django22-drf37
52+
- python: 2.7
53+
env: TOXENV=django22-drf38
54+
- python: 2.7
55+
env: TOXENV=django22-drf39
56+
- python: 2.7
57+
env: TOXENV=django22-drflatest
58+
1959
cache:
2060
- pip
2161
before_install:

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
4141
pip-compile --upgrade -o requirements/travis.txt requirements/travis.in
4242
pip-compile --upgrade -o requirements/dev.txt requirements/dev.in
4343
# Let tox control the Django version for tests
44-
sed '/^[dD]jango==/d' requirements/test.txt > requirements/test.tmp
45-
mv requirements/test.tmp requirements/test.txt
44+
sed -i.tmp '/^django==/d' requirements/test.txt
45+
sed -i.tmp '/^djangorestframework==/d' requirements/test.txt
46+
rm requirements/test.txt.tmp
4647

4748
quality: ## check coding style with pycodestyle and pylint
4849
tox -e quality

requirements/base.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Core requirements for using this application
22
-c constraints.txt
33

4-
Django>=1.11,<2.0 # Web application framework
4+
Django>=1.11 # Web application framework
55
django-model-utils # Provides TimeStampedModel abstract base class
66
django-celery
77
django-crum
88
djangorestframework
9-
edx-celeryutils
9+
edx-celeryutils
10+
simplejson

requirements/base.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
amqp==1.4.9 # via kombu
88
anyjson==0.3.3 # via kombu
99
billiard==3.3.0.23 # via celery
10-
celery==3.1.26.post2 # via django-celery
11-
django-celery==3.3.0
12-
django-crum==0.7.3
13-
django-model-utils==3.2.0
14-
django==1.11.23
10+
celery==3.1.26.post2 # via django-celery, edx-celeryutils
11+
django-celery==3.3.1
12+
django-crum==0.7.4
13+
django-model-utils==3.0.0
14+
django==1.11.26
1515
djangorestframework==3.9.4
1616
edx-celeryutils==0.3.0
17+
future==0.18.2 # via edx-celeryutils
18+
jsonfield==2.0.2 # via edx-celeryutils
1719
kombu==3.0.37 # via celery
18-
pytz==2019.2 # via celery, django
20+
pytz==2019.3 # via celery, django
21+
simplejson==3.16.0

requirements/dev.txt

Lines changed: 45 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,88 +7,91 @@
77
amqp==1.4.9
88
anyjson==0.3.3
99
argparse==1.4.0
10-
astroid==1.5.3
10+
astroid==1.6.6
1111
atomicwrites==1.3.0
12-
attrs==19.1.0
13-
backports.functools-lru-cache==1.5
12+
attrs==19.3.0
13+
backports.functools-lru-cache==1.6.1
1414
billiard==3.3.0.23
15-
caniusepython3==7.1.0
15+
caniusepython3==7.2.0
1616
celery==3.1.26.post2
17-
certifi==2019.6.16
17+
certifi==2019.9.11
1818
chardet==3.0.4
1919
click-log==0.3.2
2020
click==7.0
2121
code-annotations==0.3.2
2222
codecov==2.0.15
23-
configparser==3.7.4
24-
contextlib2==0.5.5
23+
configparser==4.0.2
24+
contextlib2==0.6.0.post1
2525
coverage==4.5.4
2626
ddt==1.2.1
27-
diff-cover==2.3.0
28-
distlib==0.2.9.post0
29-
django-celery==3.3.0
30-
django-crum==0.7.3
31-
django-model-utils==3.2.0
32-
django==1.11.23
27+
diff-cover==2.4.0
28+
distlib==0.3.0
29+
django-celery==3.3.1
30+
django-crum==0.7.4
31+
django-model-utils==3.0.0
32+
django==1.11.26
3333
djangorestframework==3.9.4
3434
edx-celeryutils==0.3.0
3535
edx-i18n-tools==0.4.8
36-
edx-lint==1.3.0
36+
edx-lint==1.4.1
3737
enum34==1.1.6
3838
filelock==3.0.12
3939
freezegun==0.3.12
4040
funcsigs==1.0.2
41+
future==0.18.2
4142
futures==3.3.0 ; python_version == "2.7"
4243
idna==2.8
43-
importlib-metadata==0.19
44-
inflect==2.1.0 # via jinja2-pluralize
44+
importlib-metadata==0.23
45+
inflect==3.0.2 # via jinja2-pluralize
4546
isort==4.3.21
4647
jinja2-pluralize==0.3.0 # via diff-cover
47-
jinja2==2.10.1
48+
jinja2==2.10.3
49+
jsonfield==2.0.2
4850
kombu==3.0.37
49-
lazy-object-proxy==1.4.1
51+
lazy-object-proxy==1.4.3
5052
markupsafe==1.1.1
5153
mccabe==0.6.1
5254
mock==3.0.5
5355
more-itertools==5.0.0
54-
packaging==19.1
56+
packaging==19.2
5557
path.py==11.5.2 # via edx-i18n-tools
56-
pathlib2==2.3.4
57-
pbr==5.4.2
58-
pip-tools==4.0.0
59-
pluggy==0.12.0
58+
pathlib2==2.3.5
59+
pbr==5.4.3
60+
pip-tools==4.2.0
61+
pluggy==0.13.0
6062
polib==1.1.0 # via edx-i18n-tools
6163
py==1.8.0
6264
pycodestyle==2.5.0
6365
pydocstyle==3.0.0
6466
pygments==2.4.2 # via diff-cover
6567
pylint-celery==0.3
66-
pylint-django==0.7.2
67-
pylint-plugin-utils==0.5
68-
pylint==1.7.6
69-
pyparsing==2.4.2
70-
pytest-cov==2.7.1
71-
pytest-django==3.5.1
72-
pytest==4.6.5
73-
python-dateutil==2.8.0
74-
python-slugify==3.0.3
75-
pytz==2019.2
68+
pylint-django==0.11.1
69+
pylint-plugin-utils==0.6
70+
pylint==1.9.5
71+
pyparsing==2.4.5
72+
pytest-cov==2.8.1
73+
pytest-django==3.7.0
74+
pytest==4.6.6
75+
python-dateutil==2.8.1
76+
python-slugify==4.0.0
77+
pytz==2019.3
7678
pyyaml==5.1.2
7779
requests==2.22.0
7880
scandir==1.10.0
81+
simplejson==3.16.0
7982
singledispatch==3.4.0.3
80-
six==1.12.0
81-
snowballstemmer==1.9.0
82-
stevedore==1.30.1
83-
text-unidecode==1.2
83+
six==1.13.0
84+
snowballstemmer==2.0.0
85+
stevedore==1.31.0
86+
text-unidecode==1.3
8487
toml==0.10.0
8588
tox-battery==0.5.1
86-
tox==3.13.2
87-
urllib3==1.25.3
88-
virtualenv==16.7.2
89+
tox==3.14.0
90+
urllib3==1.25.7
91+
virtualenv==16.7.7
8992
wcwidth==0.1.7
9093
wrapt==1.11.2
91-
zipp==0.5.2
94+
zipp==0.6.0
9295

9396
# The following packages are considered to be unsafe in a requirements file:
94-
# setuptools==41.0.1 # via caniusepython3
97+
# setuptools==41.6.0 # via caniusepython3

requirements/doc.txt

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,58 @@
77
amqp==1.4.9
88
anyjson==0.3.3
99
atomicwrites==1.3.0
10-
attrs==19.1.0
10+
attrs==19.3.0
1111
billiard==3.3.0.23
1212
bleach==3.1.0 # via readme-renderer
1313
celery==3.1.26.post2
1414
chardet==3.0.4 # via doc8
1515
click==7.0
1616
code-annotations==0.3.2
17-
configparser==3.7.4
18-
contextlib2==0.5.5
17+
configparser==4.0.2
18+
contextlib2==0.6.0.post1
1919
coverage==4.5.4
2020
ddt==1.2.1
21-
django-celery==3.3.0
22-
django-crum==0.7.3
23-
django-model-utils==3.2.0
24-
django==1.11.23
21+
django-celery==3.3.1
22+
django-crum==0.7.4
23+
django-model-utils==3.0.0
24+
django==1.11.26
2525
djangorestframework==3.9.4
2626
doc8==0.8.0
2727
docutils==0.15.2 # via doc8, readme-renderer, restructuredtext-lint
28+
edx-celeryutils==0.3.0
2829
edx-sphinx-theme==1.5.0
2930
freezegun==0.3.12
3031
funcsigs==1.0.2
31-
importlib-metadata==0.19
32-
jinja2==2.10.1
32+
future==0.18.2
33+
importlib-metadata==0.23
34+
jinja2==2.10.3
35+
jsonfield==2.0.2
3336
kombu==3.0.37
3437
markupsafe==1.1.1
3538
mock==3.0.5
3639
more-itertools==5.0.0
37-
packaging==19.1
38-
pathlib2==2.3.4
39-
pbr==5.4.2
40-
pluggy==0.12.0
40+
packaging==19.2
41+
pathlib2==2.3.5
42+
pbr==5.4.3
43+
pluggy==0.13.0
4144
py==1.8.0
4245
pygments==2.4.2 # via readme-renderer
43-
pyparsing==2.4.2
44-
pytest-cov==2.7.1
45-
pytest-django==3.5.1
46-
pytest==4.6.5
47-
python-dateutil==2.8.0
48-
python-slugify==3.0.3
49-
pytz==2019.2
46+
pyparsing==2.4.5
47+
pytest-cov==2.8.1
48+
pytest-django==3.7.0
49+
pytest==4.6.6
50+
python-dateutil==2.8.1
51+
python-slugify==4.0.0
52+
pytz==2019.3
5053
pyyaml==5.1.2
5154
readme-renderer==24.0
5255
restructuredtext-lint==1.3.0 # via doc8
5356
scandir==1.10.0
54-
six==1.12.0
57+
simplejson==3.16.0
58+
six==1.13.0
5559
sphinx==1.8.4
56-
stevedore==1.30.1
57-
text-unidecode==1.2
60+
stevedore==1.31.0
61+
text-unidecode==1.3
5862
wcwidth==0.1.7
5963
webencodings==0.5.1 # via bleach
60-
zipp==0.5.2
64+
zipp==0.6.0

requirements/pip-tools.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#
55
# make upgrade
66
#
7-
--index-url http://edx.devstack.devpi:3141/root/pypi/+simple/
8-
--extra-index-url https://pypi.python.org/simple
9-
--trusted-host edx.devstack.devpi
10-
117
click==7.0 # via pip-tools
12-
pip-tools==4.1.0
13-
six==1.12.0 # via pip-tools
8+
pip-tools==4.2.0
9+
six==1.13.0 # via pip-tools

0 commit comments

Comments
 (0)