Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
Descriptionpip install salt fails on macOS unless using Python 3.9 or higher.
Setup
macOS 12.6.5 Monterey, fully updated
Steps to Reproduce the behaviorpip install salt
pip output
```
Collecting salt
Using cached salt-3006.0.tar.gz (20.4 MB)
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
╰─> [26 lines of output]
:1265: UserWarning: Warning: distutils is deprecated and shall be removed in Python 3.12, advise migrate to using setuptools
Traceback (most recent call last):
File "/Users/user/test/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/user/test/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/user/test/env/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 1268, in
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-build-env-_9mfc3cz/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "", line 901, in __init__
File "", line 907, in update_metadata
File "", line 1023, in _property_install_requires
File "", line 183, in _parse_requirements_file
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/rn/dg2d9lv48xjf7l001s7gk_yh0000gn/T/pip-install-zxdk26wo/salt_9103846c7b8e43aeafc1262d2c0b35c0/requirements/static/pkg/py3.8/darwin.txt'
[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.
```
Description
pip install salt
fails on macOS unless using Python 3.9 or higher.Setup macOS 12.6.5 Monterey, fully updated
Steps to Reproduce the behavior
pip install salt
pip output
``` Collecting salt Using cached salt-3006.0.tar.gz (20.4 MB) 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 ╰─> [26 lines of output]Sure enough, https://github.com/saltstack/salt/tree/master/requirements/static/pkg/py3.7 and https://github.com/saltstack/salt/tree/master/requirements/static/pkg/py3.8 are both missing darwin.txt. It's present for 3.9-3.11.
Expected behavior Successful installation of salt.
Versions Report n/a since I can't install, but this regression was introduced in 3005 and persists through 3006.