Hi team,
We recently had some issues building our MkDocs-based project managed by Pipenv: Mkdocs builds worked for past 2 months, now fails with: Command failed with exit code 127: mkdocs build - #20 by charlottechhum.
It seems like Pipenv-based builds recently broke again somewhere between Dec 16 and Dec 18: Netlify. Our latest successful build was on Dec 16.
10:48:15 PM: Installing dependencies from Pipfile
10:48:15 PM: To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
10:48:15 PM: Installing dependencies from Pipfile.lock (0e5749)...
[ ... ]
10:48:15 PM: FileNotFoundError: [Errno 2] No such file or directory: '/opt/build/repo/docs/.venv/bin/python'
10:48:15 PM: Error installing Pipenv dependencies
10:48:16 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
10:48:16 PM: Failing build: Failed to install dependencies
Mind you, this broke on its own, no changes were made on our end.
Netlify.toml is here: ebpf/netlify.toml at main · cilium/ebpf · GitHub. It’s as simple as can be:
[build]
base = "docs/"
publish = "site/"
command = "mkdocs build"
Build settings, all stock/matching Netlify.toml:
Thanks,
Timo