Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
btravouillon opened this issue Jul 12, 2023 · 4 comments
Open

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

btravouillon opened this issue Jul 12, 2023 · 4 comments

Comments

@btravouillon
Copy link

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
Copy link
Member

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
Copy link

I get this message too.

@Paebbels
Copy link
Member

Any updates on that problem?

I have dozens of repositories awaiting documentation updates.

@btravouillon
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants