
While this development environment / requirements situation is a mess, let's at least make it consistent. We're effectively supporting two modes of development in this project, 1) tox based dev commands (e.g. `tox -e fuzz`) that are dead simple to use, and 2) manual dev commands (e.g. `pytest -n auto`) that give more control and are usually faster. Right now the Pipfile.lock based development environment is incomplete missing the test requirements specified in ./test_requirements.txt. This is annoying since manual test commands (e.g. `pytest -k fmtonoff`) fail. Let's fix this by making Pipfile.lock basically a "everything you need" requirements file (fuzzing not included since running it locally is not something common). Oh and let's bump some documentation deps (and bring some requirements across .pre-commit-config.yaml, Pipfile, and docs/requirement.txt in alignment again). Don't worry, I tested these changes so they should be fine (hopefully!).
54 lines
1.3 KiB
TOML
54 lines
1.3 KiB
TOML
[[source]]
|
|
name = "pypi"
|
|
url = "https://pypi.python.org/simple"
|
|
verify_ssl = true
|
|
|
|
[dev-packages]
|
|
# Testing related requirements.
|
|
coverage = ">= 5.3"
|
|
pytest = " >= 6.1.1"
|
|
pytest-mock = ">= 3.3.1"
|
|
pytest-cases = ">= 2.3.0"
|
|
pytest-xdist = ">= 2.2.1"
|
|
pytest-cov = ">= 2.11.1"
|
|
parameterized = ">= 0.7.4"
|
|
tox = "*"
|
|
|
|
# Linting related requirements.
|
|
pre-commit = ">=2.9.2"
|
|
flake8 = ">=3.9.2"
|
|
flake8-bugbear = "*"
|
|
mypy = ">=0.910"
|
|
types-dataclasses = ">=0.1.3"
|
|
types-typed-ast = ">=1.4.1"
|
|
|
|
# Documentation related requirements.
|
|
Sphinx = ">=4.1.2"
|
|
MyST-Parser = ">=0.15.1"
|
|
sphinxcontrib-programoutput = ">=0.17"
|
|
sphinx-copybutton = ">=0.4.0"
|
|
docutils = "==0.17.1" # not a direct dependency, see https://github.com/pypa/pipenv/issues/3865
|
|
|
|
# Packaging related requirements.
|
|
setuptools = ">=39.2.0"
|
|
setuptools-scm = "*"
|
|
twine = ">=1.11.0"
|
|
wheel = ">=0.31.1"
|
|
readme_renderer = "*"
|
|
|
|
black = {editable = true, extras = ["d", "jupyter"], path = "."}
|
|
|
|
[packages]
|
|
aiohttp = ">=3.6.0"
|
|
aiohttp-cors = ">=0.4.0"
|
|
platformdirs= ">=2"
|
|
click = ">=8.0.0"
|
|
mypy_extensions = ">=0.4.3"
|
|
pathspec = ">=0.8.1"
|
|
regex = ">=2020.1.8"
|
|
tomli = ">=0.2.6, <2.0.0"
|
|
typed-ast = "==1.4.2"
|
|
typing_extensions = {"python_version <" = "3.10","version >=" = "3.10.0.0"}
|
|
black = {editable = true,extras = ["d"],path = "."}
|
|
dataclasses = {"python_version <" = "3.7","version >" = "0.1.3"}
|