diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-13 18:24:15 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-13 18:24:15 -0500 |
| commit | 34b55f96e1befe7b453a86bc4896d93ecb206be2 (patch) | |
| tree | 5c4b8b8e15af78ea81020ba9d3a80e8c64cd04a0 /Biz/Nixpert | |
| parent | 989a1a5de2419373e4932b11c2f2f5877a2fb959 (diff) | |
Fix Python import detection to handle transitive dependencies
detectPythonImports now recursively analyzes imported modules to find
transitive dependencies, matching the behavior of detectHaskellImports.
Previously it only detected direct imports, which caused build failures
when Python modules had nested dependencies.
- Changed signature from [Text] -> IO (Set FilePath)
to Analysis -> [Text] -> IO (Set FilePath)
- Added filepaths, findDeps, and onlyPython helper functions -
Recursively calls analyze() on imported modules to find transitive
deps - Updated tests to pass empty Analysis map
Diffstat (limited to 'Biz/Nixpert')
0 files changed, 0 insertions, 0 deletions
