-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Builds ignore yaml config settings #4100
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
Comments
If you are using |
Hi @cas--! Thanks for your report. I took a look to your project under .com and I think you have found a bug. I still need replication to confirm it, though. I will explain it here since it should also affect the community site. What I think it's happening is that as you are not setting up a requirements file from the web Admin interface, RTD searches for an existing I will try to reproduce this by:
If this is a bug, we will be using |
I'm a little confused here. I saw that you said in the build linked and I see everything properly configurated in your project. Although, I tried to reproduce it by creating a sample project at https://gitlab.com/humitos/rtd-yaml-requirement with a similar configuration that you mentioned and I'm not able to reproduce it locally nor in readthedocs.com In fact, I'm being able to install the |
Meh, I found the issue. The supported name files are
This should probably be changed to support @cas-- can you test by renaming that file, please and let me know? |
Oh how silly of me, I swear I read it as |
Yep that was it after all, sorry for the wild-goose-chase! However it is a pain that projects pick one or the other for YAML extension. e.g. pre-commit uses only Perhaps since the 'official' recommended extension is As an aside the move by Python to TOML will save us from these config file extension mixups 😛 |
I opened a new issue at #4102 so support .yaml as extension. I'm closing this one. Thanks for testing this and let us know about it. |
Details
Expected Result
Add a
.readthedocs.yaml
config file and use the settings for the buildand
.readthedocs.requirements.txt
contains:sphinxcontrib.spelling
Actual Result
The build fails due to missing
sphinxcontrib.spelling
. It seems to only honor settings from projectAdvanced Settings
page.If I set the requirements file in the web interface it works
The text was updated successfully, but these errors were encountered: