As this is only likely to be run by us for generating the doc and publishing it, I think this will have to do for now.
I imagine this might be revisited in the future, or else live with this issue until support for python < 3.9
is dropped.
`make doc`
make -C doc html
make[1]: Entering directory '/home/skantify/code/SMAC3/doc'
sphinx-build -b html -d build/doctrees . build/html
Running Sphinx v4.1.1
loading pickled environment... done
[autosummary] generating autosummary for: api.rst, basic_usage.rst, contact.rst, examples/SMAC4BO/SMAC4BO_mlp_example.rst, examples/SMAC4BO/SMAC4BO_rosenbrock_example.rst, examples/SMAC4BO/SMAC4BO_sgd_instances_example.rst, examples/SMAC4BO/sg_execution_times.rst, examples/SMAC4HPO/SMAC4HPO_acq_rosenbrock_example.rst, examples/SMAC4HPO/SMAC4HPO_gradientboosting_example.rst, examples/SMAC4HPO/SMAC4HPO_rosenbrock_example.rst, ..., main_options.rst, manual.rst, options.rst, psmac.rst, scenario_options.rst, smac_examples.rst, smac_options.rst, tae.rst, usage_recomendation.rst, validation.rst
generating gallery...
WARNING: /home/skantify/code/SMAC3/examples/quickstart/quickstart_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/quickstart/quickstart_example.py", line 56, in <module>
from smac.facade.func_facade import fmin_smac
ModuleNotFoundError: No module named 'smac.facade'
generating gallery for examples/function_minimization... [100%] fmin_rosenbrock_example.py
WARNING: /home/skantify/code/SMAC3/examples/parallel/fmin_rosenbrock_parallel_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/parallel/fmin_rosenbrock_parallel_example.py", line 12, in <module>
from smac.intensification.simple_intensifier import SimpleIntensifier
ModuleNotFoundError: No module named 'smac.intensification.simple_intensifier'
WARNING: /home/skantify/code/SMAC3/examples/parallel/parallel_sh_mlp_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/parallel/parallel_sh_mlp_example.py", line 22, in <module>
from smac.facade.roar_facade import ROAR
ModuleNotFoundError: No module named 'smac.facade.roar_facade'
generating gallery for examples/SMAC4HPO... [100%] SMAC4HPO_svm_example.py
WARNING: /home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_rosenbrock_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_rosenbrock_example.py", line 14, in <module>
from smac.facade.smac_bo_facade import SMAC4BO
ModuleNotFoundError: No module named 'smac.facade.smac_bo_facade'
WARNING: /home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_sgd_instances_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_sgd_instances_example.py", line 30, in <module>
from smac.facade.smac_mf_facade import SMAC4MF
ModuleNotFoundError: No module named 'smac.facade.smac_mf_facade'
generating gallery for examples/SMAC4BO... [100%] SMAC4BO_mlp_example.py
generating gallery for examples/SMAC4MF... [100%] SMAC4MF_mlp.py
WARNING: /home/skantify/code/SMAC3/examples/hyperband/hyperband_mlp_example.py failed to execute correctly: Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/hyperband/hyperband_mlp_example.py", line 25, in <module>
from smac.facade.hyperband_facade import HB4AC
ModuleNotFoundError: No module named 'smac.facade.hyperband_facade'
computation time summary:
- ../examples/hyperband/hyperband_mlp_example.py: 0.01 sec 0.0 MB
- ../examples/SMAC4BO/SMAC4BO_sgd_instances_example.py: 0.01 sec 0.0 MB
- ../examples/parallel/parallel_sh_mlp_example.py: 0.00 sec 0.0 MB
- ../examples/quickstart/quickstart_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4BO/SMAC4BO_rosenbrock_example.py: 0.00 sec 0.0 MB
- ../examples/parallel/fmin_rosenbrock_parallel_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4BO/SMAC4BO_mlp_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4HPO/SMAC4HPO_acq_rosenbrock_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4HPO/SMAC4HPO_gradientboosting_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4HPO/SMAC4HPO_rosenbrock_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4HPO/SMAC4HPO_svm_example.py: 0.00 sec 0.0 MB
- ../examples/SMAC4MF/SMAC4MF_mlp.py: 0.00 sec 0.0 MB
- ../examples/SMAC4MF/SMAC4MF_sgd_instances.py: 0.00 sec 0.0 MB
- ../examples/function_minimization/fmin_rosenbrock_example.py: 0.00 sec 0.0 MB
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 11 source files that are out of date
updating environment: 0 added, 15 changed, 0 removed
reading sources... [100%] smac_options
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.callbacks'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.configspace'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.epm'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.facade'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.initial_design'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.intensification'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.optimizer'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.runhistory'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.scenario'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.stats'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.tae'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.utils'
/home/skantify/code/SMAC3/doc/api.rst:9: WARNING: toctree contains reference to nonexisting document 'apidoc/smac.smac_cli'
/home/skantify/code/SMAC3/doc/examples/index.rst:22: WARNING: duplicate label sphx_glr_examples_quickstart, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:22: WARNING: duplicate label quickstart, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:59: WARNING: duplicate label sphx_glr_examples_function_minimization, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:59: WARNING: duplicate label fmin_examples, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:94: WARNING: duplicate label sphx_glr_examples_parallel, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:94: WARNING: duplicate label parallel_examples, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:149: WARNING: duplicate label sphx_glr_examples_smac4hpo, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:149: WARNING: duplicate label smac4hpo_examples, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:242: WARNING: duplicate label sphx_glr_examples_smac4bo, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:317: WARNING: duplicate label sphx_glr_examples_smac4mf, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:317: WARNING: duplicate label smac4mf_examples, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:372: WARNING: duplicate label sphx_glr_examples_hyperband, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
/home/skantify/code/SMAC3/doc/examples/index.rst:372: WARNING: duplicate label hyperband_examples, other instance in /home/skantify/code/SMAC3/doc/smac_examples.rst
examples/index.rst:22: WARNING: duplicate label sphx_glr_examples_quickstart, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:22: WARNING: duplicate label quickstart, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:59: WARNING: duplicate label sphx_glr_examples_function_minimization, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:59: WARNING: duplicate label fmin_examples, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:94: WARNING: duplicate label sphx_glr_examples_parallel, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:94: WARNING: duplicate label parallel_examples, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:149: WARNING: duplicate label sphx_glr_examples_smac4hpo, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:149: WARNING: duplicate label smac4hpo_examples, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:242: WARNING: duplicate label sphx_glr_examples_smac4bo, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:317: WARNING: duplicate label sphx_glr_examples_smac4mf, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:317: WARNING: duplicate label smac4mf_examples, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:372: WARNING: duplicate label sphx_glr_examples_hyperband, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
examples/index.rst:372: WARNING: duplicate label hyperband_examples, other instance in /home/skantify/code/SMAC3/doc/examples/index.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] smac_options
generating indices... genindex py-modindex done
writing additional pages... search done
copying images... [100%] examples/hyperband/images/thumb/sphx_glr_hyperband_mlp_example_thumb.png
copying downloadable files... [100%] examples/quickstart/quickstart_example.ipynb
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 45 warnings.
The HTML pages are in build/html.
Sphinx-gallery successfully executed 0 out of 6 files subselected by:
gallery_conf["filename_pattern"] = '.*example.py$|.*tutorial.py$'
gallery_conf["ignore_pattern"] = '.*_func.py'
after excluding 6 files that had previously been run (based on MD5).
Extension error (sphinx_gallery.gen_gallery):
Handler <function summarize_failing_examples at 0x7f8bea4158b0> for event 'build-finished' threw an exception (exception: Here is a summary of the problems encountered when running the examples
Unexpected failing examples:
/home/skantify/code/SMAC3/examples/quickstart/quickstart_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/quickstart/quickstart_example.py", line 56, in <module>
from smac.facade.func_facade import fmin_smac
ModuleNotFoundError: No module named 'smac.facade'
/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_sgd_instances_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_sgd_instances_example.py", line 30, in <module>
from smac.facade.smac_mf_facade import SMAC4MF
ModuleNotFoundError: No module named 'smac.facade.smac_mf_facade'
/home/skantify/code/SMAC3/examples/parallel/parallel_sh_mlp_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/parallel/parallel_sh_mlp_example.py", line 22, in <module>
from smac.facade.roar_facade import ROAR
ModuleNotFoundError: No module named 'smac.facade.roar_facade'
/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_rosenbrock_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/SMAC4BO/SMAC4BO_rosenbrock_example.py", line 14, in <module>
from smac.facade.smac_bo_facade import SMAC4BO
ModuleNotFoundError: No module named 'smac.facade.smac_bo_facade'
/home/skantify/code/SMAC3/examples/parallel/fmin_rosenbrock_parallel_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/parallel/fmin_rosenbrock_parallel_example.py", line 12, in <module>
from smac.intensification.simple_intensifier import SimpleIntensifier
ModuleNotFoundError: No module named 'smac.intensification.simple_intensifier'
/home/skantify/code/SMAC3/examples/hyperband/hyperband_mlp_example.py failed leaving traceback:
Traceback (most recent call last):
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 440, in _memory_usage
out = func()
File "/home/skantify/code/SMAC3/.venv/lib/python3.8/site-packages/sphinx_gallery/gen_rst.py", line 425, in __call__
exec(self.code, self.globals)
File "/home/skantify/code/SMAC3/examples/hyperband/hyperband_mlp_example.py", line 25, in <module>
from smac.facade.hyperband_facade import HB4AC
ModuleNotFoundError: No module named 'smac.facade.hyperband_facade'
-------------------------------------------------------------------------------)
make[1]: *** [Makefile:59: html] Error 2
make[1]: Leaving directory '/home/skantify/code/SMAC3/doc'
make: *** [Makefile:12: doc-with-examples] Error 2