From 748be894355d20d4a2fd3cc113bb2cf9c0d625f5 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Fri, 13 Apr 2018 20:25:10 -0400 Subject: [PATCH] Set python encoding to utf-8 for jenkins Signed-off-by: Dan Ryan --- pipenv/utils.py | 4 ++-- tests/{ => integration}/conftest.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/{ => integration}/conftest.py (100%) diff --git a/pipenv/utils.py b/pipenv/utils.py index b6bad322..790d1c7d 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -128,7 +128,7 @@ def get_requirement(dep): dep = cleaned_uri if editable: dep = '-e {0}'.format(dep) - req = [r for r in parse(dep)][0] + req = [r for r in requirements.parse(dep)][0] # if all we built was the requirement name and still need everything else if req.name and not any([req.uri, req.path]): if dep_link: @@ -154,7 +154,7 @@ def get_requirement(dep): if extras: # Bizarrely this is also what pip does... req.extras = [ - r for r in parse('fakepkg{0}'.format(extras)) + r for r in requirements.parse('fakepkg{0}'.format(extras)) ][ 0 ].extras diff --git a/tests/conftest.py b/tests/integration/conftest.py similarity index 100% rename from tests/conftest.py rename to tests/integration/conftest.py