Unpin test dependencies.

Closes #282.
This commit is contained in:
Carlton Gibson 2020-06-04 19:41:27 +02:00
parent 9838a173d7
commit 63f5d4997b
3 changed files with 19 additions and 10 deletions

View File

@ -1,5 +1,6 @@
sudo: false
dist: bionic
language: python
python:
@ -10,9 +11,10 @@ python:
env:
- TWISTED="twisted"
- TWISTED="twisted==18.7.0"
- TWISTED="twisted==20.3.0"
install:
- pip install -U pytest # Travis comes with an old version pre-installed.
- pip install $TWISTED -e .[tests]
- pip freeze

View File

@ -1,3 +1,10 @@
Unreleased
----------
* Updated twisted requirement to 20.3 or later.
* Updated Autobahn dependency to 20.4 or later.
2.5.0 (2020-04-15)
------------------

View File

@ -22,10 +22,10 @@ setup(
package_dir={"twisted": "daphne/twisted"},
packages=find_packages() + ["twisted.plugins"],
include_package_data=True,
install_requires=["twisted[tls]>=18.7", "autobahn>=0.18", "asgiref~=3.2"],
install_requires=["twisted[tls]>=20.3", "autobahn>=20.4", "asgiref~=3.2"],
setup_requires=["pytest-runner"],
extras_require={
"tests": ["hypothesis==4.23", "pytest~=3.10", "pytest-asyncio~=0.8"]
"tests": ["hypothesis", "pytest", "pytest-asyncio"]
},
entry_points={
"console_scripts": ["daphne = daphne.cli:CommandLineInterface.entrypoint"]