Add strict and offline index support #36
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Creates two separate indexes,
packages/local
andpackages/all
instead of justpackages/all
.packages/all
inherits fromroot/pypi
andpackages/local
.packages/local
does not allow packages to be downloaded from PyPI.All of the "build" dependencies must be published to
packages/local
for it to be used to install source distributions. This pull request vendors all of the needed dependencies.Additionally, there is an
--offline
flag forpackse index up
which does not allow any PyPI access. This is kind of nice when you are not planning on using fallback to PyPI as it prevents the devpi server from doing any additional indexing of the real PyPI.This was tested by installing a scenario published to the strict and offline indexes.