mila-iqia / mila-docs

Mila technical documentation
https://docs.mila.quebec
8 stars 23 forks source link

Automated build of the doc is broken #203

Open btravouillon opened 1 year ago

btravouillon commented 1 year ago

Tests are failing:

The error is:

Usage:
pip install [options] [package-index-options] ... pip install [options] -r [package-index-options] ... pip install [options] [-e] ... pip install [options] [-e] ... pip install [options] <archive url/path> ...

no such option: --break-system-packages Running Sphinx v6.2.1

Configuration error: There is a programmable error in your configuration file:

Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sphinx/config.py", line 354, in eval_config_file exec(code, namespace) # NoQA: S102 File "/src/docs/conf.py", line 9, in import sphinx_theme ModuleNotFoundError: No module named 'sphinx_theme'

The GH ACtion is using container https://hub.docker.com/r/btdi/btd that was updated yesterday.

The issue might be related to this change, however a fix was pushed a couple of hours later. Is it possible that the container is not up-to-date?

btravouillon commented 1 year ago

The container used is Digest: sha256:33564ebfdb592625b7d9653526684e933b0bc56c5d45a87843e1311a2386620a. This is the one that was published via https://github.com/buildthedocs/btd/actions/runs/5520224467/jobs/10066548616 on top of https://github.com/buildthedocs/btd/commit/87121253d3eb05b252853a7e8fa8550b91af303e... which should include the fix if my understanding is correct.

satyaog commented 1 year ago

I think the same. The fix might be faulty.

btravouillon commented 1 year ago

I filed https://github.com/buildthedocs/btd/issues/11 upstream.

satyaog commented 1 year ago

Temporarily fixed by #204