Skip to content

Commit

Permalink
Debug CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jherland committed Sep 19, 2024
1 parent 88c9ba0 commit a72e423
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_real_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import json
import logging
import os
import subprocess
import sys
import tarfile
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit a72e423

Please sign in to comment.