You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Sphinx v1.8.5
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/pygfunction/envs/latest/lib/python2.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
File "/home/docs/checkouts/readthedocs.org/user_builds/pygfunction/envs/latest/lib/python2.7/site-packages/sphinx/application.py", line 201, in __init__
self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
File "/home/docs/checkouts/readthedocs.org/user_builds/pygfunction/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 203, in read
namespace = eval_config_file(filename, tags)
File "/home/docs/checkouts/readthedocs.org/user_builds/pygfunction/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 373, in eval_config_file
raise ConfigError(msg % err)
ConfigError: There is a syntax error in your configuration file: invalid syntax (boreholes.py, line 140)
Configuration error:
There is a syntax error in your configuration file: invalid syntax (boreholes.py, line 140)
Command time: 0s Return: 2
I found that readthedocs was building the docs using Python 2, which does not support function annotations. A configuration file is introduced in d4fa4a3.
Here is the log:
The reference is to:
pygfunction/pygfunction/boreholes.py
Line 140 in d48f310
It may also fail on the next few lines:
pygfunction/pygfunction/boreholes.py
Line 186 in d48f310
The text was updated successfully, but these errors were encountered: