Skip to content

fix: ignore requires-python in supply-chain scan#227

Merged
hello-args merged 2 commits into
MCP-Audit:mainfrom
ssmubc:fix/ignore-requires-python
Jun 11, 2026
Merged

fix: ignore requires-python in supply-chain scan#227
hello-args merged 2 commits into
MCP-Audit:mainfrom
ssmubc:fix/ignore-requires-python

Conversation

@ssmubc

@ssmubc ssmubc commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Fixes #192

Summary

  • exclude [project] requires-python from dependency findings
  • preserve detection of real unpinned dependencies
  • add regression coverage

Tests

  • uv run pytest tests/test_supply_chain.py tests/test_analyzers.py -q: 3 passed
  • uv run ruff check src tests: passed
  • uv run ruff format --check src tests: passed
  • Full suite: 410 passed, 4 unrelated Windows/environment-specific failures

@hello-args

Copy link
Copy Markdown
Collaborator

Thanks for the contribution @ssmubc . Happy to merge if checks pass.

@hello-args

Copy link
Copy Markdown
Collaborator

@ssmubc code looks clean, can you please resolve the conflict?

Keep structured pyproject.toml parsing from main (which already excludes
requires-python) and retain the regression test from MCP-Audit#227.
@hello-args hello-args merged commit 1641cd1 into MCP-Audit:main Jun 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Exclude requires-python from supply-chain dependency findings

2 participants