Open rimskij opened 4 months ago
Faced this issue, Seems to be pip>=24.1
which is broken with salt-pip
.
It works fine for me with version that come with salt : pip==23.3.2
You can downgrade quickly with:
/opt/saltstack/salt/bin/python3 -m pip install pip==24.0
Столкнулся с этой проблемой, похоже, что
pip>=24.1
она сломала сsalt-pip
. У меня отлично работает версия, которая идет с солью:pip==23.3.2
Вы можете быстро понизить версию с помощью:/opt/saltstack/salt/bin/python3 -m pip install p
have another problem
salt-pip install python-freeipa
Collecting python-freeipa
Using cached python-freeipa-1.0.8.tar.gz (71 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Error in sitecustomize; set PYTHONVERBOSE for traceback:
AssertionError:
Fatal Python error: init_import_site: Failed to import the site module
Python runtime state: initialized
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site.py", line 627, in <module>
main()
File "/opt/saltstack/salt/lib/python3.10/site.py", line 620, in main
execsitecustomize()
File "/opt/saltstack/salt/lib/python3.10/site-packages/relenv/runtime.py", line 969, in wrapper
import sitecustomize
File "/tmp/pip-build-env-v48v7u51/site/sitecustomize.py", line 22, in <module>
assert not path in sys.path
AssertionError
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 23.3.2 -> 24.1.1
Столкнулся с этой проблемой, похоже, что
pip>=24.1
она сломала сsalt-pip
. У меня отлично работает версия, которая идет с солью:pip==23.3.2
Вы можете быстро понизить версию с помощью:/opt/saltstack/salt/bin/python3 -m pip install p
have another problem
salt-pip install python-freeipa Collecting python-freeipa Using cached python-freeipa-1.0.8.tar.gz (71 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] Error in sitecustomize; set PYTHONVERBOSE for traceback: AssertionError: Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "/opt/saltstack/salt/lib/python3.10/site.py", line 627, in <module> main() File "/opt/saltstack/salt/lib/python3.10/site.py", line 620, in main execsitecustomize() File "/opt/saltstack/salt/lib/python3.10/site-packages/relenv/runtime.py", line 969, in wrapper import sitecustomize File "/tmp/pip-build-env-v48v7u51/site/sitecustomize.py", line 22, in <module> assert not path in sys.path AssertionError [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 23.3.2 -> 24.1.1
so, it's not a problem with with salt-pip, some bug with lib python-freeipa--1.0.8. i`ll try to repack this lib. im Successfully installed python-freeipa-1.0.6 (salt-pip install python-freeipa==1.0.6)
sticky-note
thank you very much for your help in solving this problem
Description Cant install python-freeipa (Python Requests library) on minion 3007 https://python-freeipa.readthedocs.io/en/latest/ No problems on 3004-3005 minions Setup