Skip to content

Commit

Permalink
Merge pull request #1504 from pallets/update-requirements
Browse files Browse the repository at this point in the history
update requirements
  • Loading branch information
davidism authored Oct 4, 2021
2 parents 362cdcf + ad1ebe3 commit fb9cac6
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 51 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.15.0
rev: v2.29.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.5.0
rev: v2.6.0
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
- repo: https://github.com/psf/black
rev: 21.5b1
rev: 21.9b0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand All @@ -21,7 +21,7 @@ repos:
- id: flake8
additional_dependencies: [flake8-bugbear]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: fix-byte-order-marker
- id: trailing-whitespace
Expand Down
62 changes: 33 additions & 29 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
#
alabaster==0.7.12
# via sphinx
appdirs==1.4.4
# via virtualenv
attrs==21.2.0
# via pytest
babel==2.9.1
# via sphinx
certifi==2020.12.5
backports.entry-points-selectable==1.1.0
# via virtualenv
certifi==2021.5.30
# via requests
cfgv==3.3.0
cfgv==3.3.1
# via pre-commit
chardet==4.0.0
charset-normalizer==2.0.6
# via requests
click==8.0.1
# via pip-tools
distlib==0.3.1
distlib==0.3.3
# via virtualenv
docutils==0.17.1
# via sphinx
filelock==3.0.12
filelock==3.3.0
# via
# tox
# virtualenv
identify==2.2.4
identify==2.3.0
# via pre-commit
idna==2.10
idna==3.2
# via requests
imagesize==1.2.0
# via sphinx
Expand All @@ -42,43 +42,45 @@ markupsafe==2.0.1
# via jinja2
mypy-extensions==0.4.3
# via mypy
mypy==0.812
mypy==0.910
# via -r requirements/typing.in
nodeenv==1.6.0
# via pre-commit
packaging==20.9
packaging==21.0
# via
# pallets-sphinx-themes
# pytest
# sphinx
# tox
pallets-sphinx-themes==2.0.1
# via -r requirements/docs.in
pep517==0.10.0
pep517==0.11.0
# via pip-tools
pip-tools==6.1.0
pip-tools==6.3.0
# via -r requirements/dev.in
pluggy==0.13.1
platformdirs==2.4.0
# via virtualenv
pluggy==1.0.0
# via
# pytest
# tox
pre-commit==2.12.1
pre-commit==2.15.0
# via -r requirements/dev.in
py==1.10.0
# via
# pytest
# tox
pygments==2.9.0
pygments==2.10.0
# via sphinx
pyparsing==2.4.7
# via packaging
pytest==6.2.4
pytest==6.2.5
# via -r requirements/tests.in
pytz==2021.1
pytz==2021.3
# via babel
pyyaml==5.4.1
# via pre-commit
requests==2.25.1
requests==2.26.0
# via sphinx
six==1.16.0
# via
Expand All @@ -88,7 +90,7 @@ snowballstemmer==2.1.0
# via sphinx
sphinx-issues==1.2.0
# via -r requirements/docs.in
sphinx==4.0.2
sphinx==4.2.0
# via
# -r requirements/docs.in
# pallets-sphinx-themes
Expand All @@ -98,34 +100,36 @@ sphinxcontrib-applehelp==1.0.2
# via sphinx
sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-htmlhelp==2.0.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
toml==0.10.2
# via
# pep517
# mypy
# pre-commit
# pytest
# tox
tox==3.23.1
tomli==1.2.1
# via pep517
tox==3.24.4
# via -r requirements/dev.in
typed-ast==1.4.3
typing-extensions==3.10.0.2
# via mypy
typing-extensions==3.10.0.0
# via mypy
urllib3==1.26.4
urllib3==1.26.7
# via requests
virtualenv==20.4.6
virtualenv==20.8.1
# via
# pre-commit
# tox
wheel==0.37.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
22 changes: 11 additions & 11 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,39 @@ alabaster==0.7.12
# via sphinx
babel==2.9.1
# via sphinx
certifi==2020.12.5
certifi==2021.5.30
# via requests
chardet==4.0.0
charset-normalizer==2.0.6
# via requests
docutils==0.17.1
# via sphinx
idna==2.10
idna==3.2
# via requests
imagesize==1.2.0
# via sphinx
jinja2==3.0.1
# via sphinx
markupsafe==2.0.1
# via jinja2
packaging==20.9
packaging==21.0
# via
# pallets-sphinx-themes
# sphinx
pallets-sphinx-themes==2.0.1
# via -r requirements/docs.in
pygments==2.9.0
pygments==2.10.0
# via sphinx
pyparsing==2.4.7
# via packaging
pytz==2021.1
pytz==2021.3
# via babel
requests==2.25.1
requests==2.26.0
# via sphinx
snowballstemmer==2.1.0
# via sphinx
sphinx-issues==1.2.0
# via -r requirements/docs.in
sphinx==4.0.2
sphinx==4.2.0
# via
# -r requirements/docs.in
# pallets-sphinx-themes
Expand All @@ -50,17 +50,17 @@ sphinxcontrib-applehelp==1.0.2
# via sphinx
sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-htmlhelp==2.0.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-log-cabinet==1.0.1
# via -r requirements/docs.in
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.4
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==1.26.4
urllib3==1.26.7
# via requests

# The following packages are considered to be unsafe in a requirements file:
Expand Down
6 changes: 3 additions & 3 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ attrs==21.2.0
# via pytest
iniconfig==1.1.1
# via pytest
packaging==20.9
packaging==21.0
# via pytest
pluggy==0.13.1
pluggy==1.0.0
# via pytest
py==1.10.0
# via pytest
pyparsing==2.4.7
# via packaging
pytest==6.2.4
pytest==6.2.5
# via -r requirements/tests.in
toml==0.10.2
# via pytest
6 changes: 3 additions & 3 deletions requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#
mypy-extensions==0.4.3
# via mypy
mypy==0.812
mypy==0.910
# via -r requirements/typing.in
typed-ast==1.4.3
toml==0.10.2
# via mypy
typing-extensions==3.10.0.0
typing-extensions==3.10.0.2
# via mypy
2 changes: 1 addition & 1 deletion src/jinja2/bccache.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_cache_key(
hash = sha1(name.encode("utf-8"))

if filename is not None:
hash.update(f"|{filename}".encode("utf-8"))
hash.update(f"|{filename}".encode())

return hash.hexdigest()

Expand Down

0 comments on commit fb9cac6

Please sign in to comment.