Closed bskinn closed 3 years ago
Whee. Looks like a bug to be fixed.
PRs welcome.
Actually, it looks like it was something that needed a fix in a dependency, either livereload
or watchdog
, I suspect.
I tried out sphinx-autobuild
again just now on Win, 3.8, and it worked fine.
Honestly, from a quick look at the code here in the repo, I don't know if it even could have been fixed from within sphinx-autobuild
-- I don't think the various objects exposed by the dependencies even provide ways to control how the async event loop is instantiated...watchdog
might? <shrug> Doesn't really matter!
For reference, the working environment (Python 3.8.1, Win10):
>pip list
Package Version Location
----------------------------- --------- --------------------
alabaster 0.7.12
appdirs 1.4.4
argh 0.26.2
atomicwrites 1.4.0
attrs 20.1.0
Babel 2.8.0
bandit 1.6.2
black 19.10b0
bleach 3.1.5
certifi 2020.6.20
chardet 3.0.4
click 7.1.2
colorama 0.4.3
coverage 5.2.1
distlib 0.3.1
docutils 0.16
eradicate 1.0
filelock 3.0.12
flake8 3.8.3
flake8-2020 1.6.0
flake8-absolute-import 1.0
flake8-bandit 2.1.2
flake8-black 0.2.1
flake8-bugbear 20.1.4
flake8-builtins 1.5.3
flake8-colors 0.1.6
flake8-comprehensions 3.2.3
flake8-docstrings 1.5.0
flake8-eradicate 0.4.0
flake8-implicit-str-concat 0.1.0
flake8-import-order 0.18.1
flake8-pie 0.5.0
flake8-polyfill 1.0.2
flake8-rst-docstrings 0.0.13
fuzzywuzzy 0.18.0
gitdb 4.0.5
GitPython 3.1.7
idna 2.10
imagesize 1.2.0
iniconfig 1.0.1
Jinja2 2.11.2
jsonschema 3.2.0
keyring 21.3.0
livereload 2.6.2
MarkupSafe 1.1.1
mccabe 0.6.1
more-itertools 8.4.0
packaging 20.4
pathspec 0.8.0
pathtools 0.1.2
pbr 5.4.5
pep517 0.8.2
pep8-naming 0.11.1
pip 20.2.2
pkginfo 1.5.0.1
pluggy 0.13.1
port-for 0.3.1
py 1.9.0
pycodestyle 2.6.0
pydocstyle 5.0.2
pyflakes 2.2.0
Pygments 2.6.1
pyparsing 2.4.7
pyrsistent 0.16.0
pytest 6.0.1
pytest-cov 2.10.1
pytest-ordering 0.6
pytest-subtests 0.3.2
pytest-timeout 1.4.2
pytz 2020.1
pywin32-ctypes 0.2.0
PyYAML 5.3.1
readme-renderer 26.0
regex 2020.7.14
requests 2.24.0
requests-toolbelt 0.9.1
restructuredtext-lint 1.3.1
restview 2.9.2
rfc3986 1.4.0
setuptools 49.6.0
six 1.15.0
smmap 3.0.4
snowballstemmer 2.0.0
Sphinx 2.3.1
sphinx-autobuild 0.7.1
sphinx-issues 1.2.0
sphinx-rtd-theme 0.5.0
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 1.0.3
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-programoutput 0.16
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.4
sphobjinv 2.1.dev0 c:\git\sphobjinv\src
stdio-mgr 1.0.1
stevedore 3.2.0
toml 0.10.1
tornado 6.0.4
tox 3.19.0
tqdm 4.48.2
twine 3.2.0
typed-ast 1.4.1
urllib3 1.25.10
virtualenv 20.0.31
watchdog 0.10.3
webencodings 0.5.1
wget 3.2
wheel 0.35.1
This has been fixed in livereload: https://github.com/lepture/python-livereload/issues/209#issuecomment-640134537
Transferred from https://github.com/tornadoweb/tornado/issues/2756 based on discussion there.
I just upgraded my Windows Python to 3.8.0 amd64, and now
sphinx-autobuild
is failing when it tries to bring up the web server. Based on the traceback, it looks to be a problem intornado
, trying to use a non-implemented (no-longer-implemented-in-3.8-on-Windows?) asyncio feature.This comment gives a recommended solution:
Traceback:
Packages in the environment: