Menu

#47 Release 0.2.13 is missing files

closed
nobody
None
minor
bug
2025-09-22
2025-09-22
No

At least "_ruamel_yaml.h" is missing, not sure about the pxd and pyx files.

Discussion

  • Anthon van der Neut

    That looks like a backwards incompatibility of python -m build and or setuptools.

     
  • Florian Schulze

    Florian Schulze - 2025-09-22

    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.

     
  • Robert Boehne

    Robert Boehne - 2025-09-22

    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.
    !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
    
              License :: OSI Approved :: MIT License
    
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
    
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_py
      creating build/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clib
      copying ./__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clib
      copying ./setup.py -> build/lib.macosx-10.9-universal2-cpython-39/ruamel/yaml/clib
      running build_ext
      building '_ruamel_yaml' extension
      creating build/temp.macosx-10.9-universal2-cpython-39
      clang -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 -arch arm64 -arch x86_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 -o build/temp.macosx-10.9-universal2-cpython-39/_ruamel_yaml.o
      _ruamel_yaml.c:1222:10: fatal error: '_ruamel_yaml.h' file not found
      #include "_ruamel_yaml.h"
               ^~~~~~~~~~~~~~~~
      1 error generated.
      exiting tmpfile {'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' 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: failed-wheel-build-for-install

     

    Last edit: Robert Boehne 2025-09-22
  • Anthon van der Neut

    • status: open --> closed
     
  • Anthon van der Neut

    This has been fixed in 0.2.14, thanks for reporting.

     

Log in to post a comment.

MongoDB Logo MongoDB