Use environment markers for Python 3.6, refs #1609

This commit is contained in:
Simon Willison 2022-01-20 17:55:57 -08:00
commit 6b459c8732

View file

@ -42,22 +42,39 @@ setup(
include_package_data=True,
python_requires=">=3.6",
install_requires=[
"asgiref==3.4.1",
"click==8.0.3",
"click-default-group==1.2.2",
"Jinja2==3.0.3",
"hupper==1.10.3",
"httpx==0.21.3",
"pint==0.17",
"pluggy==1.0.0",
"uvicorn==0.16.0",
"aiofiles==0.8.0",
"janus==0.7.0",
"asgi-csrf==0.9",
"PyYAML==6.0",
"mergedeep==1.3.4",
"itsdangerous==2.0.1",
"asgiref>=3.2.10,<3.5.0",
"click>=7.1.1,<8.1.0",
"click-default-group~=1.2.2",
"Jinja2>=2.10.3,<3.1.0",
"hupper~=1.9",
"httpx>=0.20",
"pint~=0.9",
"pluggy>=1.0,<1.1",
"uvicorn~=0.11",
"aiofiles>=0.4,<0.9",
"janus>=0.6.2,<1.1",
"asgi-csrf>=0.9",
"PyYAML>=5.3,<7.0",
"mergedeep>=1.1.1,<1.4.0",
"itsdangerous>=1.1,<3.0",
"python-baseconv==1.2.2",
# The following are known to work with 3.6
'asgiref<=3.4.1;python_version<="3.6"',
'click<=8.0.3;python_version<="3.6"',
'click-default-group<=1.2.2;python_version<="3.6"',
'Jinja2<=3.0.3;python_version<="3.6"',
'hupper<=1.10.3;python_version<="3.6"',
'httpx<=0.21.3;python_version<="3.6"',
'pint<=0.17;python_version<="3.6"',
'pluggy<=1.0.0;python_version<="3.6"',
'uvicorn<=0.16.0;python_version<="3.6"',
'aiofiles<=0.8.0;python_version<="3.6"',
'janus<=0.7.0;python_version<="3.6"',
'asgi-csrf<=0.9;python_version<="3.6"',
'PyYAML<=6.0;python_version<="3.6"',
'mergedeep<=1.3.4;python_version<="3.6"',
'itsdangerous<=2.0.1;python_version<="3.6"',
'python-baseconv<=1.2.2;python_version<="3.6"',
],
entry_points="""
[console_scripts]