-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Build fails for tagged versions #4062
Comments
Have you seen if there is a version named |
Actually yes, there are inactive |
This is how rtd versions work: if you have a |
I don't understand, there isn't a |
About the hash on the list, the ones that have a hash are usually a tag, the others a branch. |
Yes, there was never a I'll try re-creating the branch temporarily to see if RTD sees it. EDIT: That seemed to work — I now have a |
Yes, you need to build the latest branch for rtd to pull new branches/tags, and sometimes the local repo gets confused when forcing tags so is better to wipe the latest version and rebuilding to get a clean information. |
Closing this as the original issue was solved, feel free to reopen if you consider. |
Details
My most recent version release (0.8.4) failed to build on RTD but worked fine on my machine, so I did a little digging around. It appears RTD is trying to pull all versions as branches rather than tags:
I typically work off of version branches — for example named
v0.8.3
— then delete the branch & release a version on GitHub with the same name, creating a tag with the same name as the old development branch. Looking at some of my older versions, I noticed that v0.8.3 built successfully during development, but the final build (based off the tag) failed. This made me think my issue was related to #3887. However RTD never picked up on my latest version v0.8.4 as a branch until I released it, and still failed as it was trying to clone a branch rather than the tag (screenshot & link above).I tried wiping the version on RTD and rebuilding but it still fails. v0.8.2 and earlier all seemed to have built properly every time, but it doesn't look like a clone/checkout/pull was involved.
Release dates of the versions in question:
Expected Result
RTD should run
git checkout v0.8.4
and build the latest tag or branch that results in.Actual Result
RTD builds the version branch properly (or sometimes not at all) during development, but fails to build the finalized version tag.
My
latest
is always correct, though, because that's building from the master branch. This leads to my current situation wherelatest
shows the up-to-date documentation for my version v0.8.4, but the direct link to that version is a 404 because RTD never picked up on the branch during development.The text was updated successfully, but these errors were encountered: