Skip to content

Fix import of parse_requirements#81

Closed
mark-adams wants to merge 1 commit into
launchdarkly:masterfrom
mark-adams:80-fix-pip-import
Closed

Fix import of parse_requirements#81
mark-adams wants to merge 1 commit into
launchdarkly:masterfrom
mark-adams:80-fix-pip-import

Conversation

@mark-adams

Copy link
Copy Markdown

Starting in pip 10.x, parse_requirements was moved to an internal
namespace to help demonstrate the fact that it is not a public API.

As a workaround until a broader decision can be made about how this
should look long term, this change attepts to perform the import using
the pip 10.x path and if it fails, falls back on the older path.

Fixes #80.

Starting in pip 10.x, parse_requirements was moved to an internal
namespace to help demonstrate the fact that it is not a public API.

As a workaround until a broader decision can be made about how this
should look long term, this change attepts to perform the import using
the pip 10.x path and if it fails, falls back on the older path.

Fixes launchdarkly#80.
@mark-adams mark-adams requested a review from ashanbrown as a code owner April 16, 2018 13:22
@eli-darkly

Copy link
Copy Markdown
Contributor

We're going to go with a different approach just to avoid importing any internal APIs, but thanks for submitting this.

@eli-darkly eli-darkly closed this Apr 16, 2018
@mark-adams

Copy link
Copy Markdown
Author

No worries. Just trying to get something out quick and fast since this caused a lot of pain for a lot of people when pip 10.x was released. 👍

eli-darkly added a commit that referenced this pull request Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants