Pythonfinder 2.0.4 (#5713)

* Update pythonfinder to 2.0.4
This commit is contained in:
Matt Davis
2023-05-31 11:06:49 -04:00
committed by GitHub
parent 59cba3f953
commit 2de19e36d4
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
Update ``pythonfinder==2.0.4`` with fix for "RecursionError: maximum recursion depth exceeded".
+1 -1
View File
@@ -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"]
+3
View File
@@ -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.
+1 -1
View File
@@ -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