Skip to content

manifest_parser tests "site-packages" in the absolute scan path (leftover of #4058) #4239

Closed

Description

@squid-protocol

gitgalaxy/security/manifest_parser.py tests "site-packages" in root against the absolute os.walk path, so a scan of a tree that merely lives under a directory named site-packages skips every manifest. This is the leftover of the #4058 path-dependence bug (fixed for guidestar_lens and galaxyscope in PR #4232).

Fix: test the path parts RELATIVE to the scan root (as #4232 does), with a regression test scanning the same tree under a site-packages parent and asserting an identical result. Other absolute-path in root / .parts checks under gitgalaxy/ get the same treatment if they are the same bug.

Activity

  1. added
    bug
    data-integrity
    priority: low
    on Oct 3, 2026
  2. added a commit that references this issue on Oct 3, 2026
  3. added
    scope:infra
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdata-integritypriority: lowscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions