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