From a02d5e1cba52f23b51934d47b5049895dfcdcc96 Mon Sep 17 00:00:00 2001 From: Kiran Jonnalagadda Date: Tue, 19 Dec 2023 09:42:02 +0530 Subject: [PATCH] Upgrade dependencies and pre-commit hooks --- .pre-commit-config.yaml | 10 ++++----- requirements/base.in | 1 + requirements/base.txt | 48 ++++++++++++++++++++++------------------- requirements/dev.txt | 26 +++++++++++----------- requirements/test.in | 1 - requirements/test.txt | 12 +++-------- 6 files changed, 48 insertions(+), 50 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a3d5406d..003f1f204 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: [ @@ -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'] @@ -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 @@ -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: [ diff --git a/requirements/base.in b/requirements/base.in index 36e6ab69c..8c78879a4 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -37,6 +37,7 @@ mdit-py-plugins oauth2client passlib phonenumbers +playwright # Relocated from test.in because of greenlet version pin premailer progressbar2 psycopg[binary] diff --git a/requirements/base.txt b/requirements/base.txt index 2dc3e2824..b3dedcadc 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,4 +1,4 @@ -# SHA1:283bfde436a7e26a2db6733e1859751510b75cc9 +# SHA1:61d921a696418138a9c8fbf50898b94a0a942f13 # # This file is autogenerated by pip-compile-multi # To update, run: @@ -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 @@ -37,7 +37,7 @@ 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 @@ -45,7 +45,7 @@ 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -412,7 +416,6 @@ six==1.16.0 # orderedmultidict # python-dateutil # requests-file - # tuspy sniffio==1.3.0 # via # anyio @@ -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 @@ -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 diff --git a/requirements/dev.txt b/requirements/dev.txt index 5e53af31a..ccb172374 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -141,7 +141,7 @@ 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 @@ -149,7 +149,7 @@ 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 @@ -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 diff --git a/requirements/test.in b/requirements/test.in index a60192222..2e53a1c45 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -4,7 +4,6 @@ colorama coverage coveralls lxml -playwright Pygments pytest pytest-asyncio diff --git a/requirements/test.txt b/requirements/test.txt index 98a7e2115..5cd5ba219 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,4 +1,4 @@ -# SHA1:3a02b3918f5d7af80710e10c5fff973974b064aa +# SHA1:1e77cd95c84f71006a8b56e292c4046a43da0859 # # This file is autogenerated by pip-compile-multi # To update, run: @@ -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 @@ -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