Skip to content

Add remediation guidance for unpinned pip installs#1

Open
D9mond wants to merge 1 commit intomainfrom
pip-remediation-tip
Open

Add remediation guidance for unpinned pip installs#1
D9mond wants to merge 1 commit intomainfrom
pip-remediation-tip

Conversation

@D9mond
Copy link
Copy Markdown
Owner

@D9mond D9mond commented Feb 25, 2026

What kind of change does this PR introduce?

Feature improvement (adds remediation guidance for pip installs).

What is the current behavior?

Unpinned pip install commands are detected by the Pinned-Dependencies check,
but no remediation guidance is provided to users.

What is the new behavior (if this is a feature change)?

When an unpinned pip install command is detected, the result now includes
a remediation message suggesting:

  • Using --require-hashes
  • Using hashed lockfiles
  • Generating hashed requirements with pip-tools
  • Following pip secure install best practices
  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

NONE

Special notes for your reviewer

This change mirrors the remediation pattern already implemented for NuGet,
providing more actionable guidance for Python users.

Does this PR introduce a user-facing change?

Adds remediation guidance for unpinned pip install commands in the
Pinned-Dependencies check output.
For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Adds remediation guidance for unpinned pip install commands in the
Pinned-Dependencies check output.

@D9mond D9mond force-pushed the pip-remediation-tip branch from c67d739 to 493beef Compare February 27, 2026 04:12
Signed-off-by: Daimond Perdomo <perdomogllettidamien@gmail.com>
@D9mond D9mond force-pushed the pip-remediation-tip branch from 493beef to 0b42ae3 Compare February 27, 2026 04:29
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.

1 participant