mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Add release note about salt-pip
This commit is contained in:
parent
c65f07899f
commit
117cd55887
1 changed files with 12 additions and 0 deletions
|
@ -34,6 +34,18 @@ need to to chown the directory ``/opt/saltstack/salt/lib/<python_version>/site-p
|
|||
with the ``salt`` user and group.
|
||||
|
||||
|
||||
## Caveat of salt-pip
|
||||
|
||||
Salt ships with a wrapper script around pip called ``salt-pip``. Users should
|
||||
use ``salt-pip`` to install any python packages needed to extend Salt.
|
||||
``salt-pip`` installs python packages into an `extras-3.10` directory located
|
||||
in the root of the ondir directory, by setting the ``--target`` argument for
|
||||
pip. This ensures those packages remain installed when upgrading Salt. There is
|
||||
a known bug in pip when using `--target` where scripts and other non-python
|
||||
assets may not be cleaned up properly when un-installing. The Salt team is
|
||||
working to resolve this bug in the up-stream pip project.
|
||||
|
||||
|
||||
## Dropping support for Python 3.5 and 3.6
|
||||
|
||||
Python 3.5 and 3.6 will no longer be supported by Salt since they
|
||||
|
|
Loading…
Add table
Reference in a new issue