Skip to content

Commit

Permalink
vendor in new version of requirementslib.
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Dec 19, 2022
1 parent 6485555 commit 010bfd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pipenv/vendor/requirementslib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .models.pipfile import Pipfile
from .models.requirements import Requirement

__version__ = "2.2.1"
__version__ = "2.2.2"


logger = logging.getLogger(__name__)
Expand Down
5 changes: 2 additions & 3 deletions pipenv/vendor/requirementslib/models/setup_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ def pep517_subprocess_runner(cmd, cwd=None, extra_environ=None):
if extra_environ:
env.update(extra_environ)

cmd_as_str = " ".join(cmd)
sp.run(cmd_as_str, cwd=cwd, env=env, stdout=sp.PIPE, stderr=sp.STDOUT, shell=True)
sp.run(cmd, cwd=cwd, env=env, stdout=sp.PIPE, stderr=sp.STDOUT)


class BuildEnv(envbuild.BuildEnvironment):
Expand All @@ -110,7 +109,7 @@ def pip_install(self, reqs):
self.path,
] + list(reqs)

sp.run(cmd, shell=True, stderr=sp.PIPE, stdout=sp.PIPE)
sp.run(cmd, stderr=sp.PIPE, stdout=sp.PIPE)


class HookCaller(wrappers.Pep517HookCaller):
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ptyprocess==0.7.0
pyparsing==3.0.9
python-dotenv==0.19.0
pythonfinder==1.3.1
requirementslib==2.2.1
requirementslib==2.2.2
ruamel.yaml==0.17.21
shellingham==1.5.0
toml==0.10.2
Expand Down

0 comments on commit 010bfd7

Please sign in to comment.