Skip to content

Commit 69a0a0d

Browse files
authored
Merge pull request #6 from edx/dsheraz/prod-343
run make upgrade to update jinja2
2 parents b77d102 + 428959d commit 69a0a0d

File tree

15 files changed

+186
-107
lines changed

15 files changed

+186
-107
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ include CHANGELOG.rst
33
include CONTRIBUTING.rst
44
include LICENSE.txt
55
include README.rst
6+
include requirements/base.in
67
recursive-include help_tokens *.html *.png *.gif *js *.css *jpg *jpeg *svg *py

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ coverage: clean ## generate and view HTML coverage report
3232
py.test --cov-report html
3333
$(BROWSER) htmlcov/index.html
3434

35+
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
3536
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
3637
pip install -q pip-tools
3738
pip-compile --upgrade -o requirements/dev.txt requirements/base.in requirements/dev.in requirements/quality.in

help_tokens/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from .context_processor import context_processor
88

9-
10-
__version__ = '1.0.3'
9+
__version__ = '1.0.4'
1110

1211
default_app_config = 'help_tokens.apps.HelpTokensConfig' # pylint: disable=invalid-name

help_tokens/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
import logging
99

10-
from django.conf import settings
11-
1210
from six.moves import configparser
1311

12+
from django.conf import settings
13+
1414
log = logging.getLogger(__name__)
1515

1616

requirements/base.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Core requirements for using this application
22

3+
-c constraints.txt
4+
35
Django # Web application framework
46
six # Python 3 compatibility layer

requirements/constraints.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Version constraints for pip-installation.
2+
#
3+
# This file doesn't install any packages. It specifies version constraints
4+
# that will be applied if a package is needed.
5+
#
6+
# When pinning something here, please provide an explanation of why. Ideally,
7+
# link to other information that will help people in the future to remove the
8+
# pin when possible. Writing an issue against the offending project and
9+
# linking to it here is good.
10+
11+
# These packages are backports which can only be installed on Python 2.7
12+
futures ; python_version == "2.7"

requirements/dev.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Additional requirements for development of this application
22

3+
-c constraints.txt
4+
35
diff-cover # Changeset diff test coverage
46
edx-lint # For updating pylintrc
57
edx-i18n-tools # For i18n_tool dummy

requirements/dev.txt

Lines changed: 59 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,64 +2,72 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile --output-file requirements/dev.txt requirements/base.in requirements/dev.in requirements/quality.in
5+
# make upgrade
66
#
77
argparse==1.4.0 # via caniusepython3
8-
astroid==1.5.2 # via edx-lint, pylint, pylint-celery, pylint-plugin-utils
9-
backports.functools-lru-cache==1.4 # via astroid, caniusepython3, pylint
10-
bleach==2.0.0 # via readme-renderer
11-
caniusepython3==5.0.0
12-
certifi==2017.4.17 # via requests
8+
astroid==1.5.3 # via pylint, pylint-celery
9+
backports.functools-lru-cache==1.5 # via astroid, caniusepython3, isort, pylint
10+
bleach==3.1.0 # via readme-renderer
11+
caniusepython3==7.1.0
12+
certifi==2019.3.9 # via requests
1313
chardet==3.0.4 # via requests
14-
click-log==0.1.8 # via edx-lint
15-
click==6.7 # via click-log, edx-lint, pip-tools
16-
configparser==3.5.0 # via pylint
17-
diff-cover==0.9.11
18-
distlib==0.2.5 # via caniusepython3
19-
django==1.11.2 # via edx-i18n-tools
20-
docutils==0.13.1 # via readme-renderer
21-
edx-i18n-tools==0.4.2
22-
edx-lint==0.5.4
14+
click-log==0.3.2 # via edx-lint
15+
click==7.0 # via click-log, edx-lint, pip-tools
16+
configparser==3.7.4 # via importlib-metadata, pylint
17+
contextlib2==0.5.5 # via importlib-metadata
18+
diff-cover==2.2.0
19+
distlib==0.2.9.post0 # via caniusepython3
20+
django==1.11.21
21+
docutils==0.14 # via readme-renderer
22+
edx-i18n-tools==0.4.8
23+
edx-lint==1.3.0
2324
enum34==1.1.6 # via astroid
24-
first==2.0.1 # via pip-tools
25-
futures==3.1.1 # via caniusepython3
26-
html5lib==0.999999999 # via bleach
27-
idna==2.5 # via requests
28-
inflect==0.2.5 # via jinja2-pluralize
29-
isort==4.2.15
25+
filelock==3.0.12 # via tox
26+
futures==3.2.0 ; python_version == "2.7" # via caniusepython3, isort
27+
idna==2.8 # via requests
28+
importlib-metadata==0.18 # via pluggy
29+
inflect==2.1.0 # via jinja2-pluralize
30+
isort==4.3.20
3031
jinja2-pluralize==0.3.0 # via diff-cover
31-
jinja2==2.9.6 # via diff-cover, jinja2-pluralize
32-
lazy-object-proxy==1.3.1 # via astroid
33-
markupsafe==1.0 # via jinja2
32+
jinja2==2.10.1 # via diff-cover, jinja2-pluralize
33+
lazy-object-proxy==1.4.1 # via astroid
34+
markupsafe==1.1.1 # via jinja2
3435
mccabe==0.6.1 # via pylint
35-
packaging==16.8 # via caniusepython3
36-
path.py==10.3.1 # via edx-i18n-tools
37-
pip-tools==1.9.0
38-
pkginfo==1.4.1 # via twine
39-
pluggy==0.4.0 # via tox
40-
polib==1.0.8 # via edx-i18n-tools
41-
py==1.4.34 # via tox
42-
pycodestyle==2.3.1
36+
packaging==19.0 # via caniusepython3
37+
path.py==11.5.2 # via edx-i18n-tools
38+
pathlib2==2.3.3 # via importlib-metadata
39+
pip-tools==3.8.0
40+
pkginfo==1.5.0.1 # via twine
41+
pluggy==0.12.0 # via tox
42+
polib==1.1.0 # via edx-i18n-tools
43+
py==1.8.0 # via tox
44+
pycodestyle==2.5.0
4345
pydocstyle==1.1.1
44-
pygments==2.2.0 # via diff-cover, readme-renderer
46+
pygments==2.4.2 # via diff-cover, readme-renderer
4547
pylint-celery==0.3 # via edx-lint
4648
pylint-django==0.7.2 # via edx-lint
47-
pylint-plugin-utils==0.2.6 # via pylint-celery, pylint-django
48-
pylint==1.7.1 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils
49-
pyparsing==2.2.0 # via packaging
50-
pytz==2017.2 # via django
51-
pyyaml==3.12 # via edx-i18n-tools
52-
readme-renderer==17.2
53-
requests-toolbelt==0.8.0 # via twine
54-
requests==2.18.1 # via caniusepython3, requests-toolbelt, twine
49+
pylint-plugin-utils==0.5 # via pylint-celery, pylint-django
50+
pylint==1.7.6 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils
51+
pyparsing==2.4.0 # via packaging
52+
pytz==2019.1 # via django
53+
pyyaml==5.1.1 # via edx-i18n-tools
54+
readme-renderer==24.0
55+
requests-toolbelt==0.9.1 # via twine
56+
requests==2.22.0 # via caniusepython3, requests-toolbelt, twine
57+
scandir==1.10.0 # via pathlib2
5558
singledispatch==3.4.0.3 # via astroid, pylint
56-
six==1.10.0
57-
tox-battery==0.4
58-
tox==2.7.0
59-
tqdm==4.14.0 # via twine
60-
twine==1.9.1
61-
urllib3==1.21.1 # via requests
62-
virtualenv==15.1.0 # via tox
63-
webencodings==0.5.1 # via html5lib
64-
wheel==0.29.0
65-
wrapt==1.10.10 # via astroid
59+
six==1.12.0
60+
toml==0.10.0 # via tox
61+
tox-battery==0.5.1
62+
tox==3.12.1
63+
tqdm==4.32.1 # via twine
64+
twine==1.13.0
65+
urllib3==1.25.3 # via requests
66+
virtualenv==16.6.0 # via tox
67+
webencodings==0.5.1 # via bleach
68+
wheel==0.33.4
69+
wrapt==1.11.1 # via astroid
70+
zipp==0.5.1 # via importlib-metadata
71+
72+
# The following packages are considered to be unsafe in a requirements file:
73+
# setuptools==41.0.1 # via caniusepython3, tox, twine

requirements/quality.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Requirements for code quality checks
22

3+
-c constraints.txt
4+
35
caniusepython3 # Additional Python 3 compatibility pylint checks
46
edx-lint # edX pylint rules and plugins
57
isort # to standardize order of imports

requirements/quality.txt

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,43 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile --output-file requirements/quality.txt requirements/quality.in
5+
# make upgrade
66
#
77
argparse==1.4.0 # via caniusepython3
8-
astroid==1.5.2 # via edx-lint, pylint, pylint-celery, pylint-plugin-utils
9-
backports.functools-lru-cache==1.4 # via astroid, caniusepython3, pylint
10-
bleach==2.0.0 # via readme-renderer
11-
caniusepython3==5.0.0
12-
certifi==2017.4.17 # via requests
8+
astroid==1.5.3 # via pylint, pylint-celery
9+
backports.functools-lru-cache==1.5 # via astroid, caniusepython3, isort, pylint
10+
bleach==3.1.0 # via readme-renderer
11+
caniusepython3==7.1.0
12+
certifi==2019.3.9 # via requests
1313
chardet==3.0.4 # via requests
14-
click-log==0.1.8 # via edx-lint
15-
click==6.7 # via click-log, edx-lint
16-
configparser==3.5.0 # via pylint
17-
distlib==0.2.5 # via caniusepython3
18-
docutils==0.13.1 # via readme-renderer
19-
edx-lint==0.5.4
14+
click-log==0.3.2 # via edx-lint
15+
click==7.0 # via click-log, edx-lint
16+
configparser==3.7.4 # via pylint
17+
distlib==0.2.9.post0 # via caniusepython3
18+
docutils==0.14 # via readme-renderer
19+
edx-lint==1.3.0
2020
enum34==1.1.6 # via astroid
21-
futures==3.1.1 # via caniusepython3
22-
html5lib==0.999999999 # via bleach
23-
idna==2.5 # via requests
24-
isort==4.2.15
25-
lazy-object-proxy==1.3.1 # via astroid
21+
futures==3.2.0 ; python_version == "2.7" # via caniusepython3, isort
22+
idna==2.8 # via requests
23+
isort==4.3.20
24+
lazy-object-proxy==1.4.1 # via astroid
2625
mccabe==0.6.1 # via pylint
27-
packaging==16.8 # via caniusepython3
28-
pycodestyle==2.3.1
26+
packaging==19.0 # via caniusepython3
27+
pycodestyle==2.5.0
2928
pydocstyle==1.1.1
30-
pygments==2.2.0 # via readme-renderer
29+
pygments==2.4.2 # via readme-renderer
3130
pylint-celery==0.3 # via edx-lint
3231
pylint-django==0.7.2 # via edx-lint
33-
pylint-plugin-utils==0.2.6 # via pylint-celery, pylint-django
34-
pylint==1.7.1 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils
35-
pyparsing==2.2.0 # via packaging
36-
readme-renderer==17.2
37-
requests==2.18.1 # via caniusepython3
32+
pylint-plugin-utils==0.5 # via pylint-celery, pylint-django
33+
pylint==1.7.6 # via edx-lint, pylint-celery, pylint-django, pylint-plugin-utils
34+
pyparsing==2.4.0 # via packaging
35+
readme-renderer==24.0
36+
requests==2.22.0 # via caniusepython3
3837
singledispatch==3.4.0.3 # via astroid, pylint
39-
six==1.10.0 # via astroid, bleach, edx-lint, html5lib, packaging, pylint, readme-renderer, singledispatch
40-
urllib3==1.21.1 # via requests
41-
webencodings==0.5.1 # via html5lib
42-
wrapt==1.10.10 # via astroid
38+
six==1.12.0 # via astroid, bleach, edx-lint, packaging, pylint, readme-renderer, singledispatch
39+
urllib3==1.25.3 # via requests
40+
webencodings==0.5.1 # via bleach
41+
wrapt==1.11.1 # via astroid
42+
43+
# The following packages are considered to be unsafe in a requirements file:
44+
# setuptools==41.0.1 # via caniusepython3

0 commit comments

Comments
 (0)