Skip to content

Commit

Permalink
Upgrade dependencies and pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Dec 19, 2023
1 parent f78660b commit a02d5e1
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 50 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
- id: pip-compile-multi-verify
files: ^requirements/.*\.(in|txt)$
- repo: https://github.com/pypa/pip-audit
rev: v2.6.1
rev: v2.6.2
hooks:
- id: pip-audit
args: [
Expand All @@ -51,7 +51,7 @@ repos:
- id: pyupgrade
args: ['--keep-runtime-typing', '--py311-plus']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
rev: v0.1.8
hooks:
- id: ruff
args: ['--fix', '--exit-non-zero-on-fix']
Expand Down Expand Up @@ -91,13 +91,13 @@ repos:
- toml
- tomli
- repo: https://github.com/PyCQA/isort
rev: 5.13.0
rev: 5.13.2
hooks:
- id: isort
additional_dependencies:
- tomli
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.0
hooks:
- id: black
# Mypy is temporarily disabled until the SQLAlchemy 2.0 migration is complete
Expand Down Expand Up @@ -126,7 +126,7 @@ repos:
- id: flake8
additional_dependencies: *flake8deps
- repo: https://github.com/PyCQA/pylint
rev: v3.0.1
rev: v3.0.3
hooks:
- id: pylint
args: [
Expand Down
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mdit-py-plugins
oauth2client
passlib
phonenumbers
playwright # Relocated from test.in because of greenlet version pin
premailer
progressbar2
psycopg[binary]
Expand Down
48 changes: 26 additions & 22 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:283bfde436a7e26a2db6733e1859751510b75cc9
# SHA1:61d921a696418138a9c8fbf50898b94a0a942f13
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand All @@ -21,13 +21,13 @@ aiohttp-retry==2.8.3
# via twilio
aiosignal==1.3.1
# via aiohttp
alembic==1.12.1
alembic==1.13.0
# via
# -r requirements/base.in
# flask-migrate
aniso8601==9.0.1
# via coaster
anyio==4.1.0
anyio==4.2.0
# via httpx
argon2-cffi==23.1.0
# via -r requirements/base.in
Expand All @@ -37,15 +37,15 @@ arrow==1.3.0
# via rq-dashboard
attrs==23.1.0
# via aiohttp
babel==2.13.1
babel==2.14.0
# via
# -r requirements/base.in
# flask-babel
base58==2.1.1
# via
# -r requirements/base.in
# coaster
bcrypt==4.1.1
bcrypt==4.1.2
# via -r requirements/base.in
better-profanity==0.6.1
# via -r requirements/base.in
Expand Down Expand Up @@ -101,7 +101,7 @@ dnspython==2.4.2
# baseframe
# mxsniff
# pyisemail
emoji==2.8.0
emoji==2.9.0
# via baseframe
filelock==3.13.1
# via tldextract
Expand Down Expand Up @@ -155,9 +155,9 @@ flask-wtf==1.2.1
# via
# -r requirements/base.in
# baseframe
freezegun==1.2.2
freezegun==1.3.1
# via rq-scheduler
frozenlist==1.4.0
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
Expand All @@ -166,16 +166,16 @@ furl==2.1.3
# -r requirements/base.in
# baseframe
# coaster
future==0.18.3
# via tuspy
geoip2==4.7.0
geoip2==4.8.0
# via -r requirements/base.in
grapheme==0.6.0
# via
# -r requirements/base.in
# baseframe
greenlet==3.0.1
# via sqlalchemy
# via
# playwright
# sqlalchemy
gunicorn==21.2.0
# via -r requirements/base.in
h11==0.14.0
Expand Down Expand Up @@ -284,13 +284,15 @@ passlib==1.7.4
# via -r requirements/base.in
phonenumbers==8.13.26
# via -r requirements/base.in
playwright==1.40.0
# via -r requirements/base.in
premailer==3.10.0
# via -r requirements/base.in
progressbar2==4.2.0
progressbar2==4.3.2
# via -r requirements/base.in
psycopg[binary]==3.1.13
psycopg[binary]==3.1.15
# via -r requirements/base.in
psycopg-binary==3.1.13
psycopg-binary==3.1.15
# via psycopg
pyasn1==0.5.1
# via
Expand All @@ -299,12 +301,14 @@ pyasn1==0.5.1
# rsa
pyasn1-modules==0.3.0
# via oauth2client
pycountry==22.3.5
pycountry==23.12.11
# via
# -r requirements/base.in
# baseframe
pycparser==2.21
# via cffi
pyee==11.0.1
# via playwright
pygments==2.17.2
# via rich
pyisemail==2.0.1
Expand Down Expand Up @@ -399,7 +403,7 @@ semantic-version==2.10.0
# via
# baseframe
# coaster
sentry-sdk==1.38.0
sentry-sdk==1.39.1
# via baseframe
six==1.16.0
# via
Expand All @@ -412,7 +416,6 @@ six==1.16.0
# orderedmultidict
# python-dateutil
# requests-file
# tuspy
sniffio==1.3.0
# via
# anyio
Expand Down Expand Up @@ -442,21 +445,22 @@ tldextract==5.1.1
# mxsniff
tqdm==4.66.1
# via nltk
tuspy==1.0.1
tuspy==1.0.3
# via pyvimeo
tweepy==4.14.0
# via -r requirements/base.in
twilio==8.10.2
twilio==8.11.0
# via -r requirements/base.in
types-python-dateutil==2.8.19.14
# via arrow
typing-extensions==4.8.0
typing-extensions==4.9.0
# via
# -r requirements/base.in
# alembic
# baseframe
# coaster
# psycopg
# pyee
# python-utils
# qrcode
# sqlalchemy
Expand Down Expand Up @@ -501,7 +505,7 @@ wtforms-sqlalchemy @ git+https://github.com/jace/wtforms-sqlalchemy
# via
# -r requirements/base.in
# baseframe
yarl==1.9.3
yarl==1.9.4
# via aiohttp
z-base-32==0.1.3
# via -r requirements/base.in
Expand Down
26 changes: 13 additions & 13 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# via
# -r requirements/base.in
# baseframe
astroid==3.0.1
astroid==3.0.2
# via pylint
bandit==1.7.5
bandit==1.7.6
# via -r requirements/dev.in
black==23.11.0
black==23.12.0
# via -r requirements/dev.in
build==1.0.3
# via pip-tools
Expand All @@ -28,7 +28,7 @@ cssbeautifier==1.14.11
# via djlint
dill==0.3.7
# via pylint
distlib==0.3.7
distlib==0.3.8
# via virtualenv
djlint==1.34.0
# via -r requirements/dev.in
Expand All @@ -55,7 +55,7 @@ flake8-assertive==2.1.0
# via -r requirements/dev.in
flake8-blind-except==0.2.1
# via -r requirements/dev.in
flake8-bugbear==23.11.28
flake8-bugbear==23.12.2
# via -r requirements/dev.in
flake8-builtins==2.2.0
# via -r requirements/dev.in
Expand All @@ -75,7 +75,7 @@ flake8-print==5.0.0
# via -r requirements/dev.in
flake8-pytest-style==1.7.2
# via -r requirements/dev.in
flask-debugtoolbar==0.13.1
flask-debugtoolbar==0.14.1
# via -r requirements/dev.in
gherkin-official==24.0.0
# via reformat-gherkin
Expand All @@ -87,9 +87,9 @@ html-tag-names==0.1.2
# via djlint
html-void-elements==0.1.0
# via djlint
identify==2.5.32
identify==2.5.33
# via pre-commit
isort==5.12.0
isort==5.13.2
# via
# -r requirements/dev.in
# flake8-isort
Expand Down Expand Up @@ -124,14 +124,14 @@ pip-compile-multi==2.6.3
# via -r requirements/dev.in
pip-tools==7.3.0
# via pip-compile-multi
platformdirs==4.0.0
platformdirs==4.1.0
# via
# black
# pylint
# virtualenv
po2json==0.2.2
# via -r requirements/dev.in
pre-commit==3.5.0
pre-commit==3.6.0
# via -r requirements/dev.in
pycodestyle==2.11.1
# via
Expand All @@ -141,15 +141,15 @@ pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.1.0
# via flake8
pylint==3.0.2
pylint==3.0.3
# via -r requirements/dev.in
pyproject-hooks==1.0.0
# via build
pyupgrade==3.15.0
# via -r requirements/dev.in
reformat-gherkin==3.0.1
# via -r requirements/dev.in
ruff==0.1.6
ruff==0.1.8
# via -r requirements/dev.in
smmap==5.0.1
# via gitdb
Expand Down Expand Up @@ -179,7 +179,7 @@ types-redis==4.6.0.11
# via -r requirements/dev.in
types-requests==2.31.0.10
# via -r requirements/dev.in
virtualenv==20.24.7
virtualenv==20.25.0
# via pre-commit
wcwidth==0.2.12
# via reformat-gherkin
Expand Down
1 change: 0 additions & 1 deletion requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ colorama
coverage
coveralls
lxml
playwright
Pygments
pytest
pytest-asyncio
Expand Down
12 changes: 3 additions & 9 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:3a02b3918f5d7af80710e10c5fff973974b064aa
# SHA1:1e77cd95c84f71006a8b56e292c4046a43da0859
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -33,14 +33,8 @@ parse==1.20.0
# pytest-bdd
parse-type==0.6.2
# via pytest-bdd
playwright==1.40.0
# via
# -r requirements/test.in
# pytest-playwright
pluggy==1.3.0
# via pytest
pyee==11.0.1
# via playwright
pytest==7.4.3
# via
# -r requirements/test.in
Expand All @@ -53,11 +47,11 @@ pytest==7.4.3
# pytest-playwright
# pytest-rerunfailures
# pytest-socket
pytest-asyncio==0.21.1
pytest-asyncio==0.23.2
# via -r requirements/test.in
pytest-base-url==2.0.0
# via pytest-playwright
pytest-bdd==7.0.0
pytest-bdd==7.0.1
# via -r requirements/test.in
pytest-cov==4.1.0
# via -r requirements/test.in
Expand Down

0 comments on commit a02d5e1

Please sign in to comment.