You mean when the tar.gz is generated, or when it is being installed from source? It happens for me on macOS 15 on Intel, where no wheel is available, with tox-uv and uv pip install, haven't tried regular pip yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes - the 0.2.13 package can't be compiled via pip as the header files are missing.
If the platform binaries aren't in PyPI it will attempt to build but fail to find _ruamel_yaml.h and that file is not in the tarball.
log:
Building wheels for collected packages: ruamel-yaml-clib
Building wheel for ruamel-yaml-clib (pyproject.toml): started
Building wheel for ruamel-yaml-clib (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ruamel-yaml-clib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
/private/var/folders/5k/h642kp2x7hl9dqk054vl72pw0000gp/T/mkenv-devauto-rui3ghfy/pip-build-env-ugw9i307/overlay/lib/python3.9/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************PleaseconsiderremovingthefollowingclassifiersinfavorofaSPDXlicenseexpression:License::OSIApproved::MITLicenseSeehttps://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.********************************************************************************!!self._finalize_license_expression()runningbdist_wheelrunningbuildrunningbuild_pycreatingbuild/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clibcopying./__init__.py->build/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clibcopying./setup.py->build/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clibrunningbuild_extbuilding'_ruamel_yaml'extensioncreatingbuild/temp.macosx-10.9-universal2-cpython-39clang-Wno-unused-result-Wsign-compare-Wunreachable-code-fno-common-dynamic-DNDEBUG-g-fwrapv-O3-Wall-iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders-iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers-archarm64-archx86_64-Werror=implicit-function-declaration-Wno-error=unreachable-code-I/Users/devauto/Kepler/workspace/GitHub_pdfl18_all_develop-18_mac-x64-apdfl/python-env-pinesol/include-I/Applications/Xcode_15.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9-c_ruamel_yaml.c-obuild/temp.macosx-10.9-universal2-cpython-39/_ruamel_yaml.o_ruamel_yaml.c:1222:10:fatalerror:'_ruamel_yaml.h'filenotfound#include "_ruamel_yaml.h"^~~~~~~~~~~~~~~~1errorgenerated.exitingtmpfile{'full_package_name':'ruamel.yaml.clib','version_info':(0,2,13),'__version__':'0.2.13','version_timestamp':'2025-09-22 09:18:07','author':'Anthon van der Neut','author_email':'a.van.der.neut@ruamel.eu','description':'C version of reader, parser and emitter for ruamel.yaml derived from libyaml','license':'MIT','entry_points':None,'nested':True,'binary_only':True,'since':2019,'ext_modules':[{'name':'_ruamel_yaml','src':['_ruamel_yaml.c','api.c','writer.c','dumper.c','loader.c','reader.c','scanner.c','parser.c','emitter.c'],'lib':[],'test':'\n int main(int argc, char* argv[])\n {\n /* prevent warning */\n return 0;\n }\n '}],'classifiers':['Programming Language :: Python :: Implementation :: CPython','Topic :: Software Development :: Libraries :: Python Modules'],'keywords':'yaml 1.2 parser c-library config','wheels':{'windows':'appveyor','linux':'libyaml-devel','macos':'builder@macos'},'url_doc':'https://yaml.dev/doc/{full_package_name}/','supported':[(3,9)],'python_requires':'>=3.9','tox':{'env':'*'},'manifest':'include README.md LICENSE setup.py *.c *.h *.pxd *.pyx'}error:command'/usr/bin/clang'failedwithexitcode1[endofoutput]
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: failed-wheel-build-for-install
Last edit: Robert Boehne 2025-09-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That looks like a backwards incompatibility of
python -m buildand or setuptools.You mean when the tar.gz is generated, or when it is being installed from source? It happens for me on macOS 15 on Intel, where no wheel is available, with tox-uv and uv pip install, haven't tried regular pip yet.
Yes - the 0.2.13 package can't be compiled via pip as the header files are missing.
If the platform binaries aren't in PyPI it will attempt to build but fail to find _ruamel_yaml.h and that file is not in the tarball.
log:
× Building wheel for ruamel-yaml-clib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
/private/var/folders/5k/h642kp2x7hl9dqk054vl72pw0000gp/T/mkenv-devauto-rui3ghfy/pip-build-env-ugw9i307/overlay/lib/python3.9/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
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: failed-wheel-build-for-install
Last edit: Robert Boehne 2025-09-22
This has been fixed in 0.2.14, thanks for reporting.