Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
non-downloadable/installed dependencies shouldn't fail upgrades #2502
if some pkgb depends on pkga (i.e. has it specified in install_requires), an upgrade of pkgb shouldn't fail if a download isn't found for pkga (e.g. if it's not in PyPI), if pkga is installed locally.
to recreate, create pkga and pkgb in local directories with setup.py's like so
referenced this issue
Mar 7, 2015
I feel like there are 2 possible approaches to upgrading.
I think pip largely implements Approach 2.
I wonder if it would be useful to have pip support changing the strategy to Approach 1. But the fear I have is that this would make the code more complex, especially if no refactoring is done before to isolate the strategy from everything else.
Maybe it's worth documenting pip's overall strategy (if it isn't already) so we can at least point people to a URL to explain why they're seeing the behavior they're seeing?
@remram44: Apologies if this already came up - I'm on a phone so it's not so easy to browse around and check stuff...
I wonder if it would help if you added