From c6cca06637eadca90a902c6ccb4fd038a1369d95 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Wed, 18 Sep 2024 12:39:18 +0200 Subject: [PATCH] Debug CI failure --- tests/test_real_projects.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_real_projects.py b/tests/test_real_projects.py index 7347e24b..fc8a8acf 100644 --- a/tests/test_real_projects.py +++ b/tests/test_real_projects.py @@ -10,6 +10,7 @@ import json import logging +import os import subprocess import sys import tarfile @@ -48,6 +49,11 @@ def verify_requirements(venv_path: Path, requirements: List[str]) -> None: for req in requirements if "python_version" not in req # we don't know how to parse these (yet) } + print(f"Walking virtualenv at {venv_path}:") + for dirpath, dirnames, filenames in os.walk(venv_path): + print(f" {dirpath}:") + print(f" DIRS: {dirnames!r}") + print(f" FILES: {filenames!r}") resolved = LocalPackageResolver(pyenv_sources(venv_path)).lookup_packages(deps) assert all(dep in resolved for dep in deps)