diff --git a/docs/conf.py b/docs/conf.py index 5ee426e..f8d73d1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -80,6 +80,10 @@ # The name of the Pygments (syntax highlighting) style to use. pygments_style = None +suppress_warnings = [ + "config.cache", +] + # -- Options for HTML output ------------------------------------------------- diff --git a/requirements/requirements-base.lock.txt b/requirements/requirements-base.lock.txt index 38f663d..04daeb1 100644 --- a/requirements/requirements-base.lock.txt +++ b/requirements/requirements-base.lock.txt @@ -4,17 +4,15 @@ # # pip-compile --output-file=requirements/requirements-base.lock.txt # -asgiref==3.7.2 +asgiref==3.8.1 # via django -django==5.0.3 +django==5.0.7 # via # django-rest-registration (setup.py) # djangorestframework djangorestframework==3.15.2 # via django-rest-registration (setup.py) -pytz==2023.3.post1 - # via djangorestframework -sqlparse==0.5.0 +sqlparse==0.5.1 # via django -typing-extensions==4.9.0 +typing-extensions==4.12.2 # via asgiref diff --git a/requirements/requirements-dev.lock.txt b/requirements/requirements-dev.lock.txt index 11be2a3..f58d047 100644 --- a/requirements/requirements-dev.lock.txt +++ b/requirements/requirements-dev.lock.txt @@ -2,33 +2,43 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --config=pyproject.toml --output-file=requirements/requirements-dev.lock.txt requirements/requirements-dev.in requirements/requirements-test.lock.txt +# pip-compile --output-file=requirements/requirements-dev.lock.txt requirements/requirements-dev.in requirements/requirements-test.lock.txt # -alabaster==0.7.13 +alabaster==0.7.16 # via # -r requirements/requirements-test.lock.txt # sphinx -asgiref==3.7.2 +anyio==4.4.0 + # via + # -r requirements/requirements-test.lock.txt + # starlette + # watchfiles +asgiref==3.8.1 # via # -r requirements/requirements-test.lock.txt # django -astroid==3.0.2 + # django-stubs +astroid==3.2.4 # via # -r requirements/requirements-test.lock.txt # pylint asttokens==2.4.1 # via stack-data -babel==2.14.0 +babel==2.15.0 # via # -r requirements/requirements-test.lock.txt # sphinx -build==1.0.3 +backports-tarfile==1.2.0 + # via + # -r requirements/requirements-test.lock.txt + # jaraco-context +build==1.2.1 # via # -r requirements/requirements-test.lock.txt # pip-tools bump2version==1.0.1 # via -r requirements/requirements-dev.in -cachetools==5.3.2 +cachetools==5.4.0 # via # -r requirements/requirements-test.lock.txt # tox @@ -49,8 +59,11 @@ charset-normalizer==3.3.2 # -r requirements/requirements-test.lock.txt # requests click==8.1.7 - # via pip-tools -cmarkgfm==2022.10.27 + # via + # -r requirements/requirements-test.lock.txt + # pip-tools + # uvicorn +cmarkgfm==2024.1.14 # via # -r requirements/requirements-test.lock.txt # readme-renderer @@ -65,7 +78,7 @@ coreschema==0.0.4 # via # -r requirements/requirements-test.lock.txt # coreapi -coverage[toml]==7.3.3 +coverage[toml]==7.6.0 # via # -r requirements/requirements-test.lock.txt # pytest-cov @@ -73,7 +86,7 @@ decorator==5.1.1 # via # ipdb # ipython -dill==0.3.7 +dill==0.3.8 # via # -r requirements/requirements-test.lock.txt # pylint @@ -81,23 +94,23 @@ distlib==0.3.8 # via # -r requirements/requirements-test.lock.txt # virtualenv -django==5.0.3 +django==5.0.7 # via # -r requirements/requirements-test.lock.txt # django-stubs # django-stubs-ext # djangorestframework -django-stubs==4.2.7 +django-stubs==5.0.2 # via # -r requirements/requirements-test.lock.txt # djangorestframework-stubs -django-stubs-ext==4.2.7 +django-stubs-ext==5.0.2 # via # -r requirements/requirements-test.lock.txt # django-stubs djangorestframework==3.15.2 # via -r requirements/requirements-test.lock.txt -djangorestframework-stubs==3.14.5 +djangorestframework-stubs==3.15.0 # via -r requirements/requirements-test.lock.txt doc8==1.1.1 # via -r requirements/requirements-test.lock.txt @@ -110,19 +123,20 @@ docutils==0.20.1 # sphinx # sphinx-jinja # sphinx-rtd-theme -exceptiongroup==1.2.0 +exceptiongroup==1.2.2 # via # -r requirements/requirements-test.lock.txt + # anyio # ipython # pytest executing==2.0.1 # via stack-data -filelock==3.13.1 +filelock==3.15.4 # via # -r requirements/requirements-test.lock.txt # tox # virtualenv -flake8==6.1.0 +flake8==7.1.0 # via # -r requirements/requirements-test.lock.txt # flake8-comprehensions @@ -131,7 +145,7 @@ flake8==6.1.0 # flake8-print # flake8-pyproject # flake8-tuple -flake8-comprehensions==3.14.0 +flake8-comprehensions==3.15.0 # via -r requirements/requirements-test.lock.txt flake8-debugger==4.1.2 # via -r requirements/requirements-test.lock.txt @@ -143,15 +157,20 @@ flake8-pyproject==1.2.3 # via -r requirements/requirements-test.lock.txt flake8-tuple==0.4.1 # via -r requirements/requirements-test.lock.txt +h11==0.14.0 + # via + # -r requirements/requirements-test.lock.txt + # uvicorn idna==3.7 # via # -r requirements/requirements-test.lock.txt + # anyio # requests imagesize==1.4.1 # via # -r requirements/requirements-test.lock.txt # sphinx -importlib-metadata==7.0.0 +importlib-metadata==8.0.0 # via # -r requirements/requirements-test.lock.txt # keyring @@ -162,7 +181,7 @@ iniconfig==2.0.0 # pytest ipdb==0.13.13 # via -r requirements/requirements-dev.in -ipython==8.18.1 +ipython==8.26.0 # via # -r requirements/requirements-dev.in # ipdb @@ -175,7 +194,15 @@ itypes==1.2.0 # via # -r requirements/requirements-test.lock.txt # coreapi -jaraco-classes==3.3.0 +jaraco-classes==3.4.0 + # via + # -r requirements/requirements-test.lock.txt + # keyring +jaraco-context==5.3.0 + # via + # -r requirements/requirements-test.lock.txt + # keyring +jaraco-functools==4.0.1 # via # -r requirements/requirements-test.lock.txt # keyring @@ -183,29 +210,25 @@ jedi==0.19.1 # via # -r requirements/requirements-dev.in # ipython -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/requirements-test.lock.txt # coreschema # sphinx # sphinx-jinja -keyring==24.3.0 +keyring==25.2.1 # via # -r requirements/requirements-test.lock.txt # twine -livereload==2.6.3 - # via - # -r requirements/requirements-test.lock.txt - # sphinx-autobuild markdown-it-py==3.0.0 # via # -r requirements/requirements-test.lock.txt # rich -markupsafe==2.1.3 +markupsafe==2.1.5 # via # -r requirements/requirements-test.lock.txt # jinja2 -matplotlib-inline==0.1.6 +matplotlib-inline==0.1.7 # via ipython mccabe==0.7.0 # via @@ -216,21 +239,22 @@ mdurl==0.1.2 # via # -r requirements/requirements-test.lock.txt # markdown-it-py -more-itertools==10.1.0 +more-itertools==10.3.0 # via # -r requirements/requirements-test.lock.txt # jaraco-classes -mypy==1.7.1 + # jaraco-functools +mypy==1.11.0 # via -r requirements/requirements-test.lock.txt mypy-extensions==1.0.0 # via # -r requirements/requirements-test.lock.txt # mypy -nh3==0.2.15 +nh3==0.2.18 # via # -r requirements/requirements-test.lock.txt # readme-renderer -packaging==23.2 +packaging==24.1 # via # -r requirements/requirements-test.lock.txt # build @@ -238,7 +262,7 @@ packaging==23.2 # pytest # sphinx # tox -parso==0.8.3 +parso==0.8.4 # via jedi pbr==6.0.0 # via @@ -246,44 +270,44 @@ pbr==6.0.0 # stevedore pexpect==4.9.0 # via ipython -pip-tools==7.3.0 +pip-tools==7.4.1 # via -r requirements/requirements-dev.in -pkginfo==1.9.6 +pkginfo==1.10.0 # via # -r requirements/requirements-test.lock.txt # twine -platformdirs==4.1.0 +platformdirs==4.2.2 # via # -r requirements/requirements-test.lock.txt # pylint # tox # virtualenv -pluggy==1.3.0 +pluggy==1.5.0 # via # -r requirements/requirements-test.lock.txt # pytest # tox -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.47 # via ipython ptyprocess==0.7.0 # via pexpect -pure-eval==0.2.2 +pure-eval==0.2.3 # via stack-data -pycodestyle==2.11.1 +pycodestyle==2.12.0 # via # -r requirements/requirements-test.lock.txt # flake8 # flake8-debugger # flake8-print -pycparser==2.21 +pycparser==2.22 # via # -r requirements/requirements-test.lock.txt # cffi -pyflakes==3.1.0 +pyflakes==3.2.0 # via # -r requirements/requirements-test.lock.txt # flake8 -pygments==2.17.2 +pygments==2.18.0 # via # -r requirements/requirements-test.lock.txt # doc8 @@ -293,34 +317,31 @@ pygments==2.17.2 # sphinx pyjwt==2.8.0 # via -r requirements/requirements-test.lock.txt -pylint==3.0.3 +pylint==3.2.6 # via -r requirements/requirements-test.lock.txt -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via # -r requirements/requirements-test.lock.txt # tox -pyproject-hooks==1.0.0 +pyproject-hooks==1.1.0 # via # -r requirements/requirements-test.lock.txt # build -pytest==7.4.3 + # pip-tools +pytest==8.3.1 # via # -r requirements/requirements-test.lock.txt # pytest-cov # pytest-django -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via -r requirements/requirements-test.lock.txt -pytest-django==4.7.0 +pytest-django==4.8.0 # via -r requirements/requirements-test.lock.txt -pytz==2023.3.post1 - # via - # -r requirements/requirements-test.lock.txt - # djangorestframework -readme-renderer[md]==42.0 +readme-renderer[md]==43.0 # via # -r requirements/requirements-test.lock.txt # twine -requests==2.32.0 +requests==2.32.3 # via # -r requirements/requirements-test.lock.txt # coreapi @@ -340,7 +361,7 @@ rfc3986==2.0.0 # via # -r requirements/requirements-test.lock.txt # twine -rich==13.7.0 +rich==13.7.1 # via # -r requirements/requirements-test.lock.txt # twine @@ -349,38 +370,36 @@ six==1.16.0 # -r requirements/requirements-test.lock.txt # asttokens # flake8-tuple - # livereload +sniffio==1.3.1 + # via + # -r requirements/requirements-test.lock.txt + # anyio snowballstemmer==2.2.0 # via # -r requirements/requirements-test.lock.txt # sphinx -sphinx==7.2.6 +sphinx==7.4.7 # via # -r requirements/requirements-test.lock.txt # sphinx-autobuild # sphinx-jinja # sphinx-rtd-theme - # sphinxcontrib-applehelp - # sphinxcontrib-devhelp - # sphinxcontrib-htmlhelp # sphinxcontrib-jquery - # sphinxcontrib-qthelp - # sphinxcontrib-serializinghtml -sphinx-autobuild==2021.3.14 +sphinx-autobuild==2024.4.16 # via -r requirements/requirements-test.lock.txt sphinx-jinja==2.0.2 # via -r requirements/requirements-test.lock.txt sphinx-rtd-theme==2.0.0 # via -r requirements/requirements-test.lock.txt -sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-applehelp==1.0.8 # via # -r requirements/requirements-test.lock.txt # sphinx -sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-devhelp==1.0.6 # via # -r requirements/requirements-test.lock.txt # sphinx -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-htmlhelp==2.0.6 # via # -r requirements/requirements-test.lock.txt # sphinx @@ -392,21 +411,25 @@ sphinxcontrib-jsmath==1.0.1 # via # -r requirements/requirements-test.lock.txt # sphinx -sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-qthelp==1.0.8 # via # -r requirements/requirements-test.lock.txt # sphinx -sphinxcontrib-serializinghtml==1.1.9 +sphinxcontrib-serializinghtml==1.1.10 # via # -r requirements/requirements-test.lock.txt # sphinx -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/requirements-test.lock.txt # django stack-data==0.6.3 # via ipython -stevedore==5.1.0 +starlette==0.38.0 + # via + # -r requirements/requirements-test.lock.txt + # sphinx-autobuild +stevedore==5.2.0 # via # -r requirements/requirements-test.lock.txt # doc8 @@ -423,47 +446,42 @@ tomli==2.0.1 # pip-tools # pylint # pyproject-api - # pyproject-hooks # pytest + # sphinx # tox -tomlkit==0.12.3 +tomlkit==0.13.0 # via # -r requirements/requirements-test.lock.txt # pylint -tornado==6.4.1 - # via - # -r requirements/requirements-test.lock.txt - # livereload -tox==4.11.4 +tox==4.16.0 # via -r requirements/requirements-test.lock.txt -traitlets==5.14.0 +traitlets==5.14.3 # via # ipython # matplotlib-inline -twine==4.0.2 +twine==5.1.1 # via -r requirements/requirements-test.lock.txt -types-pytz==2023.3.1.1 - # via - # -r requirements/requirements-test.lock.txt - # django-stubs -types-pyyaml==6.0.12.12 +types-pyyaml==6.0.12.20240311 # via # -r requirements/requirements-test.lock.txt # django-stubs # djangorestframework-stubs -types-requests==2.31.0.10 +types-requests==2.32.0.20240712 # via # -r requirements/requirements-test.lock.txt # djangorestframework-stubs -typing-extensions==4.9.0 +typing-extensions==4.12.2 # via # -r requirements/requirements-test.lock.txt + # anyio # asgiref # astroid # django-stubs # django-stubs-ext # djangorestframework-stubs + # ipython # mypy + # uvicorn uritemplate==4.1.1 # via # -r requirements/requirements-test.lock.txt @@ -474,17 +492,29 @@ urllib3==2.2.2 # requests # twine # types-requests -virtualenv==20.25.0 +uvicorn==0.30.3 + # via + # -r requirements/requirements-test.lock.txt + # sphinx-autobuild +virtualenv==20.26.3 # via # -r requirements/requirements-test.lock.txt # tox -wcwidth==0.2.12 +watchfiles==0.22.0 + # via + # -r requirements/requirements-test.lock.txt + # sphinx-autobuild +wcwidth==0.2.13 # via prompt-toolkit -wheel==0.42.0 +websockets==12.0 + # via + # -r requirements/requirements-test.lock.txt + # sphinx-autobuild +wheel==0.43.0 # via # -r requirements/requirements-test.lock.txt # pip-tools -zipp==3.19.1 +zipp==3.19.2 # via # -r requirements/requirements-test.lock.txt # importlib-metadata diff --git a/requirements/requirements-test.in b/requirements/requirements-test.in index 88c05a3..25eeb80 100644 --- a/requirements/requirements-test.in +++ b/requirements/requirements-test.in @@ -31,7 +31,9 @@ readme_renderer[md] # documentation Sphinx -sphinx_rtd_theme +# not fixing this causes +# pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed +sphinx_rtd_theme==2.0 sphinx-autobuild sphinx-jinja doc8 diff --git a/requirements/requirements-test.lock.txt b/requirements/requirements-test.lock.txt index 73f6d95..20684f5 100644 --- a/requirements/requirements-test.lock.txt +++ b/requirements/requirements-test.lock.txt @@ -2,21 +2,28 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --config=pyproject.toml --output-file=requirements/requirements-test.lock.txt requirements/requirements-base.lock.txt requirements/requirements-test.in +# pip-compile --output-file=requirements/requirements-test.lock.txt requirements/requirements-base.lock.txt requirements/requirements-test.in # -alabaster==0.7.13 +alabaster==0.7.16 # via sphinx -asgiref==3.7.2 +anyio==4.4.0 + # via + # starlette + # watchfiles +asgiref==3.8.1 # via # -r requirements/requirements-base.lock.txt # django -astroid==3.0.2 + # django-stubs +astroid==3.2.4 # via pylint -babel==2.14.0 +babel==2.15.0 # via sphinx -build==1.0.3 +backports-tarfile==1.2.0 + # via jaraco-context +build==1.2.1 # via -r requirements/requirements-test.in -cachetools==5.3.2 +cachetools==5.4.0 # via tox certifi==2024.7.4 # via requests @@ -26,7 +33,9 @@ chardet==5.2.0 # via tox charset-normalizer==3.3.2 # via requests -cmarkgfm==2022.10.27 +click==8.1.7 + # via uvicorn +cmarkgfm==2024.1.14 # via readme-renderer colorama==0.4.6 # via @@ -36,27 +45,27 @@ coreapi==2.3.3 # via -r requirements/requirements-test.in coreschema==0.0.4 # via coreapi -coverage[toml]==7.3.3 +coverage[toml]==7.6.0 # via pytest-cov -dill==0.3.7 +dill==0.3.8 # via pylint distlib==0.3.8 # via virtualenv -django==5.0.3 +django==5.0.7 # via # -r requirements/requirements-base.lock.txt # django-stubs # django-stubs-ext # djangorestframework -django-stubs==4.2.7 +django-stubs==5.0.2 # via # -r requirements/requirements-test.in # djangorestframework-stubs -django-stubs-ext==4.2.7 +django-stubs-ext==5.0.2 # via django-stubs djangorestframework==3.15.2 # via -r requirements/requirements-base.lock.txt -djangorestframework-stubs==3.14.5 +djangorestframework-stubs==3.15.0 # via -r requirements/requirements-test.in doc8==1.1.1 # via -r requirements/requirements-test.in @@ -69,13 +78,15 @@ docutils==0.20.1 # sphinx # sphinx-jinja # sphinx-rtd-theme -exceptiongroup==1.2.0 - # via pytest -filelock==3.13.1 +exceptiongroup==1.2.2 + # via + # anyio + # pytest +filelock==3.15.4 # via # tox # virtualenv -flake8==6.1.0 +flake8==7.1.0 # via # -r requirements/requirements-test.in # flake8-comprehensions @@ -84,7 +95,7 @@ flake8==6.1.0 # flake8-print # flake8-pyproject # flake8-tuple -flake8-comprehensions==3.14.0 +flake8-comprehensions==3.15.0 # via -r requirements/requirements-test.in flake8-debugger==4.1.2 # via -r requirements/requirements-test.in @@ -96,11 +107,15 @@ flake8-pyproject==1.2.3 # via -r requirements/requirements-test.in flake8-tuple==0.4.1 # via -r requirements/requirements-test.in +h11==0.14.0 + # via uvicorn idna==3.7 - # via requests + # via + # anyio + # requests imagesize==1.4.1 # via sphinx -importlib-metadata==7.0.0 +importlib-metadata==8.0.0 # via # keyring # twine @@ -113,20 +128,22 @@ isort[pyproject]==5.13.2 # pylint itypes==1.2.0 # via coreapi -jaraco-classes==3.3.0 +jaraco-classes==3.4.0 + # via keyring +jaraco-context==5.3.0 # via keyring -jinja2==3.1.3 +jaraco-functools==4.0.1 + # via keyring +jinja2==3.1.4 # via # coreschema # sphinx # sphinx-jinja -keyring==24.3.0 +keyring==25.2.1 # via twine -livereload==2.6.3 - # via sphinx-autobuild markdown-it-py==3.0.0 # via rich -markupsafe==2.1.3 +markupsafe==2.1.5 # via jinja2 mccabe==0.7.0 # via @@ -134,15 +151,17 @@ mccabe==0.7.0 # pylint mdurl==0.1.2 # via markdown-it-py -more-itertools==10.1.0 - # via jaraco-classes -mypy==1.7.1 +more-itertools==10.3.0 + # via + # jaraco-classes + # jaraco-functools +mypy==1.11.0 # via -r requirements/requirements-test.in mypy-extensions==1.0.0 # via mypy -nh3==0.2.15 +nh3==0.2.18 # via readme-renderer -packaging==23.2 +packaging==24.1 # via # build # pyproject-api @@ -151,27 +170,27 @@ packaging==23.2 # tox pbr==6.0.0 # via stevedore -pkginfo==1.9.6 +pkginfo==1.10.0 # via twine -platformdirs==4.1.0 +platformdirs==4.2.2 # via # pylint # tox # virtualenv -pluggy==1.3.0 +pluggy==1.5.0 # via # pytest # tox -pycodestyle==2.11.1 +pycodestyle==2.12.0 # via # flake8 # flake8-debugger # flake8-print -pycparser==2.21 +pycparser==2.22 # via cffi -pyflakes==3.1.0 +pyflakes==3.2.0 # via flake8 -pygments==2.17.2 +pygments==2.18.0 # via # -r requirements/requirements-test.in # doc8 @@ -180,30 +199,26 @@ pygments==2.17.2 # sphinx pyjwt==2.8.0 # via -r requirements/requirements-test.in -pylint==3.0.3 +pylint==3.2.6 # via -r requirements/requirements-test.in -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox -pyproject-hooks==1.0.0 +pyproject-hooks==1.1.0 # via build -pytest==7.4.3 +pytest==8.3.1 # via # -r requirements/requirements-test.in # pytest-cov # pytest-django -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via -r requirements/requirements-test.in -pytest-django==4.7.0 +pytest-django==4.8.0 # via -r requirements/requirements-test.in -pytz==2023.3.post1 - # via - # -r requirements/requirements-base.lock.txt - # djangorestframework -readme-renderer[md]==42.0 +readme-renderer[md]==43.0 # via # -r requirements/requirements-test.in # twine -requests==2.32.0 +requests==2.32.3 # via # coreapi # djangorestframework-stubs @@ -216,51 +231,48 @@ restructuredtext-lint==1.4.0 # via doc8 rfc3986==2.0.0 # via twine -rich==13.7.0 +rich==13.7.1 # via twine six==1.16.0 - # via - # flake8-tuple - # livereload + # via flake8-tuple +sniffio==1.3.1 + # via anyio snowballstemmer==2.2.0 # via sphinx -sphinx==7.2.6 +sphinx==7.4.7 # via # -r requirements/requirements-test.in # sphinx-autobuild # sphinx-jinja # sphinx-rtd-theme - # sphinxcontrib-applehelp - # sphinxcontrib-devhelp - # sphinxcontrib-htmlhelp # sphinxcontrib-jquery - # sphinxcontrib-qthelp - # sphinxcontrib-serializinghtml -sphinx-autobuild==2021.3.14 +sphinx-autobuild==2024.4.16 # via -r requirements/requirements-test.in sphinx-jinja==2.0.2 # via -r requirements/requirements-test.in sphinx-rtd-theme==2.0.0 # via -r requirements/requirements-test.in -sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-applehelp==1.0.8 # via sphinx -sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-devhelp==1.0.6 # via sphinx -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-htmlhelp==2.0.6 # via sphinx sphinxcontrib-jquery==4.1 # via sphinx-rtd-theme sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-qthelp==1.0.8 # via sphinx -sphinxcontrib-serializinghtml==1.1.9 +sphinxcontrib-serializinghtml==1.1.10 # via sphinx -sqlparse==0.5.0 +sqlparse==0.5.1 # via # -r requirements/requirements-base.lock.txt # django -stevedore==5.1.0 +starlette==0.38.0 + # via sphinx-autobuild +stevedore==5.2.0 # via doc8 tomli==2.0.1 # via @@ -272,34 +284,32 @@ tomli==2.0.1 # mypy # pylint # pyproject-api - # pyproject-hooks # pytest + # sphinx # tox -tomlkit==0.12.3 +tomlkit==0.13.0 # via pylint -tornado==6.4.1 - # via livereload -tox==4.11.4 +tox==4.16.0 # via -r requirements/requirements-test.in -twine==4.0.2 +twine==5.1.1 # via -r requirements/requirements-test.in -types-pytz==2023.3.1.1 - # via django-stubs -types-pyyaml==6.0.12.12 +types-pyyaml==6.0.12.20240311 # via # django-stubs # djangorestframework-stubs -types-requests==2.31.0.10 +types-requests==2.32.0.20240712 # via djangorestframework-stubs -typing-extensions==4.9.0 +typing-extensions==4.12.2 # via # -r requirements/requirements-base.lock.txt + # anyio # asgiref # astroid # django-stubs # django-stubs-ext # djangorestframework-stubs # mypy + # uvicorn uritemplate==4.1.1 # via coreapi urllib3==2.2.2 @@ -307,9 +317,15 @@ urllib3==2.2.2 # requests # twine # types-requests -virtualenv==20.25.0 +uvicorn==0.30.3 + # via sphinx-autobuild +virtualenv==20.26.3 # via tox -wheel==0.42.0 +watchfiles==0.22.0 + # via sphinx-autobuild +websockets==12.0 + # via sphinx-autobuild +wheel==0.43.0 # via -r requirements/requirements-test.in -zipp==3.19.1 +zipp==3.19.2 # via importlib-metadata diff --git a/tests/helpers/testcases.py b/tests/helpers/testcases.py index 5743ce3..9c1d749 100644 --- a/tests/helpers/testcases.py +++ b/tests/helpers/testcases.py @@ -53,17 +53,17 @@ def _assert_mails_sent(self, expected_num): @contextlib.contextmanager def assert_mails_sent(self, expected_num): - with self._assert_mails_sent(expected_num) as sent_emails: + with self._assert_mails_sent(expected_num) as sent_emails: # noqa: E501 pylint: disable=contextmanager-generator-missing-cleanup yield sent_emails @contextlib.contextmanager def assert_one_mail_sent(self): - with self._assert_mails_sent(1) as sent_emails: + with self._assert_mails_sent(1) as sent_emails: # noqa: E501 pylint: disable=contextmanager-generator-missing-cleanup yield sent_emails @contextlib.contextmanager def assert_no_mail_sent(self): - with self._assert_mails_sent(0) as sent_emails: + with self._assert_mails_sent(0) as sent_emails: # noqa: E501 pylint: disable=contextmanager-generator-missing-cleanup yield sent_emails @contextlib.contextmanager