Skip to content
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

Update pip-shims vendor to 0.3.0. #2931

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2924.vendor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ``pip-shims`` to version ``0.3.0`` to fix an error when using pip 18.1.
93 changes: 19 additions & 74 deletions pipenv/vendor/pip_shims/__init__.py
Original file line number Diff line number Diff line change
@@ -1,79 +1,24 @@
# -*- coding=utf-8 -*-
from __future__ import absolute_import

__version__ = '0.1.2'
import sys

__all__ = [
"__version__",
"_strip_extras",
"cmdoptions",
"Command",
"ConfigOptionParser",
"DistributionNotFound",
"FAVORITE_HASH",
"FormatControl",
"get_installed_distributions",
"index_group",
"InstallRequirement",
"is_archive_file",
"is_file_url",
"is_installable_dir",
"unpack_url",
"Link",
"make_abstract_dist",
"make_option_group",
"PackageFinder",
"parse_requirements",
"parse_version",
"path_to_url",
"pip_version",
"PipError",
"RequirementPreparer",
"RequirementSet",
"RequirementTracker",
"Resolver",
"SafeFileCache",
"url_to_path",
"USER_CACHE_DIR",
"VcsSupport",
"Wheel",
"WheelCache",
"WheelBuilder"
]
__version__ = '0.3.0'

from .shims import (
_strip_extras,
cmdoptions,
Command,
ConfigOptionParser,
DistributionNotFound,
FAVORITE_HASH,
FormatControl,
get_installed_distributions,
index_group,
InstallRequirement,
is_archive_file,
is_file_url,
unpack_url,
is_installable_dir,
Link,
make_abstract_dist,
make_option_group,
PackageFinder,
parse_requirements,
parse_version,
path_to_url,
pip_version,
PipError,
RequirementPreparer,
RequirementSet,
RequirementTracker,
Resolver,
SafeFileCache,
url_to_path,
USER_CACHE_DIR,
VcsSupport,
Wheel,
WheelCache,
WheelBuilder,
)
from . import shims


old_module = sys.modules["pip_shims"]


module = sys.modules["pip_shims"] = shims._new()
module.shims = shims
module.__dict__.update({
'__file__': __file__,
'__package__': "pip_shims",
'__path__': __path__,
'__doc__': __doc__,
'__all__': module.__all__ + ['shims',],
'__version__': __version__,
'__name__': __name__
})
Loading