Skip to content

Commit

Permalink
Pythonfinder 2.0.4 (#5713)
Browse files Browse the repository at this point in the history
* Update pythonfinder to 2.0.4
  • Loading branch information
matteius authored May 31, 2023
1 parent 59cba3f commit 2de19e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/5709.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ``pythonfinder==2.0.4`` with fix for "RecursionError: maximum recursion depth exceeded".
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .models import SystemPath
from .pythonfinder import Finder

__version__ = "2.0.3"
__version__ = "2.0.4"


__all__ = ["Finder", "SystemPath", "InvalidPythonVersion"]
3 changes: 3 additions & 0 deletions pipenv/vendor/pythonfinder/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ def __gt__(self, other) -> bool:
def __gte__(self, other) -> bool:
return self.path.as_posix() >= other.path.as_posix()

def __eq__(self, other) -> bool:
return self.path.as_posix() == other.path.as_posix()

def which(self, name) -> PathEntry | None:
"""Search in this path for an executable.
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plette==0.4.4
ptyprocess==0.7.0
pydantic==1.10.7
python-dotenv==1.0.0
pythonfinder==2.0.3
pythonfinder==2.0.4
requirementslib==2.3.0
ruamel.yaml==0.17.21
shellingham==1.5.0.post1
Expand Down

0 comments on commit 2de19e3

Please sign in to comment.