Skip to content

Commit

Permalink
Merge pull request #5336 from pypa/bump-shellingham
Browse files Browse the repository at this point in the history
Bump vendored version of shellingham
  • Loading branch information
oz123 authored Sep 7, 2022
2 parents f6ef1d3 + eaf3d0a commit 7407087
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions news/5336.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump version of shellingham to support nushell.
2 changes: 1 addition & 1 deletion pipenv/vendor/shellingham/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ._core import ShellDetectionFailure


__version__ = "1.4.0"
__version__ = "1.5.0"


def detect_shell(pid=None, max_depth=10):
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/shellingham/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| {"csh", "tcsh"} # C.
| {"ksh", "zsh", "fish"} # Common alternatives.
| {"cmd", "powershell", "pwsh"} # Microsoft.
| {"elvish", "xonsh"} # More exotic.
| {"elvish", "xonsh", "nu"} # More exotic.
)


Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/shellingham/posix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _iter_process_args(mapping, pid, max_depth):
proc = mapping[pid]
except KeyError: # We've reached the root process. Give up.
break
if proc.args: # Persumably the process should always have a name?
if proc.args: # Presumably the process should always have a name?
yield proc.args
pid = proc.ppid # Go up one level.

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/shellingham/posix/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def detect_proc():
"""Detect /proc filesystem style.
This checks the /proc/{pid} directory for possible formats. Returns one of
the followings as str:
the following as str:
* `stat`: Linux-style, i.e. ``/proc/{pid}/stat``.
* `status`: BSD-style, i.e. ``/proc/{pid}/status``.
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pyparsing==3.0.9
python-dotenv==0.19.0
pythonfinder==1.3.1
requirementslib==2.0.1
shellingham==1.4.0
shellingham==1.5.0
six==1.16.0
termcolor==1.1.0
toml==0.10.2
Expand Down

0 comments on commit 7407087

Please sign in to comment.