mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Fix the imports to use pip._vendor._markerlib
This commit is contained in:
parent
05538fad06
commit
5495854b77
1 changed files with 2 additions and 2 deletions
|
@ -1439,7 +1439,7 @@ class MarkerEvaluation(object):
|
|||
Return a boolean indicating the marker result in this environment.
|
||||
Raise SyntaxError if marker is invalid.
|
||||
"""
|
||||
import _markerlib
|
||||
from pip._vendor import _markerlib
|
||||
# markerlib implements Metadata 1.2 (PEP 345) environment markers.
|
||||
# Translate the variables to Metadata 2.0 (PEP 426).
|
||||
env = _markerlib.default_environment()
|
||||
|
@ -2711,7 +2711,7 @@ class DistInfoDistribution(Distribution):
|
|||
|
||||
def _compute_dependencies(self):
|
||||
"""Recompute this distribution's dependencies."""
|
||||
from _markerlib import compile as compile_marker
|
||||
from pip._vendor._markerlib import compile as compile_marker
|
||||
dm = self.__dep_map = {None: []}
|
||||
|
||||
reqs = []
|
||||
|
|
Loading…
Reference in a new issue