Skip to content

Commit b583ccc

Browse files
committed
reintroduce record content validation
1 parent 4a263a3 commit b583ccc

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/poetry/installation/wheel_installer.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ def enable_bytecode_compilation(self, enable: bool = True) -> None:
102102
def install(self, wheel: Path) -> None:
103103
with WheelFile.open(wheel) as source:
104104
try:
105-
# Content validation is temporarily disabled because of
106-
# pypa/installer's out of memory issues with big wheels. See
107-
# https://github.com/python-poetry/poetry/issues/7983
108-
source.validate_record(validate_contents=False)
105+
source.validate_record()
109106
except _WheelFileValidationError as e:
110107
self.invalid_wheels[wheel] = e.issues
111108

tests/installation/test_executor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ def test_execute_prints_warning_for_yanked_package(
503503
assert error.count("yanked") == 0
504504

505505

506-
@pytest.mark.skip(reason="https://github.com/python-poetry/poetry/issues/7983")
507506
def test_execute_prints_warning_for_invalid_wheels(
508507
config: Config,
509508
pool: RepositoryPool,

0 commit comments

Comments
 (0)