← Back to issue list

feat(linter): add 'pip check' linter

View original Github issue

Metadata

Project
charmcraft
Number
#1951
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged a linter that executes pip check on the generated charm virtual environment to flag dependency inconsistencies. Approved by two reviewers, the update adds 263 lines across six files to enforce package integrity validation.

Suggested action:

No scores available.

Issue body

This linter runs 'pip check' on the venv of the resulting charm and warns if the virtual environment is inconsistent.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a linter that executes pip check on the generated charm virtual environment to flag dependency inconsistencies. Approved by two reviewers, the update adds 263 lines across six files to enforce package integrity validation.
qwen3.6-35b-a3b-mtp-q6 Merged a linter that runs pip check on charm virtual environments to flag dependency inconsistencies. Implemented by maintainer lengau without additional review comments.
qwen3.6-35b-a3b-mtp-q6 Merged a new linter that executes pip check on the charm virtual environment to flag dependency inconsistencies. Integrated by maintainer lengau without review comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1971 feat(linter): add PYDEPS linter charmcraft closed Merged to add a PYDEPS linter that verifies charm library dependencies are installed and sufficient, resolving issue #1890. The commit introduces 107 lines of validation logic across a single file.
77%
#1784 fix(strict-deps): fail if venv is inconsistent charmcraft merged Merged implementation of pip check to validate charm virtualenv dependencies. The build now fails on inconsistent packages, resolving issue #1781. Approved by two reviewers and passed CI checks.
74%
#1889 `pip check` linter charmcraft closed Closed without implementation. The pip check linter request was abandoned and moved to an internal Jira ticket (CRAFT-3369) for charmcraft tracking. No code changes were merged.
70%