readthedocs.org icon indicating copy to clipboard operation
readthedocs.org copied to clipboard

Allow requirements file to be URI not just a file path

Open Mno-hime opened this issue 4 months ago • 2 comments

What's the problem this feature will solve?

I maintain several software branches. Each has its own requirements.txt in the source tree. The requirements.txt file is meant to be the same across all branches, but sometimes we fail to backport changes from main to other branches, and the file has outdated Sphinx et al. versions.

Describe the solution you'd like

Allow python -> install -> -requirements in .readthedocs.yaml to be a URI instead of limiting it to file path.

Then it translates to python -m pip install -r $URI, which works in the command line.

Alternative solutions

I tried various escaping of the URI, but nothing worked.

Mno-hime avatar Oct 15 '24 11:10 Mno-hime