При обновлении документов в моем проекте с помощью ReadTheDocs я не внезапно начал получать эту ошибку:
Problem parsing YAML configuration. Invalid "requirements_file": path docs/requirements.txt does not exist
Что странно, так это то, что там наверняка есть файл docs / requirements.txt, и, более того, я даже не касался его между коммитами, которые проходили сборки RTD, и когда он начал давать сбой.
Что именно вызывает ошибку, не отображается в журналах:
Read the Docs build information
Build id: 7495313
Project: squiggle
Version: latest
Commit: 68b4ea3a22d740fce1bfdd5bd5af75ccf0cd5367
Date: 2018-07-16T17:54:43.712130
State: finished
Success: False
[rtd-command-info] start-time: 2018-07-16T23:19:18.575436, end-time: 2018-07-16T23:19:21.592819, duration: 3, exit-code: 0
git clone --recursive https://github.com/Lab41/squiggle.git .
Cloning into '.'...
[rtd-command-info] start-time: 2018-07-16T23:19:21.683231, end-time: 2018-07-16T23:19:21.709477, duration: 0, exit-code: 0
git checkout --force origin/master
Note: checking out 'origin/master'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 68b4ea3... Ok I'm giving up
[rtd-command-info] start-time: 2018-07-16T23:19:21.790443, end-time: 2018-07-16T23:19:21.801738, duration: 0, exit-code: 0
git clean -d -f -f
[rtd-command-info] start-time: 2018-07-16T23:19:21.922702, end-time: 2018-07-16T23:19:21.931726, duration: 0, exit-code: 0
git branch -r
origin/HEAD -> origin/master
origin/master
Вот история сборки проекта, а также его репо.