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 sudo: false
dist: bionic
language: python language: python
python: python:
@ -10,11 +11,12 @@ python:
env: env:
- TWISTED="twisted" - TWISTED="twisted"
- TWISTED="twisted==18.7.0" - TWISTED="twisted==20.3.0"
install: install:
- pip install $TWISTED -e .[tests] - pip install -U pytest # Travis comes with an old version pre-installed.
- pip freeze - pip install $TWISTED -e .[tests]
- pip freeze
script: script:
- pytest - pytest

View File

@ -1,12 +1,19 @@
Unreleased
----------
* Updated twisted requirement to 20.3 or later.
* Updated Autobahn dependency to 20.4 or later.
2.5.0 (2020-04-15) 2.5.0 (2020-04-15)
------------------ ------------------
* Fixes compatability for twisted when running Python 3.8+ on Windows, by * Fixes compatability for twisted when running Python 3.8+ on Windows, by
setting ``asyncio.WindowsSelectorEventLoopPolicy`` as the event loop policy setting ``asyncio.WindowsSelectorEventLoopPolicy`` as the event loop policy
in this case. in this case.
* The internal ``daphne.testing.TestApplication`` now requires an addition * The internal ``daphne.testing.TestApplication`` now requires an addition
``lock`` argument to ``__init__()``. This is expected to be an instance of ``lock`` argument to ``__init__()``. This is expected to be an instance of
``multiprocessing.Lock``. ``multiprocessing.Lock``.
2.4.1 (2019-12-18) 2.4.1 (2019-12-18)

View File

@ -22,10 +22,10 @@ setup(
package_dir={"twisted": "daphne/twisted"}, package_dir={"twisted": "daphne/twisted"},
packages=find_packages() + ["twisted.plugins"], packages=find_packages() + ["twisted.plugins"],
include_package_data=True, 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"], setup_requires=["pytest-runner"],
extras_require={ extras_require={
"tests": ["hypothesis==4.23", "pytest~=3.10", "pytest-asyncio~=0.8"] "tests": ["hypothesis", "pytest", "pytest-asyncio"]
}, },
entry_points={ entry_points={
"console_scripts": ["daphne = daphne.cli:CommandLineInterface.entrypoint"] "console_scripts": ["daphne = daphne.cli:CommandLineInterface.entrypoint"]