Skip to content

pip.installed should accept arbitrary options to pass to pip #24751

@corywright

Description

@corywright

I am in a situation where I need to be able to supply pip with the --trusted-host option, but there appears to be no way to do this using salt's pip.installed state.

All options available to pass through to pip are hardwired into the pip.installed declaration, and there is no **kwargs at the end to allow arbitrary options to be passed through to pip. This creates a situation where upstream pip can add new options, but those options will not be available to salt until someone explicitly adds the new options to the pip execution and state modules.

Metadata

Metadata

Assignees

Labels

Featurenew functionality including changes to functionality and code refactors, etc.PlatformRelates to OS, containers, platform-based utilities like FS, system based appsState-Modulehelp-wantedCommunity help is needed to resolve this

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions