Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jan 7, 2024
1 parent eb891fa commit 7d98aee
Show file tree
Hide file tree
Showing 6 changed files with 744 additions and 734 deletions.
1,408 changes: 711 additions & 697 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pycountry
pyIsEmail
python-dateutil
python-dotenv
python-telegram-bot
python-telegram-bot>=20.7
pytz
PyVimeo
qrcode
Expand All @@ -64,6 +64,6 @@ urllib3[socks] # Not direct dep; pip-audit complains of dupe urllib[socks] in t
user-agents
werkzeug
whitenoise
wtforms-sqlalchemy @ git+https://github.com/jace/wtforms-sqlalchemy # See /pull/1
wtforms-sqlalchemy
z-base-32
zxcvbn
30 changes: 15 additions & 15 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:61d921a696418138a9c8fbf50898b94a0a942f13
# SHA1:af16bb123ee5c105566f3a83ba6f330975c48d6f
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand All @@ -21,7 +21,7 @@ aiohttp-retry==2.8.3
# via twilio
aiosignal==1.3.1
# via aiohttp
alembic==1.13.0
alembic==1.13.1
# via
# -r requirements/base.in
# flask-migrate
Expand All @@ -35,7 +35,7 @@ argon2-cffi-bindings==21.2.0
# via argon2-cffi
arrow==1.3.0
# via rq-dashboard
attrs==23.1.0
attrs==23.2.0
# via aiohttp
babel==2.14.0
# via
Expand Down Expand Up @@ -155,7 +155,7 @@ flask-wtf==1.2.1
# via
# -r requirements/base.in
# baseframe
freezegun==1.3.1
freezegun==1.4.0
# via rq-scheduler
frozenlist==1.4.1
# via
Expand Down Expand Up @@ -228,7 +228,7 @@ joblib==1.3.2
# via nltk
linkify-it-py==2.0.2
# via -r requirements/base.in
lxml==4.9.3
lxml==5.0.1
# via premailer
mako==1.3.0
# via alembic
Expand Down Expand Up @@ -282,17 +282,17 @@ packaging==23.2
# marshmallow
passlib==1.7.4
# via -r requirements/base.in
phonenumbers==8.13.26
phonenumbers==8.13.27
# 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.3.2
# via -r requirements/base.in
psycopg[binary]==3.1.15
psycopg[binary]==3.1.17
# via -r requirements/base.in
psycopg-binary==3.1.15
psycopg-binary==3.1.17
# via psycopg
pyasn1==0.5.1
# via
Expand All @@ -318,7 +318,7 @@ pyisemail==2.0.1
# mxsniff
pyjwt==2.8.0
# via twilio
pymdown-extensions==10.5
pymdown-extensions==10.7
# via coaster
pyparsing==3.1.1
# via httplib2
Expand Down Expand Up @@ -365,7 +365,7 @@ redis==5.0.1
# rq-dashboard
redis-sentinel-url==1.0.1
# via rq-dashboard
regex==2023.10.3
regex==2023.12.25
# via nltk
requests==2.31.0
# via
Expand Down Expand Up @@ -420,7 +420,7 @@ sniffio==1.3.0
# via
# anyio
# httpx
sqlalchemy[asyncio]==2.0.23
sqlalchemy[asyncio]==2.0.25
# via
# -r requirements/base.in
# alembic
Expand Down Expand Up @@ -451,7 +451,7 @@ tweepy==4.14.0
# via -r requirements/base.in
twilio==8.11.0
# via -r requirements/base.in
types-python-dateutil==2.8.19.14
types-python-dateutil==2.8.19.20240106
# via arrow
typing-extensions==4.9.0
# via
Expand All @@ -467,7 +467,7 @@ typing-extensions==4.9.0
# typing-inspect
typing-inspect==0.9.0
# via dataclasses-json
tzdata==2023.3
tzdata==2023.4
# via -r requirements/base.in
ua-parser==0.18.0
# via user-agents
Expand Down Expand Up @@ -496,12 +496,12 @@ werkzeug==3.0.1
# flask
whitenoise==6.6.0
# via -r requirements/base.in
wtforms==3.1.1
wtforms==3.1.2
# via
# baseframe
# flask-wtf
# wtforms-sqlalchemy
wtforms-sqlalchemy @ git+https://github.com/jace/wtforms-sqlalchemy
wtforms-sqlalchemy==0.4.1
# via
# -r requirements/base.in
# baseframe
Expand Down
28 changes: 14 additions & 14 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ astroid==3.0.2
# via pylint
bandit==1.7.6
# via -r requirements/dev.in
black==23.12.0
black==23.12.1
# via -r requirements/dev.in
build==1.0.3
# via pip-tools
Expand All @@ -32,13 +32,13 @@ dill==0.3.7
# via pylint
distlib==0.3.8
# via virtualenv
djlint==1.34.0
djlint==1.34.1
# via -r requirements/dev.in
editorconfig==0.12.3
# via
# cssbeautifier
# jsbeautifier
flake8==6.1.0
flake8==7.0.0
# via
# -r requirements/dev.in
# flake8-annotations
Expand Down Expand Up @@ -108,13 +108,13 @@ mccabe==0.7.0
# via
# flake8
# pylint
mypy==1.7.1
mypy==1.8.0
# via -r requirements/dev.in
mypy-json-report==1.0.4
mypy-json-report==1.1.0
# via -r requirements/dev.in
nodeenv==1.8.0
# via pre-commit
pathspec==0.11.2
pathspec==0.12.1
# via
# black
# djlint
Expand All @@ -141,7 +141,7 @@ pycodestyle==2.11.1
# flake8-print
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.1.0
pyflakes==3.2.0
# via flake8
pylint==3.0.3
# via -r requirements/dev.in
Expand All @@ -151,7 +151,7 @@ pyupgrade==3.15.0
# via -r requirements/dev.in
reformat-gherkin==3.0.1
# via -r requirements/dev.in
ruff==0.1.8
ruff==0.1.11
# via -r requirements/dev.in
smmap==5.0.1
# via gitdb
Expand All @@ -163,27 +163,27 @@ tokenize-rt==5.2.0
# via pyupgrade
toposort==1.10
# via pip-compile-multi
types-chevron==0.14.2.5
types-chevron==0.14.2.20240106
# via -r requirements/dev.in
types-geoip2==3.0.0
# via -r requirements/dev.in
types-ipaddress==1.0.8
# via types-maxminddb
types-maxminddb==1.5.0
# via types-geoip2
types-mock==5.1.0.3
types-mock==5.1.0.20240106
# via -r requirements/dev.in
types-pyopenssl==23.3.0.0
types-pyopenssl==23.3.0.20240106
# via types-redis
types-pytz==2023.3.1.1
# via -r requirements/dev.in
types-redis==4.6.0.11
types-redis==4.6.0.20240106
# via -r requirements/dev.in
types-requests==2.31.0.10
types-requests==2.31.0.20240106
# via -r requirements/dev.in
virtualenv==20.25.0
# via pre-commit
wcwidth==0.2.12
wcwidth==0.2.13
# via reformat-gherkin
wheel==0.42.0
# via pip-tools
Expand Down
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ parse-type==0.6.2
# via pytest-bdd
pluggy==1.3.0
# via pytest
pytest==7.4.3
pytest==7.4.4
# via
# -r requirements/test.in
# pytest-asyncio
Expand All @@ -45,7 +45,7 @@ pytest==7.4.3
# pytest-playwright
# pytest-rerunfailures
# pytest-socket
pytest-asyncio==0.23.2
pytest-asyncio==0.23.3
# via -r requirements/test.in
pytest-base-url==2.0.0
# via pytest-playwright
Expand Down
4 changes: 0 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ def metarefresh(self) -> MetaRefreshContent | None:
@pytest.fixture(scope='session')
def rich_console() -> Console:
"""Provide a rich console for colour output."""

return Console(highlight=False)


Expand All @@ -335,7 +334,6 @@ def __call__(self, skip: int = 0, limit: int | None = None) -> None:
@pytest.fixture(scope='session')
def print_stack(pytestconfig, rich_console: Console) -> PrintStackProtocol:
"""Print a stack trace up to an outbound call from within this repository."""

boundary_path = str(pytestconfig.rootpath)
if not boundary_path.endswith('/'):
boundary_path += '/'
Expand Down Expand Up @@ -1082,7 +1080,6 @@ def db_session(request) -> DatabaseSessionClass | scoped_session:
@pytest.fixture()
def client(response_with_forms, app, db_session) -> FlaskClient:
"""Provide a test client that commits the db session before any action."""

client: FlaskClient = FlaskClient(app, response_with_forms, use_cookies=True)
client_open = client.open

Expand All @@ -1097,7 +1094,6 @@ def commit_before_open(*args, **kwargs):
@pytest.fixture(scope='session')
def live_server(funnel_devtest, app, database):
"""Run application in a separate process."""

# Use HTTPS for live server (set to False if required)
use_https = True
scheme = 'https' if use_https else 'http'
Expand Down

0 comments on commit 7d98aee

Please sign in to comment.