openedx / credentials

Service hosting course and program certificates
GNU Affero General Public License v3.0
22 stars 71 forks source link

"Read the Docs" build is failing #2577

Open GlugovGrGlib opened 2 months ago

GlugovGrGlib commented 2 months ago

The latest successful build: Mon, Oct 16, 2023 10:00 AM

Reason:

Config validation error in build.os. Value build not found.

Failed build example: https://app.readthedocs.org/projects/edx-credentials/builds/25604990/

Traceback:

Read the Docs build information
Build id: 22239206
Project: edx-credentials
Version: latest
Commit: None
Date: 2023-10-16T12:02:15.967898Z
State: finished
Success: False

[rtd-command-info] start-time: 2023-10-16T12:02:23.030195Z, end-time: 2023-10-16T12:02:24.186561Z, duration: 1, exit-code: 0
git clone --depth 1 https://github.com/openedx/credentials .
Cloning into '.'...

[rtd-command-info] start-time: 2023-10-16T12:02:24.817669Z, end-time: 2023-10-16T12:02:25.501668Z, duration: 0, exit-code: 0
git fetch origin --force --prune --prune-tags --depth 50 refs/heads/master:refs/remotes/origin/master

[rtd-command-info] start-time: 2023-10-16T12:02:26.541916Z, end-time: 2023-10-16T12:02:26.716782Z, duration: 0, exit-code: 0
git checkout --force origin/master
Note: switching to '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 switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at df4f4e7 fix: add missing migration (#2240)

[rtd-command-info] start-time: 2023-10-16T12:02:27.300627Z, end-time: 2023-10-16T12:02:27.364391Z, duration: 0, exit-code: 0
git clean -d -f -f
GlugovGrGlib commented 2 months ago

Closed by #2581

GlugovGrGlib commented 1 month ago

Builds are still failing due to misconfiguration, however a new error has appeared in the log.

python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir ./credentials 1s Exit: 1
--
1 | ERROR: Directory './credentials' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

https://app.readthedocs.org/projects/edx-credentials/builds/25747449/