mirror of
https://github.com/django/daphne.git
synced 2025-06-29 01:13:16 +03:00
Updated Python support and dependencies.
This commit is contained in:
parent
6a5093982c
commit
e3a6e1b053
|
@ -1,3 +1,16 @@
|
||||||
|
Unreleased
|
||||||
|
----------
|
||||||
|
|
||||||
|
* Dropped support for Python 3.6.
|
||||||
|
|
||||||
|
* Updated dependencies to the latest versions.
|
||||||
|
|
||||||
|
Previously a range of Twisted versions have been supported. Recent Twisted
|
||||||
|
releases (22.2, 22.4) have issued security fixes, so those are now the
|
||||||
|
minimum supported version. Given the stability of Twisted, supporting a
|
||||||
|
range of versions does not represent a good use of maintainer time. Going
|
||||||
|
forward the latest Twisted version will be required.
|
||||||
|
|
||||||
3.0.2 (2021-04-07)
|
3.0.2 (2021-04-07)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
@ -8,3 +8,4 @@ profile = black
|
||||||
|
|
||||||
[tool:pytest]
|
[tool:pytest]
|
||||||
testpaths = tests
|
testpaths = tests
|
||||||
|
asyncio_mode = strict
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -22,8 +22,8 @@ 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]>=19.7", "autobahn>=0.18", "asgiref>=3.2.10,<4"],
|
install_requires=["twisted[tls]>=22.4", "autobahn>=22.4.2", "asgiref>=3.5.2,<4"],
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.7",
|
||||||
setup_requires=["pytest-runner"],
|
setup_requires=["pytest-runner"],
|
||||||
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio"]},
|
extras_require={"tests": ["hypothesis", "pytest", "pytest-asyncio"]},
|
||||||
entry_points={
|
entry_points={
|
||||||
|
@ -37,7 +37,6 @@ setup(
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,12 +1,8 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py{36,37,38,39,310}-twisted{197,latest}
|
py{37,38,39,310}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = true
|
usedevelop = true
|
||||||
extras = tests
|
extras = tests
|
||||||
commands =
|
commands =
|
||||||
pytest -v {posargs}
|
pytest -v {posargs}
|
||||||
deps =
|
|
||||||
twisted187: twisted==19.7.0
|
|
||||||
twistedlatest: twisted>=20.3.0
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user