From 72efd57e83ba349911d192d61823c3be2a4d1540 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Mon, 6 Jan 2025 12:56:23 +0100 Subject: [PATCH] chore(env): remove unused skip_write_checks flag --- src/poetry/utils/env/site_packages.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/poetry/utils/env/site_packages.py b/src/poetry/utils/env/site_packages.py index a082419031c..50ca3713d3c 100644 --- a/src/poetry/utils/env/site_packages.py +++ b/src/poetry/utils/env/site_packages.py @@ -25,7 +25,6 @@ def __init__( purelib: Path, platlib: Path | None = None, fallbacks: list[Path] | None = None, - skip_write_checks: bool = False, ) -> None: self._purelib = purelib self._platlib = platlib or purelib @@ -40,7 +39,7 @@ def __init__( if path not in self._candidates: self._candidates.append(path) - self._writable_candidates = None if not skip_write_checks else self._candidates + self._writable_candidates = None @property def path(self) -> Path: