From 16368c1c9dd992f6c1e72acb9edb60b333792c20 Mon Sep 17 00:00:00 2001 From: nboyse Date: Mon, 18 Sep 2023 17:01:25 +0100 Subject: [PATCH 1/3] feat: integrate pip compile --- requirements-dev-jupyter.in | 4 + requirements-dev-jupyter.txt | 932 ++++++++++++++++++++++++++++++++++- requirements-dev.in | 4 + requirements-dev.txt | 651 +++++++++++++++++++++++- requirements.in | 78 +++ requirements.txt | 441 ++++++++++++++++- 6 files changed, 2087 insertions(+), 23 deletions(-) create mode 100644 requirements-dev-jupyter.in create mode 100644 requirements-dev.in create mode 100644 requirements.in diff --git a/requirements-dev-jupyter.in b/requirements-dev-jupyter.in new file mode 100644 index 000000000..ae66a1fbc --- /dev/null +++ b/requirements-dev-jupyter.in @@ -0,0 +1,4 @@ +-r requirements-dev.txt + +ipython +jupyter diff --git a/requirements-dev-jupyter.txt b/requirements-dev-jupyter.txt index ae66a1fbc..e203ae449 100644 --- a/requirements-dev-jupyter.txt +++ b/requirements-dev-jupyter.txt @@ -1,4 +1,930 @@ --r requirements-dev.txt +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile requirements-dev-jupyter.in +# +aiohttp==3.8.5 + # via + # -r requirements-dev.txt + # aioresponses +aioresponses==0.7.4 + # via -r requirements-dev.txt +aiosignal==1.3.1 + # via + # -r requirements-dev.txt + # aiohttp +alabaster==0.7.13 + # via + # -r requirements-dev.txt + # sphinx +allure-pytest-bdd==2.8.40 + # via -r requirements-dev.txt +allure-python-commons==2.8.40 + # via + # -r requirements-dev.txt + # allure-pytest-bdd +amqp==5.1.1 + # via + # -r requirements-dev.txt + # kombu +anyio==4.0.0 + # via jupyter-server +api-client==1.3.0 + # via -r requirements-dev.txt +appnope==0.1.3 + # via + # ipykernel + # ipython +apsw==3.43.0.0 + # via + # -r requirements-dev.txt + # sqlite-s3vfs +argon2-cffi==23.1.0 + # via jupyter-server +argon2-cffi-bindings==21.2.0 + # via argon2-cffi +arrow==1.2.3 + # via isoduration +asgiref==3.7.2 + # via + # -r requirements-dev.txt + # django +asttokens==2.4.0 + # via stack-data +async-lru==2.0.4 + # via jupyterlab +async-timeout==4.0.3 + # via + # -r requirements-dev.txt + # aiohttp +attrs==23.1.0 + # via + # -r requirements-dev.txt + # aiohttp + # allure-python-commons + # jsonschema + # pytest + # referencing +babel==2.12.1 + # via + # -r requirements-dev.txt + # jupyterlab-server + # sphinx +backcall==0.2.0 + # via ipython +beautifulsoup4==4.10.0 + # via + # -r requirements-dev.txt + # nbconvert +behave==1.2.6 + # via + # -r requirements-dev.txt + # sphinx-gherkindoc +better-exceptions==0.3.3 + # via -r requirements-dev.txt +billiard==4.1.0 + # via + # -r requirements-dev.txt + # celery +black==23.3.0 + # via -r requirements-dev.txt +bleach==6.0.0 + # via nbconvert +boto3==1.18.51 + # via + # -r requirements-dev.txt + # django-chunk-upload-handlers + # moto + # sqlite-s3vfs +botocore==1.21.65 + # via + # -r requirements-dev.txt + # boto3 + # moto + # s3transfer +celery[redis]==5.3.4 + # via + # -r requirements-dev.txt + # flower + # pytest-celery +certifi==2023.7.22 + # via + # -r requirements-dev.txt + # elastic-apm + # requests + # sentry-sdk +cffi==1.15.1 + # via + # -r requirements-dev.txt + # argon2-cffi-bindings + # cryptography +cfgv==3.4.0 + # via + # -r requirements-dev.txt + # pre-commit +charset-normalizer==3.2.0 + # via + # -r requirements-dev.txt + # aiohttp + # requests +click==8.1.7 + # via + # -r requirements-dev.txt + # black + # celery + # click-didyoumean + # click-plugins + # click-repl +click-didyoumean==0.3.0 + # via + # -r requirements-dev.txt + # celery +click-plugins==1.1.1 + # via + # -r requirements-dev.txt + # celery +click-repl==0.3.0 + # via + # -r requirements-dev.txt + # celery +comm==0.1.4 + # via + # ipykernel + # ipywidgets +commonmark==0.9.1 + # via + # -r requirements-dev.txt + # recommonmark +coverage[toml]==5.4 + # via + # -r requirements-dev.txt + # pytest-cov +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e + # via -r requirements-dev.txt +cryptography==41.0.3 + # via + # -r requirements-dev.txt + # moto +debugpy==1.8.0 + # via ipykernel +decorator==5.1.1 + # via ipython +defusedxml==0.7.1 + # via + # -r requirements-dev.txt + # nbconvert +distlib==0.3.7 + # via + # -r requirements-dev.txt + # virtualenv +dj-database-url==0.5.0 + # via -r requirements-dev.txt +django==3.2.20 + # via + # -r requirements-dev.txt + # crispy-forms-gds + # django-chunk-upload-handlers + # django-csp + # django-debug-toolbar + # django-filter + # django-formtools + # django-health-check + # django-polymorphic + # django-redis + # django-rest-polymorphic + # django-sequences + # django-staff-sso-client + # django-storages + # djangorestframework + # drf-extra-fields +django-chunk-upload-handlers==0.0.13 + # via -r requirements-dev.txt +django-crispy-forms==1.12.0 + # via + # -r requirements-dev.txt + # crispy-forms-gds +django-csp==3.6 + # via -r requirements-dev.txt +django-cte==1.1.5 + # via -r requirements-dev.txt +django-debug-toolbar==4.2.0 + # via -r requirements-dev.txt +django-dotenv==1.4.2 + # via -r requirements-dev.txt +django-extensions==3.1.1 + # via -r requirements-dev.txt +django-fakeredis==0.1.2 + # via -r requirements-dev.txt +django-filter==2.4.0 + # via -r requirements-dev.txt +django-formtools==2.3 + # via -r requirements-dev.txt +django-fsm==2.7.1 + # via -r requirements-dev.txt +django-health-check==3.16.2 + # via -r requirements-dev.txt +django-polymorphic==3.0.0 + # via + # -r requirements-dev.txt + # django-rest-polymorphic +django-redis==4.12.1 + # via + # -r requirements-dev.txt + # django-fakeredis +django-rest-polymorphic==0.1.9 + # via -r requirements-dev.txt +django-sequences==2.6 + # via -r requirements-dev.txt +django-staff-sso-client==3.1.1 + # via -r requirements-dev.txt +django-storages==1.11.1 + # via + # -r requirements-dev.txt + # django-chunk-upload-handlers +django-test-migrations==1.2.0 + # via -r requirements-dev.txt +django-webpack-loader==1.0.0 + # via -r requirements-dev.txt +djangorestframework==3.12.2 + # via + # -r requirements-dev.txt + # django-rest-polymorphic + # drf-extra-fields +docopt==0.6.2 + # via + # -r requirements-dev.txt + # notifications-python-client +docutils==0.17.1 + # via + # -r requirements-dev.txt + # recommonmark + # sphinx + # sphinx-rtd-theme +drf-extra-fields==3.0.2 + # via -r requirements-dev.txt +drf-flex-fields==0.8.9 + # via -r requirements-dev.txt +elastic-apm==6.7.2 + # via -r requirements-dev.txt +et-xmlfile==1.1.0 + # via + # -r requirements-dev.txt + # openpyxl +execnet==2.0.2 + # via + # -r requirements-dev.txt + # pytest-xdist +executing==1.2.0 + # via stack-data +factory-boy==3.2.0 + # via -r requirements-dev.txt +faker==19.6.1 + # via + # -r requirements-dev.txt + # factory-boy +fakeredis==2.18.1 + # via + # -r requirements-dev.txt + # django-fakeredis +fastjsonschema==2.18.0 + # via nbformat +filelock==3.12.4 + # via + # -r requirements-dev.txt + # virtualenv +flower==1.2.0 + # via -r requirements-dev.txt +fqdn==1.5.1 + # via jsonschema +freezegun==1.1.0 + # via -r requirements-dev.txt +frozenlist==1.4.0 + # via + # -r requirements-dev.txt + # aiohttp + # aiosignal +gevent==21.12.0 + # via -r requirements-dev.txt +glob2==0.7 + # via + # -r requirements-dev.txt + # pytest-bdd +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements-dev.txt +govuk-tech-docs-sphinx-theme==1.0.0 + # via -r requirements-dev.txt +greenlet==1.1.3.post0 + # via + # -r requirements-dev.txt + # gevent +gunicorn==20.1.0 + # via -r requirements-dev.txt +humanize==4.8.0 + # via + # -r requirements-dev.txt + # flower +identify==2.5.29 + # via + # -r requirements-dev.txt + # pre-commit +idna==3.4 + # via + # -r requirements-dev.txt + # anyio + # jsonschema + # requests + # yarl +imagesize==1.4.1 + # via + # -r requirements-dev.txt + # sphinx +iniconfig==2.0.0 + # via + # -r requirements-dev.txt + # pytest +ipykernel==6.25.2 + # via + # jupyter + # jupyter-console + # jupyterlab + # qtconsole +ipython==8.15.0 + # via + # -r requirements-dev-jupyter.in + # ipykernel + # ipywidgets + # jupyter-console +ipython-genutils==0.2.0 + # via qtconsole +ipywidgets==8.1.1 + # via jupyter +isoduration==20.11.0 + # via jsonschema +jedi==0.19.0 + # via ipython +jinja2==3.1.2 + # via + # -r requirements-dev.txt + # govuk-frontend-jinja + # jupyter-server + # jupyterlab + # jupyterlab-server + # moto + # nbconvert + # sphinx +jmespath==0.10.0 + # via + # -r requirements-dev.txt + # boto3 + # botocore +json5==0.9.14 + # via jupyterlab-server +jsonpointer==2.4 + # via jsonschema +jsonschema[format-nongpl]==4.19.0 + # via + # jupyter-events + # jupyterlab-server + # nbformat +jsonschema-specifications==2023.7.1 + # via jsonschema +jupyter==1.0.0 + # via -r requirements-dev-jupyter.in +jupyter-client==8.3.1 + # via + # ipykernel + # jupyter-console + # jupyter-server + # nbclient + # qtconsole +jupyter-console==6.6.3 + # via jupyter +jupyter-core==5.3.1 + # via + # ipykernel + # jupyter-client + # jupyter-console + # jupyter-server + # jupyterlab + # nbclient + # nbconvert + # nbformat + # qtconsole +jupyter-events==0.7.0 + # via jupyter-server +jupyter-lsp==2.2.0 + # via jupyterlab +jupyter-server==2.7.3 + # via + # jupyter-lsp + # jupyterlab + # jupyterlab-server + # notebook + # notebook-shim +jupyter-server-terminals==0.4.4 + # via jupyter-server +jupyterlab==4.0.6 + # via notebook +jupyterlab-pygments==0.2.2 + # via nbconvert +jupyterlab-server==2.25.0 + # via + # jupyterlab + # notebook +jupyterlab-widgets==3.0.9 + # via ipywidgets +kombu==5.3.2 + # via + # -r requirements-dev.txt + # celery +lxml==4.9.1 + # via + # -r requirements-dev.txt + # xmldiff +mako==1.2.4 + # via + # -r requirements-dev.txt + # pytest-bdd +markupsafe==2.1.2 + # via + # -r requirements-dev.txt + # jinja2 + # mako + # moto + # nbconvert + # werkzeug +matplotlib-inline==0.1.6 + # via + # ipykernel + # ipython +mistune==3.0.1 + # via nbconvert +more-itertools==10.1.0 + # via + # -r requirements-dev.txt + # moto +moto==2.1.0 + # via -r requirements-dev.txt +multidict==6.0.4 + # via + # -r requirements-dev.txt + # aiohttp + # yarl +mypy-extensions==1.0.0 + # via + # -r requirements-dev.txt + # black +nbclient==0.8.0 + # via nbconvert +nbconvert==7.8.0 + # via + # jupyter + # jupyter-server +nbformat==5.9.2 + # via + # jupyter-server + # nbclient + # nbconvert +nest-asyncio==1.5.8 + # via ipykernel +nodeenv==1.8.0 + # via + # -r requirements-dev.txt + # pre-commit +notebook==7.0.3 + # via jupyter +notebook-shim==0.2.3 + # via + # jupyterlab + # notebook +notifications-python-client==6.4.1 + # via -r requirements-dev.txt +oauthlib==3.2.2 + # via + # -r requirements-dev.txt + # requests-oauthlib +openpyxl==3.0.7 + # via -r requirements-dev.txt +overrides==7.4.0 + # via jupyter-server +packaging==23.1 + # via + # -r requirements-dev.txt + # black + # ipykernel + # jupyter-server + # jupyterlab + # jupyterlab-server + # nbconvert + # pytest + # qtconsole + # qtpy + # sphinx +pandocfilters==1.5.0 + # via nbconvert +parse==1.19.1 + # via + # -r requirements-dev.txt + # behave + # parse-type + # pytest-bdd +parse-type==0.6.2 + # via + # -r requirements-dev.txt + # behave + # pytest-bdd +parsec==3.8 + # via -r requirements-dev.txt +parso==0.8.3 + # via jedi +pathspec==0.11.2 + # via + # -r requirements-dev.txt + # black +pexpect==4.8.0 + # via ipython +pickleshare==0.7.5 + # via ipython +platformdirs==3.10.0 + # via + # -r requirements-dev.txt + # black + # jupyter-core + # virtualenv +pluggy==1.3.0 + # via + # -r requirements-dev.txt + # allure-python-commons + # pytest +pre-commit==3.4.0 + # via -r requirements-dev.txt +prometheus-client==0.17.1 + # via + # -r requirements-dev.txt + # flower + # jupyter-server +prompt-toolkit==3.0.39 + # via + # -r requirements-dev.txt + # click-repl + # ipython + # jupyter-console +psutil==5.9.5 + # via ipykernel +psycopg2-binary==2.9.7 + # via -r requirements-dev.txt +ptyprocess==0.7.0 + # via + # pexpect + # terminado +pure-eval==0.2.2 + # via stack-data +py==1.11.0 + # via + # -r requirements-dev.txt + # pytest + # pytest-bdd + # pytest-forked +py-w3c==0.3.1 + # via -r requirements-dev.txt +pycparser==2.21 + # via + # -r requirements-dev.txt + # cffi +pygments==2.16.1 + # via + # -r requirements-dev.txt + # ipython + # jupyter-console + # nbconvert + # qtconsole + # sphinx +pyjwt==2.8.0 + # via + # -r requirements-dev.txt + # notifications-python-client +pytest==7.1.2 + # via + # -r requirements-dev.txt + # allure-pytest-bdd + # pytest-asyncio + # pytest-bdd + # pytest-cov + # pytest-django + # pytest-forked + # pytest-responses + # pytest-xdist +pytest-asyncio==0.20.3 + # via -r requirements-dev.txt +pytest-bdd==4.1.0 + # via + # -r requirements-dev.txt + # allure-pytest-bdd +pytest-celery==0.0.0 + # via -r requirements-dev.txt +pytest-cov==3.0.0 + # via -r requirements-dev.txt +pytest-django==4.5.2 + # via -r requirements-dev.txt +pytest-forked==1.4.0 + # via + # -r requirements-dev.txt + # pytest-xdist +pytest-responses==0.5.0 + # via -r requirements-dev.txt +pytest-xdist==2.5.0 + # via -r requirements-dev.txt +python-dateutil==2.8.2 + # via + # -r requirements-dev.txt + # arrow + # botocore + # celery + # faker + # freezegun + # jupyter-client + # moto +python-json-logger==2.0.7 + # via jupyter-events +python-magic==0.4.25 + # via -r requirements-dev.txt +pytz==2023.3.post1 + # via + # -r requirements-dev.txt + # django + # flower + # moto +pyyaml==6.0.1 + # via + # -r requirements-dev.txt + # jupyter-events + # pre-commit +pyzmq==25.1.1 + # via + # ipykernel + # jupyter-client + # jupyter-console + # jupyter-server + # qtconsole +qtconsole==5.4.4 + # via jupyter +qtpy==2.4.0 + # via qtconsole +recommonmark==0.7.1 + # via + # -r requirements-dev.txt + # sphinx-gherkindoc +redis==4.6.0 + # via + # -r requirements-dev.txt + # celery + # django-fakeredis + # django-redis + # fakeredis +referencing==0.30.2 + # via + # jsonschema + # jsonschema-specifications + # jupyter-events +requests==2.31.0 + # via + # -r requirements-dev.txt + # api-client + # jupyterlab-server + # moto + # notifications-python-client + # requests-mock + # requests-oauthlib + # responses + # sphinx +requests-mock==1.10.0 + # via -r requirements-dev.txt +requests-oauthlib==1.3.0 + # via + # -r requirements-dev.txt + # django-staff-sso-client +responses==0.12.1 + # via + # -r requirements-dev.txt + # moto + # pytest-responses +rfc3339-validator==0.1.4 + # via + # jsonschema + # jupyter-events +rfc3986-validator==0.1.1 + # via + # jsonschema + # jupyter-events +rpds-py==0.10.3 + # via + # jsonschema + # referencing +s3transfer==0.5.2 + # via + # -r requirements-dev.txt + # boto3 +send2trash==1.8.2 + # via jupyter-server +sentry-sdk==0.20.2 + # via -r requirements-dev.txt +six==1.16.0 + # via + # -r requirements-dev.txt + # allure-pytest-bdd + # allure-python-commons + # asttokens + # behave + # bleach + # django-rest-polymorphic + # moto + # parse-type + # python-dateutil + # requests-mock + # responses + # rfc3339-validator + # xmldiff +sniffio==1.3.0 + # via anyio +snowballstemmer==2.2.0 + # via + # -r requirements-dev.txt + # sphinx +sortedcontainers==2.4.0 + # via + # -r requirements-dev.txt + # fakeredis +soupsieve==2.5 + # via + # -r requirements-dev.txt + # beautifulsoup4 +sphinx==4.2.0 + # via + # -r requirements-dev.txt + # govuk-tech-docs-sphinx-theme + # recommonmark + # sphinx-gherkindoc + # sphinx-rtd-theme + # sphinxcontrib-jquery +sphinx-gherkindoc==3.6.2 + # via -r requirements-dev.txt +sphinx-rtd-theme==1.3.0 + # via + # -r requirements-dev.txt + # sphinx-gherkindoc +sphinxcontrib-applehelp==1.0.4 + # via + # -r requirements-dev.txt + # sphinx +sphinxcontrib-devhelp==1.0.2 + # via + # -r requirements-dev.txt + # sphinx +sphinxcontrib-htmlhelp==2.0.1 + # via + # -r requirements-dev.txt + # sphinx +sphinxcontrib-jquery==4.1 + # via + # -r requirements-dev.txt + # sphinx-rtd-theme +sphinxcontrib-jsmath==1.0.1 + # via + # -r requirements-dev.txt + # sphinx +sphinxcontrib-qthelp==1.0.3 + # via + # -r requirements-dev.txt + # sphinx +sphinxcontrib-serializinghtml==1.1.5 + # via + # -r requirements-dev.txt + # sphinx +sqlite-s3vfs==0.0.35 + # via -r requirements-dev.txt +sqlparse==0.4.4 + # via + # -r requirements-dev.txt + # django + # django-debug-toolbar +stack-data==0.6.2 + # via ipython +tabulate==0.9.0 + # via -r requirements-dev.txt +tenacity==8.2.3 + # via + # -r requirements-dev.txt + # api-client +terminado==0.17.1 + # via + # jupyter-server + # jupyter-server-terminals +tinycss2==1.2.1 + # via nbconvert +toml==0.10.2 + # via + # -r requirements-dev.txt + # coverage +tomli==2.0.1 + # via + # -r requirements-dev.txt + # pytest +tornado==6.3.3 + # via + # -r requirements-dev.txt + # flower + # ipykernel + # jupyter-client + # jupyter-server + # jupyterlab + # notebook + # terminado +traitlets==5.10.0 + # via + # comm + # ipykernel + # ipython + # ipywidgets + # jupyter-client + # jupyter-console + # jupyter-core + # jupyter-events + # jupyter-server + # jupyterlab + # matplotlib-inline + # nbclient + # nbconvert + # nbformat + # qtconsole +typing-extensions==4.8.0 + # via + # -r requirements-dev.txt + # django-test-migrations +tzdata==2023.3 + # via + # -r requirements-dev.txt + # celery +uri-template==1.3.0 + # via jsonschema +urllib3==1.26.5 + # via + # -r requirements-dev.txt + # botocore + # elastic-apm + # requests + # responses + # sentry-sdk +vine==5.0.0 + # via + # -r requirements-dev.txt + # amqp + # celery + # kombu +virtualenv==20.24.5 + # via + # -r requirements-dev.txt + # pre-commit +wcwidth==0.2.6 + # via + # -r requirements-dev.txt + # prompt-toolkit +webcolors==1.13 + # via jsonschema +webencodings==0.5.1 + # via + # bleach + # tinycss2 +websocket-client==1.6.3 + # via jupyter-server +werkzeug==2.2.3 + # via + # -r requirements-dev.txt + # moto +whitenoise==5.2.0 + # via -r requirements-dev.txt +widgetsnbextension==4.0.9 + # via ipywidgets +wrapt==1.12.1 + # via -r requirements-dev.txt +xmldiff==2.4 + # via -r requirements-dev.txt +xmltodict==0.13.0 + # via + # -r requirements-dev.txt + # moto +yarl==1.9.2 + # via + # -r requirements-dev.txt + # aiohttp +zope-event==5.0 + # via + # -r requirements-dev.txt + # gevent +zope-interface==6.0 + # via + # -r requirements-dev.txt + # gevent -ipython -jupyter +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements-dev.in b/requirements-dev.in new file mode 100644 index 000000000..f5448caa1 --- /dev/null +++ b/requirements-dev.in @@ -0,0 +1,4 @@ +-r requirements.txt + +django_debug_toolbar +pre-commit diff --git a/requirements-dev.txt b/requirements-dev.txt index f5448caa1..5e3462137 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,649 @@ --r requirements.txt +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile requirements-dev.in +# +aiohttp==3.8.5 + # via + # -r requirements.txt + # aioresponses +aioresponses==0.7.4 + # via -r requirements.txt +aiosignal==1.3.1 + # via + # -r requirements.txt + # aiohttp +alabaster==0.7.13 + # via + # -r requirements.txt + # sphinx +allure-pytest-bdd==2.8.40 + # via -r requirements.txt +allure-python-commons==2.8.40 + # via + # -r requirements.txt + # allure-pytest-bdd +amqp==5.1.1 + # via + # -r requirements.txt + # kombu +api-client==1.3.0 + # via -r requirements.txt +apsw==3.43.0.0 + # via + # -r requirements.txt + # sqlite-s3vfs +asgiref==3.7.2 + # via + # -r requirements.txt + # django +async-timeout==4.0.3 + # via + # -r requirements.txt + # aiohttp +attrs==23.1.0 + # via + # -r requirements.txt + # aiohttp + # allure-python-commons + # pytest +babel==2.12.1 + # via + # -r requirements.txt + # sphinx +beautifulsoup4==4.10.0 + # via -r requirements.txt +behave==1.2.6 + # via + # -r requirements.txt + # sphinx-gherkindoc +better-exceptions==0.3.3 + # via -r requirements.txt +billiard==4.1.0 + # via + # -r requirements.txt + # celery +black==23.3.0 + # via -r requirements.txt +boto3==1.18.51 + # via + # -r requirements.txt + # django-chunk-upload-handlers + # moto + # sqlite-s3vfs +botocore==1.21.65 + # via + # -r requirements.txt + # boto3 + # moto + # s3transfer +celery[redis]==5.3.4 + # via + # -r requirements.txt + # flower + # pytest-celery +certifi==2023.7.22 + # via + # -r requirements.txt + # elastic-apm + # requests + # sentry-sdk +cffi==1.15.1 + # via + # -r requirements.txt + # cryptography +cfgv==3.4.0 + # via pre-commit +charset-normalizer==3.2.0 + # via + # -r requirements.txt + # aiohttp + # requests +click==8.1.7 + # via + # -r requirements.txt + # black + # celery + # click-didyoumean + # click-plugins + # click-repl +click-didyoumean==0.3.0 + # via + # -r requirements.txt + # celery +click-plugins==1.1.1 + # via + # -r requirements.txt + # celery +click-repl==0.3.0 + # via + # -r requirements.txt + # celery +commonmark==0.9.1 + # via + # -r requirements.txt + # recommonmark +coverage[toml]==5.4 + # via + # -r requirements.txt + # pytest-cov +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e + # via -r requirements.txt +cryptography==41.0.3 + # via + # -r requirements.txt + # moto +defusedxml==0.7.1 + # via -r requirements.txt +distlib==0.3.7 + # via virtualenv +dj-database-url==0.5.0 + # via -r requirements.txt +django==3.2.20 + # via + # -r requirements.txt + # crispy-forms-gds + # django-chunk-upload-handlers + # django-csp + # django-debug-toolbar + # django-filter + # django-formtools + # django-health-check + # django-polymorphic + # django-redis + # django-rest-polymorphic + # django-sequences + # django-staff-sso-client + # django-storages + # djangorestframework + # drf-extra-fields +django-chunk-upload-handlers==0.0.13 + # via -r requirements.txt +django-crispy-forms==1.12.0 + # via + # -r requirements.txt + # crispy-forms-gds +django-csp==3.6 + # via -r requirements.txt +django-cte==1.1.5 + # via -r requirements.txt +django-debug-toolbar==4.2.0 + # via -r requirements-dev.in +django-dotenv==1.4.2 + # via -r requirements.txt +django-extensions==3.1.1 + # via -r requirements.txt +django-fakeredis==0.1.2 + # via -r requirements.txt +django-filter==2.4.0 + # via -r requirements.txt +django-formtools==2.3 + # via -r requirements.txt +django-fsm==2.7.1 + # via -r requirements.txt +django-health-check==3.16.2 + # via -r requirements.txt +django-polymorphic==3.0.0 + # via + # -r requirements.txt + # django-rest-polymorphic +django-redis==4.12.1 + # via + # -r requirements.txt + # django-fakeredis +django-rest-polymorphic==0.1.9 + # via -r requirements.txt +django-sequences==2.6 + # via -r requirements.txt +django-staff-sso-client==3.1.1 + # via -r requirements.txt +django-storages==1.11.1 + # via + # -r requirements.txt + # django-chunk-upload-handlers +django-test-migrations==1.2.0 + # via -r requirements.txt +django-webpack-loader==1.0.0 + # via -r requirements.txt +djangorestframework==3.12.2 + # via + # -r requirements.txt + # django-rest-polymorphic + # drf-extra-fields +docopt==0.6.2 + # via + # -r requirements.txt + # notifications-python-client +docutils==0.17.1 + # via + # -r requirements.txt + # recommonmark + # sphinx + # sphinx-rtd-theme +drf-extra-fields==3.0.2 + # via -r requirements.txt +drf-flex-fields==0.8.9 + # via -r requirements.txt +elastic-apm==6.7.2 + # via -r requirements.txt +et-xmlfile==1.1.0 + # via + # -r requirements.txt + # openpyxl +execnet==2.0.2 + # via + # -r requirements.txt + # pytest-xdist +factory-boy==3.2.0 + # via -r requirements.txt +faker==19.6.1 + # via + # -r requirements.txt + # factory-boy +fakeredis==2.18.1 + # via + # -r requirements.txt + # django-fakeredis +filelock==3.12.4 + # via virtualenv +flower==1.2.0 + # via -r requirements.txt +freezegun==1.1.0 + # via -r requirements.txt +frozenlist==1.4.0 + # via + # -r requirements.txt + # aiohttp + # aiosignal +gevent==21.12.0 + # via -r requirements.txt +glob2==0.7 + # via + # -r requirements.txt + # pytest-bdd +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements.txt +govuk-tech-docs-sphinx-theme==1.0.0 + # via -r requirements.txt +greenlet==1.1.3.post0 + # via + # -r requirements.txt + # gevent +gunicorn==20.1.0 + # via -r requirements.txt +humanize==4.8.0 + # via + # -r requirements.txt + # flower +identify==2.5.29 + # via pre-commit +idna==3.4 + # via + # -r requirements.txt + # requests + # yarl +imagesize==1.4.1 + # via + # -r requirements.txt + # sphinx +iniconfig==2.0.0 + # via + # -r requirements.txt + # pytest +jinja2==3.1.2 + # via + # -r requirements.txt + # govuk-frontend-jinja + # moto + # sphinx +jmespath==0.10.0 + # via + # -r requirements.txt + # boto3 + # botocore +kombu==5.3.2 + # via + # -r requirements.txt + # celery +lxml==4.9.1 + # via + # -r requirements.txt + # xmldiff +mako==1.2.4 + # via + # -r requirements.txt + # pytest-bdd +markupsafe==2.1.2 + # via + # -r requirements.txt + # jinja2 + # mako + # moto + # werkzeug +more-itertools==10.1.0 + # via + # -r requirements.txt + # moto +moto==2.1.0 + # via -r requirements.txt +multidict==6.0.4 + # via + # -r requirements.txt + # aiohttp + # yarl +mypy-extensions==1.0.0 + # via + # -r requirements.txt + # black +nodeenv==1.8.0 + # via pre-commit +notifications-python-client==6.4.1 + # via -r requirements.txt +oauthlib==3.2.2 + # via + # -r requirements.txt + # requests-oauthlib +openpyxl==3.0.7 + # via -r requirements.txt +packaging==23.1 + # via + # -r requirements.txt + # black + # pytest + # sphinx +parse==1.19.1 + # via + # -r requirements.txt + # behave + # parse-type + # pytest-bdd +parse-type==0.6.2 + # via + # -r requirements.txt + # behave + # pytest-bdd +parsec==3.8 + # via -r requirements.txt +pathspec==0.11.2 + # via + # -r requirements.txt + # black +platformdirs==3.10.0 + # via + # -r requirements.txt + # black + # virtualenv +pluggy==1.3.0 + # via + # -r requirements.txt + # allure-python-commons + # pytest +pre-commit==3.4.0 + # via -r requirements-dev.in +prometheus-client==0.17.1 + # via + # -r requirements.txt + # flower +prompt-toolkit==3.0.39 + # via + # -r requirements.txt + # click-repl +psycopg2-binary==2.9.7 + # via -r requirements.txt +py==1.11.0 + # via + # -r requirements.txt + # pytest + # pytest-bdd + # pytest-forked +py-w3c==0.3.1 + # via -r requirements.txt +pycparser==2.21 + # via + # -r requirements.txt + # cffi +pygments==2.16.1 + # via + # -r requirements.txt + # sphinx +pyjwt==2.8.0 + # via + # -r requirements.txt + # notifications-python-client +pytest==7.1.2 + # via + # -r requirements.txt + # allure-pytest-bdd + # pytest-asyncio + # pytest-bdd + # pytest-cov + # pytest-django + # pytest-forked + # pytest-responses + # pytest-xdist +pytest-asyncio==0.20.3 + # via -r requirements.txt +pytest-bdd==4.1.0 + # via + # -r requirements.txt + # allure-pytest-bdd +pytest-celery==0.0.0 + # via -r requirements.txt +pytest-cov==3.0.0 + # via -r requirements.txt +pytest-django==4.5.2 + # via -r requirements.txt +pytest-forked==1.4.0 + # via + # -r requirements.txt + # pytest-xdist +pytest-responses==0.5.0 + # via -r requirements.txt +pytest-xdist==2.5.0 + # via -r requirements.txt +python-dateutil==2.8.2 + # via + # -r requirements.txt + # botocore + # celery + # faker + # freezegun + # moto +python-magic==0.4.25 + # via -r requirements.txt +pytz==2023.3.post1 + # via + # -r requirements.txt + # django + # flower + # moto +pyyaml==6.0.1 + # via pre-commit +recommonmark==0.7.1 + # via + # -r requirements.txt + # sphinx-gherkindoc +redis==4.6.0 + # via + # -r requirements.txt + # celery + # django-fakeredis + # django-redis + # fakeredis +requests==2.31.0 + # via + # -r requirements.txt + # api-client + # moto + # notifications-python-client + # requests-mock + # requests-oauthlib + # responses + # sphinx +requests-mock==1.10.0 + # via -r requirements.txt +requests-oauthlib==1.3.0 + # via + # -r requirements.txt + # django-staff-sso-client +responses==0.12.1 + # via + # -r requirements.txt + # moto + # pytest-responses +s3transfer==0.5.2 + # via + # -r requirements.txt + # boto3 +sentry-sdk==0.20.2 + # via -r requirements.txt +six==1.16.0 + # via + # -r requirements.txt + # allure-pytest-bdd + # allure-python-commons + # behave + # django-rest-polymorphic + # moto + # parse-type + # python-dateutil + # requests-mock + # responses + # xmldiff +snowballstemmer==2.2.0 + # via + # -r requirements.txt + # sphinx +sortedcontainers==2.4.0 + # via + # -r requirements.txt + # fakeredis +soupsieve==2.5 + # via + # -r requirements.txt + # beautifulsoup4 +sphinx==4.2.0 + # via + # -r requirements.txt + # govuk-tech-docs-sphinx-theme + # recommonmark + # sphinx-gherkindoc + # sphinx-rtd-theme + # sphinxcontrib-jquery +sphinx-gherkindoc==3.6.2 + # via -r requirements.txt +sphinx-rtd-theme==1.3.0 + # via + # -r requirements.txt + # sphinx-gherkindoc +sphinxcontrib-applehelp==1.0.4 + # via + # -r requirements.txt + # sphinx +sphinxcontrib-devhelp==1.0.2 + # via + # -r requirements.txt + # sphinx +sphinxcontrib-htmlhelp==2.0.1 + # via + # -r requirements.txt + # sphinx +sphinxcontrib-jquery==4.1 + # via + # -r requirements.txt + # sphinx-rtd-theme +sphinxcontrib-jsmath==1.0.1 + # via + # -r requirements.txt + # sphinx +sphinxcontrib-qthelp==1.0.3 + # via + # -r requirements.txt + # sphinx +sphinxcontrib-serializinghtml==1.1.5 + # via + # -r requirements.txt + # sphinx +sqlite-s3vfs==0.0.35 + # via -r requirements.txt +sqlparse==0.4.4 + # via + # -r requirements.txt + # django + # django-debug-toolbar +tabulate==0.9.0 + # via -r requirements.txt +tenacity==8.2.3 + # via + # -r requirements.txt + # api-client +toml==0.10.2 + # via + # -r requirements.txt + # coverage +tomli==2.0.1 + # via + # -r requirements.txt + # pytest +tornado==6.3.3 + # via + # -r requirements.txt + # flower +typing-extensions==4.8.0 + # via + # -r requirements.txt + # django-test-migrations +tzdata==2023.3 + # via + # -r requirements.txt + # celery +urllib3==1.26.5 + # via + # -r requirements.txt + # botocore + # elastic-apm + # requests + # responses + # sentry-sdk +vine==5.0.0 + # via + # -r requirements.txt + # amqp + # celery + # kombu +virtualenv==20.24.5 + # via pre-commit +wcwidth==0.2.6 + # via + # -r requirements.txt + # prompt-toolkit +werkzeug==2.2.3 + # via + # -r requirements.txt + # moto +whitenoise==5.2.0 + # via -r requirements.txt +wrapt==1.12.1 + # via -r requirements.txt +xmldiff==2.4 + # via -r requirements.txt +xmltodict==0.13.0 + # via + # -r requirements.txt + # moto +yarl==1.9.2 + # via + # -r requirements.txt + # aiohttp +zope-event==5.0 + # via + # -r requirements.txt + # gevent +zope-interface==6.0 + # via + # -r requirements.txt + # gevent -django_debug_toolbar -pre-commit +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements.in b/requirements.in new file mode 100644 index 000000000..0793a8568 --- /dev/null +++ b/requirements.in @@ -0,0 +1,78 @@ +aiohttp==3.8.5 +apsw==3.43.0.0 +aioresponses==0.7.4 +allure-pytest-bdd==2.8.40 +api-client==1.3.0 +better-exceptions==0.3.3 +beautifulsoup4==4.10.0 +black==23.3.0 +boto3==1.18.51 +celery[redis]>=5.2.2 +coverage[toml]==5.4 +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e +defusedxml==0.7.* +dj-database-url==0.5.0 +django==3.2.20 +django-chunk-upload-handlers==0.0.13 +django-crispy-forms==1.12.0 +django-dotenv==1.4.2 +drf-extra-fields==3.0.2 +django-cte==1.1.5 +django-csp==3.6 +django-extensions==3.1.1 +django-fakeredis>=0.1.* +django-filter==2.4.0 +django-formtools==2.3 +django-fsm==2.7.1 +django-health-check==3.16.2 +django-polymorphic==3.0.0 +django-redis==4.12.1 +django-rest-polymorphic==0.1.9 +django-sequences==2.6 +django-staff-sso-client==3.1.1 +django-storages==1.11.1 +django-test-migrations==1.2.0 +django-webpack-loader==1.0.0 +djangorestframework==3.12.2 +drf-flex-fields==0.8.9 +elastic-apm==6.7.2 +factory-boy==3.2.0 +flower==1.2.0 +freezegun==1.1.0 +gevent==21.12.0 +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 +govuk-tech-docs-sphinx-theme==1.0.0 +gunicorn==20.1.0 +Jinja2==3.1.2 +lxml==4.9.1 +markupsafe==2.1.2 +moto==2.1.0 +notifications-python-client==6.4.1 +openpyxl==3.0.7 +parsec==3.8 +psycopg2-binary==2.9.* +py_w3c==0.3.1 +pygments>=2.8 +pytest==7.1.2 +pytest-asyncio==0.20.3 +pytest-bdd==4.1.0 +pytest-celery==0.0.0 +pytest-cov==3.0.0 +pytest-django==4.5.2 +pytest-forked==1.4.0 +pytest-responses==0.5.0 +pytest-xdist==2.5.0 +python-magic==0.4.25 +requests-oauthlib==1.3.0 +requests-mock==1.10.0 +responses==0.12.1 +sentry-sdk==0.20.2 +Sphinx==4.2.0 +sphinx-gherkindoc==3.6.2 +sqlite-s3vfs==0.0.35 +tabulate==0.9.0 +urllib3==1.26.5 +wrapt==1.12.1 +Werkzeug==2.2.3 +whitenoise==5.2.0 +xmldiff==2.4 diff --git a/requirements.txt b/requirements.txt index cd109a217..7f747ea2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,78 +1,485 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# pip-compile requirements.in +# aiohttp==3.8.5 -apsw==3.43.0.0 + # via + # -r requirements.in + # aioresponses aioresponses==0.7.4 + # via -r requirements.in +aiosignal==1.3.1 + # via aiohttp +alabaster==0.7.13 + # via sphinx allure-pytest-bdd==2.8.40 + # via -r requirements.in +allure-python-commons==2.8.40 + # via allure-pytest-bdd +amqp==5.1.1 + # via kombu api-client==1.3.0 -better-exceptions==0.3.3 + # via -r requirements.in +apsw==3.43.0.0 + # via + # -r requirements.in + # sqlite-s3vfs +asgiref==3.7.2 + # via django +async-timeout==4.0.3 + # via aiohttp +attrs==23.1.0 + # via + # aiohttp + # allure-python-commons + # pytest +babel==2.12.1 + # via sphinx beautifulsoup4==4.10.0 + # via -r requirements.in +behave==1.2.6 + # via sphinx-gherkindoc +better-exceptions==0.3.3 + # via -r requirements.in +billiard==4.1.0 + # via celery black==23.3.0 + # via -r requirements.in boto3==1.18.51 -celery[redis]>=5.2.2 + # via + # -r requirements.in + # django-chunk-upload-handlers + # moto + # sqlite-s3vfs +botocore==1.21.65 + # via + # boto3 + # moto + # s3transfer +celery[redis]==5.3.4 + # via + # -r requirements.in + # flower + # pytest-celery +certifi==2023.7.22 + # via + # elastic-apm + # requests + # sentry-sdk +cffi==1.15.1 + # via cryptography +charset-normalizer==3.2.0 + # via + # aiohttp + # requests +click==8.1.7 + # via + # black + # celery + # click-didyoumean + # click-plugins + # click-repl +click-didyoumean==0.3.0 + # via celery +click-plugins==1.1.1 + # via celery +click-repl==0.3.0 + # via celery +commonmark==0.9.1 + # via recommonmark coverage[toml]==5.4 + # via + # -r requirements.in + # pytest-cov crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e -defusedxml==0.7.* + # via -r requirements.in +cryptography==41.0.3 + # via moto +defusedxml==0.7.1 + # via -r requirements.in dj-database-url==0.5.0 + # via -r requirements.in django==3.2.20 -django-chunk-upload-handlers==0.0.13 + # via + # -r requirements.in + # crispy-forms-gds + # django-chunk-upload-handlers + # django-csp + # django-filter + # django-formtools + # django-health-check + # django-polymorphic + # django-redis + # django-rest-polymorphic + # django-sequences + # django-staff-sso-client + # django-storages + # djangorestframework + # drf-extra-fields +django-chunk-upload-handlers==0.0.13 + # via -r requirements.in django-crispy-forms==1.12.0 -django-dotenv==1.4.2 -drf-extra-fields==3.0.2 -django-cte==1.1.5 + # via + # -r requirements.in + # crispy-forms-gds django-csp==3.6 + # via -r requirements.in +django-cte==1.1.5 + # via -r requirements.in +django-dotenv==1.4.2 + # via -r requirements.in django-extensions==3.1.1 -django-fakeredis>=0.1.* + # via -r requirements.in +django-fakeredis==0.1.2 + # via -r requirements.in django-filter==2.4.0 + # via -r requirements.in django-formtools==2.3 + # via -r requirements.in django-fsm==2.7.1 + # via -r requirements.in django-health-check==3.16.2 + # via -r requirements.in django-polymorphic==3.0.0 + # via + # -r requirements.in + # django-rest-polymorphic django-redis==4.12.1 + # via + # -r requirements.in + # django-fakeredis django-rest-polymorphic==0.1.9 + # via -r requirements.in django-sequences==2.6 + # via -r requirements.in django-staff-sso-client==3.1.1 + # via -r requirements.in django-storages==1.11.1 + # via + # -r requirements.in + # django-chunk-upload-handlers django-test-migrations==1.2.0 + # via -r requirements.in django-webpack-loader==1.0.0 + # via -r requirements.in djangorestframework==3.12.2 + # via + # -r requirements.in + # django-rest-polymorphic + # drf-extra-fields +docopt==0.6.2 + # via notifications-python-client +docutils==0.17.1 + # via + # recommonmark + # sphinx + # sphinx-rtd-theme +drf-extra-fields==3.0.2 + # via -r requirements.in drf-flex-fields==0.8.9 + # via -r requirements.in elastic-apm==6.7.2 + # via -r requirements.in +et-xmlfile==1.1.0 + # via openpyxl +execnet==2.0.2 + # via pytest-xdist factory-boy==3.2.0 + # via -r requirements.in +faker==19.6.1 + # via factory-boy +fakeredis==2.18.1 + # via django-fakeredis flower==1.2.0 + # via -r requirements.in freezegun==1.1.0 + # via -r requirements.in +frozenlist==1.4.0 + # via + # aiohttp + # aiosignal gevent==21.12.0 + # via -r requirements.in +glob2==0.7 + # via pytest-bdd govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements.in govuk-tech-docs-sphinx-theme==1.0.0 + # via -r requirements.in +greenlet==1.1.3.post0 + # via gevent gunicorn==20.1.0 -Jinja2==3.1.2 + # via -r requirements.in +humanize==4.8.0 + # via flower +idna==3.4 + # via + # requests + # yarl +imagesize==1.4.1 + # via sphinx +iniconfig==2.0.0 + # via pytest +jinja2==3.1.2 + # via + # -r requirements.in + # govuk-frontend-jinja + # moto + # sphinx +jmespath==0.10.0 + # via + # boto3 + # botocore +kombu==5.3.2 + # via celery lxml==4.9.1 + # via + # -r requirements.in + # xmldiff +mako==1.2.4 + # via pytest-bdd markupsafe==2.1.2 + # via + # -r requirements.in + # jinja2 + # mako + # moto + # werkzeug +more-itertools==10.1.0 + # via moto moto==2.1.0 + # via -r requirements.in +multidict==6.0.4 + # via + # aiohttp + # yarl +mypy-extensions==1.0.0 + # via black notifications-python-client==6.4.1 + # via -r requirements.in +oauthlib==3.2.2 + # via requests-oauthlib openpyxl==3.0.7 + # via -r requirements.in +packaging==23.1 + # via + # black + # pytest + # sphinx +parse==1.19.1 + # via + # behave + # parse-type + # pytest-bdd +parse-type==0.6.2 + # via + # behave + # pytest-bdd parsec==3.8 -psycopg2-binary==2.9.* -py_w3c==0.3.1 -pygments>=2.8 + # via -r requirements.in +pathspec==0.11.2 + # via black +platformdirs==3.10.0 + # via black +pluggy==1.3.0 + # via + # allure-python-commons + # pytest +prometheus-client==0.17.1 + # via flower +prompt-toolkit==3.0.39 + # via click-repl +psycopg2-binary==2.9.7 + # via -r requirements.in +py==1.11.0 + # via + # pytest + # pytest-bdd + # pytest-forked +py-w3c==0.3.1 + # via -r requirements.in +pycparser==2.21 + # via cffi +pygments==2.16.1 + # via + # -r requirements.in + # sphinx +pyjwt==2.8.0 + # via notifications-python-client pytest==7.1.2 + # via + # -r requirements.in + # allure-pytest-bdd + # pytest-asyncio + # pytest-bdd + # pytest-cov + # pytest-django + # pytest-forked + # pytest-responses + # pytest-xdist pytest-asyncio==0.20.3 + # via -r requirements.in pytest-bdd==4.1.0 + # via + # -r requirements.in + # allure-pytest-bdd pytest-celery==0.0.0 + # via -r requirements.in pytest-cov==3.0.0 + # via -r requirements.in pytest-django==4.5.2 + # via -r requirements.in pytest-forked==1.4.0 + # via + # -r requirements.in + # pytest-xdist pytest-responses==0.5.0 + # via -r requirements.in pytest-xdist==2.5.0 + # via -r requirements.in +python-dateutil==2.8.2 + # via + # botocore + # celery + # faker + # freezegun + # moto python-magic==0.4.25 -requests-oauthlib==1.3.0 + # via -r requirements.in +pytz==2023.3.post1 + # via + # django + # flower + # moto +recommonmark==0.7.1 + # via sphinx-gherkindoc +redis==4.6.0 + # via + # celery + # django-fakeredis + # django-redis + # fakeredis +requests==2.31.0 + # via + # api-client + # moto + # notifications-python-client + # requests-mock + # requests-oauthlib + # responses + # sphinx requests-mock==1.10.0 + # via -r requirements.in +requests-oauthlib==1.3.0 + # via + # -r requirements.in + # django-staff-sso-client responses==0.12.1 + # via + # -r requirements.in + # moto + # pytest-responses +s3transfer==0.5.2 + # via boto3 sentry-sdk==0.20.2 -Sphinx==4.2.0 + # via -r requirements.in +six==1.16.0 + # via + # allure-pytest-bdd + # allure-python-commons + # behave + # django-rest-polymorphic + # moto + # parse-type + # python-dateutil + # requests-mock + # responses + # xmldiff +snowballstemmer==2.2.0 + # via sphinx +sortedcontainers==2.4.0 + # via fakeredis +soupsieve==2.5 + # via beautifulsoup4 +sphinx==4.2.0 + # via + # -r requirements.in + # govuk-tech-docs-sphinx-theme + # recommonmark + # sphinx-gherkindoc + # sphinx-rtd-theme + # sphinxcontrib-jquery sphinx-gherkindoc==3.6.2 + # via -r requirements.in +sphinx-rtd-theme==1.3.0 + # via sphinx-gherkindoc +sphinxcontrib-applehelp==1.0.4 + # via sphinx +sphinxcontrib-devhelp==1.0.2 + # via sphinx +sphinxcontrib-htmlhelp==2.0.1 + # via sphinx +sphinxcontrib-jquery==4.1 + # via sphinx-rtd-theme +sphinxcontrib-jsmath==1.0.1 + # via sphinx +sphinxcontrib-qthelp==1.0.3 + # via sphinx +sphinxcontrib-serializinghtml==1.1.5 + # via sphinx sqlite-s3vfs==0.0.35 + # via -r requirements.in +sqlparse==0.4.4 + # via django tabulate==0.9.0 + # via -r requirements.in +tenacity==8.2.3 + # via api-client +toml==0.10.2 + # via coverage +tomli==2.0.1 + # via pytest +tornado==6.3.3 + # via flower +typing-extensions==4.8.0 + # via django-test-migrations +tzdata==2023.3 + # via celery urllib3==1.26.5 -wrapt==1.12.1 -Werkzeug==2.2.3 + # via + # -r requirements.in + # botocore + # elastic-apm + # requests + # responses + # sentry-sdk +vine==5.0.0 + # via + # amqp + # celery + # kombu +wcwidth==0.2.6 + # via prompt-toolkit +werkzeug==2.2.3 + # via + # -r requirements.in + # moto whitenoise==5.2.0 + # via -r requirements.in +wrapt==1.12.1 + # via -r requirements.in xmldiff==2.4 + # via -r requirements.in +xmltodict==0.13.0 + # via moto +yarl==1.9.2 + # via aiohttp +zope-event==5.0 + # via gevent +zope-interface==6.0 + # via gevent + +# The following packages are considered to be unsafe in a requirements file: +# setuptools From c263a52843873a6e0a85e8caa2356abdd7571db8 Mon Sep 17 00:00:00 2001 From: nboyse Date: Mon, 18 Sep 2023 17:38:18 +0100 Subject: [PATCH 2/3] remove the need to dependent on specific packages --- README.rst | 6 +- requirements-dev-jupyter.txt | 5 +- requirements-dev.txt | 5 +- requirements.in | 152 +++++++++++++++++------------------ requirements.txt | 6 +- 5 files changed, 83 insertions(+), 91 deletions(-) diff --git a/README.rst b/README.rst index a558dfb97..bebcf0ce0 100644 --- a/README.rst +++ b/README.rst @@ -60,6 +60,8 @@ To get a database dump, please contact the TAP team. Installing ~~~~~~~~~~ +We use [pip-tools](https://github.com/jazzband/pip-tools) to manage dependencies across three files - :code:`requirements.txt`, :code:`requirements-dev.txt` and :code:`requirements-dev-jupyter.txt`. These have corresponding :code:`.in` files where we specify our top-level dependencies. With :code:`pip-tools` installed, run :code:`pip-compile requirements.in` to regenerate :code:`requirements.txt`, then run :code:`pip-compile requirements-dev.in` to regenerate :code:`requirements-dev.txt`. You can then use :code:`pip-sync requirements-dev.txt` to install all dependencies locally/for testing/etc. + .. code:: sh $ git clone git@github.com:uktrade/tamato @@ -67,7 +69,9 @@ Installing $ python -m venv venv $ source venv/bin/activate $ pip install -U pip - $ pip install wheel -r requirements-dev.txt + $ pip install pip-tools + $ pip-compile requirements-dev.in + $ pip install -r requirements-dev.txt $ npm install $ npm run build diff --git a/requirements-dev-jupyter.txt b/requirements-dev-jupyter.txt index e203ae449..d0347ec71 100644 --- a/requirements-dev-jupyter.txt +++ b/requirements-dev-jupyter.txt @@ -160,7 +160,7 @@ coverage[toml]==5.4 # via # -r requirements-dev.txt # pytest-cov -crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git # via -r requirements-dev.txt cryptography==41.0.3 # via @@ -310,8 +310,6 @@ glob2==0.7 # via # -r requirements-dev.txt # pytest-bdd -govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 - # via -r requirements-dev.txt govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements-dev.txt greenlet==1.1.3.post0 @@ -366,7 +364,6 @@ jedi==0.19.0 jinja2==3.1.2 # via # -r requirements-dev.txt - # govuk-frontend-jinja # jupyter-server # jupyterlab # jupyterlab-server diff --git a/requirements-dev.txt b/requirements-dev.txt index 5e3462137..49d5d070e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -128,7 +128,7 @@ coverage[toml]==5.4 # via # -r requirements.txt # pytest-cov -crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git # via -r requirements.txt cryptography==41.0.3 # via @@ -262,8 +262,6 @@ glob2==0.7 # via # -r requirements.txt # pytest-bdd -govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 - # via -r requirements.txt govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements.txt greenlet==1.1.3.post0 @@ -294,7 +292,6 @@ iniconfig==2.0.0 jinja2==3.1.2 # via # -r requirements.txt - # govuk-frontend-jinja # moto # sphinx jmespath==0.10.0 diff --git a/requirements.in b/requirements.in index 0793a8568..884636d6e 100644 --- a/requirements.in +++ b/requirements.in @@ -1,78 +1,76 @@ -aiohttp==3.8.5 +aiohttp apsw==3.43.0.0 -aioresponses==0.7.4 -allure-pytest-bdd==2.8.40 -api-client==1.3.0 -better-exceptions==0.3.3 -beautifulsoup4==4.10.0 -black==23.3.0 -boto3==1.18.51 -celery[redis]>=5.2.2 -coverage[toml]==5.4 -crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e -defusedxml==0.7.* -dj-database-url==0.5.0 -django==3.2.20 -django-chunk-upload-handlers==0.0.13 -django-crispy-forms==1.12.0 -django-dotenv==1.4.2 -drf-extra-fields==3.0.2 -django-cte==1.1.5 -django-csp==3.6 -django-extensions==3.1.1 -django-fakeredis>=0.1.* -django-filter==2.4.0 -django-formtools==2.3 -django-fsm==2.7.1 -django-health-check==3.16.2 -django-polymorphic==3.0.0 -django-redis==4.12.1 -django-rest-polymorphic==0.1.9 -django-sequences==2.6 -django-staff-sso-client==3.1.1 -django-storages==1.11.1 -django-test-migrations==1.2.0 -django-webpack-loader==1.0.0 -djangorestframework==3.12.2 -drf-flex-fields==0.8.9 -elastic-apm==6.7.2 -factory-boy==3.2.0 -flower==1.2.0 -freezegun==1.1.0 -gevent==21.12.0 -govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 -govuk-tech-docs-sphinx-theme==1.0.0 -gunicorn==20.1.0 -Jinja2==3.1.2 -lxml==4.9.1 -markupsafe==2.1.2 -moto==2.1.0 -notifications-python-client==6.4.1 -openpyxl==3.0.7 -parsec==3.8 -psycopg2-binary==2.9.* -py_w3c==0.3.1 -pygments>=2.8 -pytest==7.1.2 -pytest-asyncio==0.20.3 -pytest-bdd==4.1.0 -pytest-celery==0.0.0 -pytest-cov==3.0.0 -pytest-django==4.5.2 -pytest-forked==1.4.0 -pytest-responses==0.5.0 -pytest-xdist==2.5.0 -python-magic==0.4.25 -requests-oauthlib==1.3.0 -requests-mock==1.10.0 -responses==0.12.1 -sentry-sdk==0.20.2 -Sphinx==4.2.0 -sphinx-gherkindoc==3.6.2 -sqlite-s3vfs==0.0.35 -tabulate==0.9.0 -urllib3==1.26.5 -wrapt==1.12.1 -Werkzeug==2.2.3 -whitenoise==5.2.0 -xmldiff==2.4 +aioresponses +allure-pytest-bdd +api-client +better-exceptions +beautifulsoup4 +black +boto3 +celery[redis] +coverage[toml] +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git +defusedxml +dj-database-url +django +django-chunk-upload-handlers +django-crispy-forms +django-dotenv +drf-extra-fields +django-cte +django-csp +django-extensions +django-fakeredis +django-filter +django-formtools +django-fsm +django-health-check +django-polymorphic +django-redis +django-rest-polymorphic +django-sequences +django-staff-sso-client +django-storages +django-test-migrations +django-webpack-loader +djangorestframework +drf-flex-fields +elastic-apm +factory-boy +flower +freezegun +gevent +govuk-tech-docs-sphinx-theme +gunicorn +lxml +markupsafe +moto +notifications-python-client +openpyxl +parsec +psycopg2-binary +py_w3c +pygments +pytest +pytest-asyncio +pytest-bdd +pytest-celery +pytest-cov +pytest-django +pytest-forked +pytest-responses +pytest-xdist +python-magic +requests-oauthlib +requests-mock +responses +sentry-sdk +Sphinx +sphinx-gherkindoc +sqlite-s3vfs +tabulate +urllib3 +wrapt +Werkzeug +whitenoise +xmldiff diff --git a/requirements.txt b/requirements.txt index 7f747ea2a..953dde249 100644 --- a/requirements.txt +++ b/requirements.txt @@ -93,7 +93,7 @@ coverage[toml]==5.4 # via # -r requirements.in # pytest-cov -crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git@b50168d0e23ffacbdd30e7819ec8f9a08e055c8e +crispy-forms-gds @ git+https://github.com/uktrade/crispy-forms-gds.git # via -r requirements.in cryptography==41.0.3 # via moto @@ -204,8 +204,6 @@ gevent==21.12.0 # via -r requirements.in glob2==0.7 # via pytest-bdd -govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 - # via -r requirements.in govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements.in greenlet==1.1.3.post0 @@ -224,8 +222,6 @@ iniconfig==2.0.0 # via pytest jinja2==3.1.2 # via - # -r requirements.in - # govuk-frontend-jinja # moto # sphinx jmespath==0.10.0 From e4b0e17d6725fbb5ccdf44014601bc0ea48b195f Mon Sep 17 00:00:00 2001 From: nboyse Date: Tue, 19 Sep 2023 09:38:34 +0100 Subject: [PATCH 3/3] revert change to govuk-frontend-jinja until dependencies have been verified --- requirements-dev-jupyter.txt | 3 +++ requirements-dev.txt | 3 +++ requirements.in | 1 + requirements.txt | 3 +++ 4 files changed, 10 insertions(+) diff --git a/requirements-dev-jupyter.txt b/requirements-dev-jupyter.txt index d0347ec71..a0e4b7232 100644 --- a/requirements-dev-jupyter.txt +++ b/requirements-dev-jupyter.txt @@ -310,6 +310,8 @@ glob2==0.7 # via # -r requirements-dev.txt # pytest-bdd +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements-dev.txt govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements-dev.txt greenlet==1.1.3.post0 @@ -364,6 +366,7 @@ jedi==0.19.0 jinja2==3.1.2 # via # -r requirements-dev.txt + # govuk-frontend-jinja # jupyter-server # jupyterlab # jupyterlab-server diff --git a/requirements-dev.txt b/requirements-dev.txt index 49d5d070e..b42f7186c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -262,6 +262,8 @@ glob2==0.7 # via # -r requirements.txt # pytest-bdd +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements.txt govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements.txt greenlet==1.1.3.post0 @@ -292,6 +294,7 @@ iniconfig==2.0.0 jinja2==3.1.2 # via # -r requirements.txt + # govuk-frontend-jinja # moto # sphinx jmespath==0.10.0 diff --git a/requirements.in b/requirements.in index 884636d6e..72f99e46d 100644 --- a/requirements.in +++ b/requirements.in @@ -40,6 +40,7 @@ factory-boy flower freezegun gevent +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 govuk-tech-docs-sphinx-theme gunicorn lxml diff --git a/requirements.txt b/requirements.txt index 953dde249..2a36c33f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -204,6 +204,8 @@ gevent==21.12.0 # via -r requirements.in glob2==0.7 # via pytest-bdd +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@15845e4cca3a05df72c6e13ec6a7e35acc682f52 + # via -r requirements.in govuk-tech-docs-sphinx-theme==1.0.0 # via -r requirements.in greenlet==1.1.3.post0 @@ -222,6 +224,7 @@ iniconfig==2.0.0 # via pytest jinja2==3.1.2 # via + # govuk-frontend-jinja # moto # sphinx jmespath==0.10.0