saltstack / saltstack/salt

[FEATURE REQUEST] salt-pip - reinstall pip packages on upgrades - like a local-requirements.txt file in /etc/salt/

Open
#68,219 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Is your feature request related to a problem? Please describe.
When you upgrade salt packages sometimes the salt-pip packages stop working.

Describe the solution you'd like
a local-requirements.txt file which exists in /etc/salt . that file should automatically have salt-pip install run against it after package upgrades.

Describe alternatives you've considered
us os package hooks but thats a pain to maintain, having a regular cron which just re-installs packages...

Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by identifying how Salt package upgrades invoke salt-pip and where /etc/salt configuration is handled; define the behavior for local-requirements.txt and verify that it runs after upgrades.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.