Skip to content

Build not using specified version of sphinx #11236

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

Closed
03bennej opened this issue Mar 22, 2024 · 2 comments
Closed

Build not using specified version of sphinx #11236

03bennej opened this issue Mar 22, 2024 · 2 comments

Comments

@03bennej
Copy link

Details

Expected Result

Successful build using sphinx="^4.2" which was working fine (see latest passing build above).

Actual Result

Failed build due to use of sphinx=7.2.6 (I think).

A description of what actually happened

I recently changed some minor code in my repo and noticed the documentation build failed on readthedocs. I was using sphinx="^4.2" (specified in pyproject.toml). In the past readthedocs had used this specified version, but now the most recent version of sphinx is being used.

I'm happy to use a more recent version of sphinx but it doesn't seem compatible with my extensions (also specified in pyproject.toml), and called in docs/source/conf.py.

Any help to get the documentation back up and running would be much appreciated. Thanks

@ewjoachim
Copy link
Contributor

Hey, I see your project uses poetry.
I see you haven't updated your .reathedocs.yaml file with the recent changes (here are the new instructions)
This specific bug had the consequence that, until the change to the .readthedocs.yaml file was done, poetry dependencies would be ignored by RTD, so it really looks like this is the change you need to make to make things work :)

@03bennej
Copy link
Author

Hey, I see your project uses poetry. I see you haven't updated your .reathedocs.yaml file with the recent changes (here are the new instructions) This specific bug had the consequence that, until the change to the .readthedocs.yaml file was done, poetry dependencies would be ignored by RTD, so it really looks like this is the change you need to make to make things work :)

That worked. Thanks Joachim

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

2 participants