-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of wheels / update requirementslib
Signed-off-by: Dan Ryan <[email protected]>
- Loading branch information
1 parent
513bdfb
commit d55e400
Showing
4 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- coding=utf-8 -*- | ||
__version__ = "0.0.6" | ||
__version__ = "0.0.7.dev0" | ||
|
||
from .requirements import Requirement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 15 additions & 6 deletions
21
tasks/vendoring/patches/patched/_post-pip-update-pep425tags.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
diff --git a/pipenv/patched/notpip/_internal/pep425tags.py b/pipenv/patched/notpip/_internal/pep425tags.py | ||
index bea31585..9e9609f3 100644 | ||
index bea31585..4205f6e0 100644 | ||
--- a/pipenv/patched/notpip/_internal/pep425tags.py | ||
+++ b/pipenv/patched/notpip/_internal/pep425tags.py | ||
@@ -11,9 +11,9 @@ import warnings | ||
@@ -10,10 +10,7 @@ import sysconfig | ||
import warnings | ||
from collections import OrderedDict | ||
|
||
try: | ||
-try: | ||
- import pip._internal.utils.glibc | ||
+ import pipenv.patched.notpip._internal.utils.glibc | ||
except ImportError: | ||
-except ImportError: | ||
- import pip.utils.glibc | ||
+ import pipenv.patched.notpip.utils.glibc | ||
+import pipenv.patched.notpip._internal.utils.glibc | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
@@ -157,7 +154,7 @@ def is_manylinux1_compatible(): | ||
pass | ||
|
||
# Check glibc version. CentOS 5 uses glibc 2.5. | ||
- return pip._internal.utils.glibc.have_compatible_glibc(2, 5) | ||
+ return pipenv.patched.notpip._internal.utils.glibc.have_compatible_glibc(2, 5) | ||
|
||
|
||
def get_darwin_arches(major, minor, machine): |