From 2de19e36d4565944ec92249013bdfa6751c2f78f Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 31 May 2023 11:06:49 -0400 Subject: [PATCH] Pythonfinder 2.0.4 (#5713) * Update pythonfinder to 2.0.4 --- news/5709.bugfix.rst | 1 + pipenv/vendor/pythonfinder/__init__.py | 2 +- pipenv/vendor/pythonfinder/models/mixins.py | 3 +++ pipenv/vendor/vendor.txt | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 news/5709.bugfix.rst diff --git a/news/5709.bugfix.rst b/news/5709.bugfix.rst new file mode 100644 index 00000000..e2888498 --- /dev/null +++ b/news/5709.bugfix.rst @@ -0,0 +1 @@ +Update ``pythonfinder==2.0.4`` with fix for "RecursionError: maximum recursion depth exceeded". diff --git a/pipenv/vendor/pythonfinder/__init__.py b/pipenv/vendor/pythonfinder/__init__.py index 646ecea9..9338d917 100644 --- a/pipenv/vendor/pythonfinder/__init__.py +++ b/pipenv/vendor/pythonfinder/__init__.py @@ -4,7 +4,7 @@ from .exceptions import InvalidPythonVersion from .models import SystemPath from .pythonfinder import Finder -__version__ = "2.0.3" +__version__ = "2.0.4" __all__ = ["Finder", "SystemPath", "InvalidPythonVersion"] diff --git a/pipenv/vendor/pythonfinder/models/mixins.py b/pipenv/vendor/pythonfinder/models/mixins.py index a89dadef..2c16cd13 100644 --- a/pipenv/vendor/pythonfinder/models/mixins.py +++ b/pipenv/vendor/pythonfinder/models/mixins.py @@ -68,6 +68,9 @@ class PathEntry(BaseModel): 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. diff --git a/pipenv/vendor/vendor.txt b/pipenv/vendor/vendor.txt index aa2c6697..34d98bb5 100644 --- a/pipenv/vendor/vendor.txt +++ b/pipenv/vendor/vendor.txt @@ -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