diff --git a/.travis.yml b/.travis.yml index 5575e76..920901f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,8 @@ matrix: - python: pypy3 install: - - pip install -e . - pip install -r requirements-dev.txt + - pip install -e . script: - make test diff --git a/Makefile b/Makefile index 307b733..1961e16 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,6 @@ publish: rm -fr build dist .egg trio_websocket.egg-info $(PYTHON) setup.py sdist twine upload dist/* + +requirements-dev.txt: setup.py requirements-dev.in + pip-compile --output-file=$@ $^ diff --git a/requirements-dev.in b/requirements-dev.in new file mode 100644 index 0000000..c7fc447 --- /dev/null +++ b/requirements-dev.in @@ -0,0 +1,9 @@ +coveralls +pytest>=4.6 +pytest-cov +pytest-trio>=0.5.0 +sphinx +sphinxcontrib-trio +sphinx_rtd_theme +trustme +twine diff --git a/requirements-dev.txt b/requirements-dev.txt index c7fc447..b2c3476 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,9 +1,70 @@ -coveralls -pytest>=4.6 -pytest-cov -pytest-trio>=0.5.0 -sphinx -sphinxcontrib-trio -sphinx_rtd_theme -trustme -twine +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile --output-file=requirements-dev.txt requirements-dev.in setup.py +# +alabaster==0.7.12 # via sphinx +async-generator==1.10 # via pytest-trio, trio, trio-websocket (setup.py) +attrs==19.3.0 # via outcome, pytest, trio +babel==2.8.0 # via sphinx +bleach==3.1.5 # via readme-renderer +certifi==2020.4.5.2 # via requests +cffi==1.14.0 # via cryptography +chardet==3.0.4 # via requests +coverage==5.1 # via coveralls, pytest-cov +coveralls==2.0.0 # via -r requirements-dev.in +cryptography==2.9.2 # via trustme +docopt==0.6.2 # via coveralls +docutils==0.16 # via readme-renderer, sphinx +h11==0.9.0 # via wsproto +idna==2.9 # via requests, trio, trustme, yarl +imagesize==1.2.0 # via sphinx +importlib-metadata==1.6.1 # via keyring, pluggy, pytest, twine +ipaddress==1.0.23 # via trio-websocket (setup.py) +jinja2==2.11.2 # via sphinx +keyring==21.2.1 # via twine +markupsafe==1.1.1 # via jinja2 +more-itertools==8.4.0 # via pytest +multidict==4.7.6 # via yarl +outcome==1.0.1 # via pytest-trio, trio +packaging==20.4 # via bleach, pytest, sphinx +pkginfo==1.5.0.1 # via twine +pluggy==0.13.1 # via pytest +py==1.8.2 # via pytest +pycparser==2.20 # via cffi +pygments==2.6.1 # via readme-renderer, sphinx +pyparsing==2.4.7 # via packaging +pytest-cov==2.10.0 # via -r requirements-dev.in +pytest-trio==0.6.0 # via -r requirements-dev.in +pytest==5.4.3 # via -r requirements-dev.in, pytest-cov, pytest-trio +pytz==2020.1 # via babel +readme-renderer==26.0 # via twine +requests-toolbelt==0.9.1 # via twine +requests==2.23.0 # via coveralls, requests-toolbelt, sphinx, twine +six==1.15.0 # via bleach, cryptography, packaging, readme-renderer +sniffio==1.1.0 # via trio +snowballstemmer==2.0.0 # via sphinx +sortedcontainers==2.2.2 # via trio +sphinx-rtd-theme==0.4.3 # via -r requirements-dev.in +sphinx==3.1.1 # via -r requirements-dev.in, sphinx-rtd-theme, sphinxcontrib-trio +sphinxcontrib-applehelp==1.0.2 # via sphinx +sphinxcontrib-devhelp==1.0.2 # via sphinx +sphinxcontrib-htmlhelp==1.0.3 # via sphinx +sphinxcontrib-jsmath==1.0.1 # via sphinx +sphinxcontrib-qthelp==1.0.3 # via sphinx +sphinxcontrib-serializinghtml==1.1.4 # via sphinx +sphinxcontrib-trio==1.1.2 # via -r requirements-dev.in +tqdm==4.46.1 # via twine +trio==0.16.0 # via pytest-trio, trio-websocket (setup.py) +trustme==0.6.0 # via -r requirements-dev.in +twine==3.1.1 # via -r requirements-dev.in +urllib3==1.25.9 # via requests +wcwidth==0.2.4 # via pytest +webencodings==0.5.1 # via bleach +wsproto==0.14.1 # via trio-websocket (setup.py) +yarl==1.4.2 # via trio-websocket (setup.py) +zipp==3.1.0 # via importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +# setuptools