-
-
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
Added support for --process-dependency-links to pip installs #3162
Conversation
This should pass once readthedocs/readthedocs-build#28 is accepted and this repo is built against it. |
Is there a reason we shouldn't just default to always running with What does it do? |
I did a quick look and it seems to be a topic that was dicussed a couple of times. In fact, this option was deprecated some time ago. Interesting reading:
I'm not super familiar with this option, either... |
|
Can't you just install the dependencies with a pip requirements file? |
If I want to maintain two separate sets of requirements, one in setup.py (so that The other issue is that conda support on RTFD is currently incompatible (I think) with a requirements file (the file is just ignored). I noted this in #2776. So my requirements file will just be ignored by the build process anyway. |
I urgently need this, unless there is some other way to install a version of a package that is not on PyPI in the RTD conda environment |
@goerz please see my comment in #3156 (comment). Closing as #3156 was closed, feel free to reopen if the proposed solution doesn't work. Thanks for the PR btw! |
This adds support for the process-dependency-links pip flag as requested in #3156. If the user adds a
process-dependency-links: True
entry to thepython
section of their .yml config file, then config.process_dependency_links will evaluate as True (otherwise False). The pip_flags are then set accordingly, either with or without '--process-dependency-links'. Since there are now three possible pip_flags, I have a check for each of them (with two of them automatically included since they were there before).