Building wheels for collected packages: ruamel.yaml.clib
Building wheel for ruamel.yaml.clib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for ruamel.yaml.clib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
/private/var/folders/0s/fs531rs954j07dx63_0rq83h0000gn/T/pip-build-env-dgiju_ih/overlay/lib/python3.11/site-packages/setuptools/dist.py:955: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
!!
********************************************************************************
Please replace its usage with implicit namespaces (PEP 420).
See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details.
********************************************************************************
!!
ep.load()(self, ep.name, value)
sys.argv ['setup.py', 'bdist_wheel', '--dist-dir', '/private/var/folders/0s/fs531rs954j07dx63_0rq83h0000gn/T/pip-wheel-2nol8jaq/.tmp-km9rche4']
test compiling /var/folders/0s/fs531rs954j07dx63_0rq83h0000gn/T/tmp_ruamel_8vitqyju/test_ruamel_yaml.c -> test_ruamel_yaml OK
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12-x86_64-cpython-311
creating build/lib.macosx-12-x86_64-cpython-311/ruamel
copying .ruamel/__init__.py -> build/lib.macosx-12-x86_64-cpython-311/ruamel
creating build/lib.macosx-12-x86_64-cpython-311/ruamel/yaml
copying .ruamel/yaml/__init__.py -> build/lib.macosx-12-x86_64-cpython-311/ruamel/yaml
creating build/lib.macosx-12-x86_64-cpython-311/ruamel/yaml/clib
copying ./__init__.py -> build/lib.macosx-12-x86_64-cpython-311/ruamel/yaml/clib
copying ./LICENSE -> build/lib.macosx-12-x86_64-cpython-311/ruamel/yaml/clib
running build_ext
building '_ruamel_yaml' extension
creating build/temp.macosx-12-x86_64-cpython-311
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/pradchenko/wmx/devops/packer/wmx-scanners/venv/include -I/usr/local/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c _ruamel_yaml.c -o build/temp.macosx-12-x86_64-cpython-311/_ruamel_yaml.o
_ruamel_yaml.c:198:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ruamel.yaml.clib
Failed to build ruamel.yaml.clib
ERROR: Could not build wheels for ruamel.yaml.clib, which is required to install pyproject.toml-based projects
Description
Just install the attached packages with pip, see below >>
Expected behavior
pip install successfully
pip version
pip 23.1.2
Python version
Python 3.11.3 (main, Apr 7 2023, 19:29:16) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
OS
MacoS monterey 12.6
How to Reproduce
Output
Code of Conduct