buildthedocs / btd

A multi-version Sphinx building tool based on containers
https://buildthedocs.github.io/btd/
Apache License 2.0
12 stars 2 forks source link

no such option: --break-system-packages #11

Open btravouillon opened 1 year ago

btravouillon commented 1 year ago

Hello,

The btd action seems broken today. Our GHA workflows are failing with:

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'

Example: https://github.com/mila-iqia/mila-docs/actions/runs/5533095606/jobs/10096241602

The job is using the latest container https://hub.docker.com/layers/btdi/btd/latest/images/sha256-33564ebfdb592625b7d9653526684e933b0bc56c5d45a87843e1311a2386620a?context=explore published yesterday.

Paebbels commented 1 year ago

I get this message too.

In addition (or caused by this) it looks like doc/requirements.txt isn't used to install additional packages.

Since a few days, all my documentation builds fail in many repositories.

JimLewis commented 1 year ago

I get this message too.

Paebbels commented 1 year ago

Any updates on that problem?

I have dozens of repositories awaiting documentation updates.

btravouillon commented 1 year ago

Hi @Paebbels ,

If this may help, here is our workaround to use btd with a previous version: https://github.com/mila-iqia/mila-docs/pull/204/files