Support Python 3.8, stop supporting Python 3.5 (#627)

* Upgrade to uvicorn 0.10.4
* Drop support for Python 3.5
* Bump all dependencies to latest releases
* Update docs to reflect we no longer support 3.5
* Removed code that skipped black unit test on 3.5

Closes #622
This commit is contained in:
Simon Willison 2019-11-11 21:09:11 -08:00 committed by GitHub
commit cf7776d36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 21 deletions

View file

@ -42,12 +42,12 @@ setup(
include_package_data=True,
install_requires=[
"click~=7.0",
"click-default-group~=1.2.1",
"Jinja2~=2.10.1",
"hupper~=1.0",
"click-default-group~=1.2.2",
"Jinja2~=2.10.3",
"hupper~=1.9",
"pint~=0.9",
"pluggy~=0.12.0",
"uvicorn~=0.8.4",
"pluggy~=0.13.0",
"uvicorn~=0.10.4",
"aiofiles~=0.4.0",
],
entry_points="""
@ -58,11 +58,11 @@ setup(
extras_require={
"docs": ["sphinx_rtd_theme", "sphinx-autobuild"],
"test": [
"pytest~=5.0.0",
"pytest~=5.2.2",
"pytest-asyncio~=0.10.0",
"aiohttp~=3.5.3",
"beautifulsoup4~=4.6.1",
"asgiref~=3.1.2",
"aiohttp~=3.6.2",
"beautifulsoup4~=4.8.1",
"asgiref~=3.2.3",
]
+ maybe_black,
},
@ -74,8 +74,8 @@ setup(
"Intended Audience :: End Users/Desktop",
"Topic :: Database",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.5",
],
)