From 43d23fff4f2dbf8aacaf26887ef65bb4b19e0419 Mon Sep 17 00:00:00 2001 From: Jacob Chen Date: Wed, 22 Apr 2020 15:09:50 +0800 Subject: [PATCH 1/3] docs: Fix doc build --- environment.yml | 19 ------------------- readthedocs.yml | 11 +++++++++-- 2 files changed, 9 insertions(+), 21 deletions(-) delete mode 100644 environment.yml diff --git a/environment.yml b/environment.yml deleted file mode 100644 index a689bdeff0..0000000000 --- a/environment.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: py36 -dependencies: -- pip=18.1=py36_0 -- python=3.6=0 -- setuptools=40.4.3=py36_0 -- pip: - - httptools>=0.0.10 - - uvloop>=0.5.3 - - ujson>=1.35 - - aiofiles>=0.3.0 - - websockets>=6.0,<7.0 - - multidict>=4.0,<5.0 - - sphinx==1.8.3 - - sphinx_rtd_theme==0.4.2 - - recommonmark==0.5.0 - - httpx==0.11.1 - - sphinxcontrib-asyncio>=0.2.0 - - docutils==0.14 - - pygments==2.3.1 diff --git a/readthedocs.yml b/readthedocs.yml index 40c095421d..b555e295d4 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,2 +1,9 @@ -conda: - file: environment.yml \ No newline at end of file +version: 2 +python: + version: 3.6 + install: + - method: pip + path: . + extra_requirements: + - docs + system_packages: true \ No newline at end of file From 469618a2345f7dc042ec87d94dc97ec7114b18a1 Mon Sep 17 00:00:00 2001 From: Jacob Chen Date: Wed, 22 Apr 2020 16:36:47 +0800 Subject: [PATCH 2/3] docs: Use python-3.8 instead --- readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs.yml b/readthedocs.yml index b555e295d4..1c5d472293 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,6 +1,6 @@ version: 2 python: - version: 3.6 + version: 3.8 install: - method: pip path: . From 9f18a3ff11872132cd242c0d0279d91d529ec34a Mon Sep 17 00:00:00 2001 From: Jacob Chen Date: Fri, 24 Apr 2020 12:49:07 +0800 Subject: [PATCH 3/3] test: Remove pytest-asyncio form tox.ini --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9c9e9dd385..321e3a5566 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,6 @@ setenv = deps = coverage pytest==5.2.1 - pytest-asyncio pytest-cov pytest-sanic pytest-sugar