Skip to content

Macos Install #218

@amwill04

Description

@amwill04

Trying to install awscli on mac machine it is failing with:

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
  ╰─> [393 lines of output]
      <string>:79: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:79: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:79: DeprecationWarning: ast.Bytes is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:79: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:101: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:105: DeprecationWarning: ast.Bytes is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:107: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:117: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
      <string>:104: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
      <string>:108: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-14.6-arm64-cpython-313
      creating build/lib.macosx-14.6-arm64-cpython-313/ruamel
      creating build/lib.macosx-14.6-arm64-cpython-313/ruamel/yaml
      creating build/lib.macosx-14.6-arm64-cpython-313/ruamel/yaml/clib
      copying ./__init__.py -> build/lib.macosx-14.6-arm64-cpython-313/ruamel/yaml/clib
      copying ./setup.py -> build/lib.macosx-14.6-arm64-cpython-313/ruamel/yaml/clib
      copying ./LICENSE -> build/lib.macosx-14.6-arm64-cpython-313/ruamel/yaml/clib
      warning: build_py: byte-compiling is disabled, skipping.
      
      running build_ext
      building '_ruamel_yaml' extension
      creating build/temp.macosx-14.6-arm64-cpython-313
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -I/private/tmp/awscli/build/venv/include -I/Users/distiller/.pyenv/versions/3.13.0/include/python3.13 -c _ruamel_yaml.c -o build/temp.macosx-14.6-arm64-cpython-313/_ruamel_yaml.o
      In file included from _ruamel_yaml.c:1149:
      ./_ruamel_yaml.h:10:9: warning: 'PyString_CheckExact' macro redefined [-Wmacro-redefined]
         10 | #define PyString_CheckExact PyBytes_CheckExact
            |         ^
      _ruamel_yaml.c:998:11: note: previous definition is here
        998 |   #define PyString_CheckExact          PyUnicode_CheckExact
            |           ^
      _ruamel_yaml.c:1236:59: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
       1236 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
            |                                                           ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/unicodeobject.h:10:1: note: 'Py_UNICODE' has been explicitly marked deprecated here
         10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
            | ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      _ruamel_yaml.c:1238:11: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
       1238 |     const Py_UNICODE *u_end = u;
            |           ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/unicodeobject.h:10:1: note: 'Py_UNICODE' has been explicitly marked deprecated here
         10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
            | ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      _ruamel_yaml.c:4156:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
       4156 |   __pyx_v_value = yaml_get_version_string();
            |                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:4462:3: warning: code will never be executed [-Wunreachable-code]
       4462 |   goto __pyx_L3_error;
            |   ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:4619:3: warning: code will never be executed [-Wunreachable-code]
       4619 |   goto __pyx_L3_error;
            |   ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:5069:3: warning: code will never be executed [-Wunreachable-code]
       5069 |   goto __pyx_L3_error;
            |   ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:5410:3: warning: code will never be executed [-Wunreachable-code]
       5410 |   goto __pyx_L3_error;
            |   ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:5536:3: warning: code will never be executed [-Wunreachable-code]
       5536 |   goto __pyx_L3_error;
            |   ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:5929:52: error: incompatible function pointer types passing 'int (void *, char *, int, int *)' to parameter of type 'yaml_read_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Wincompatible-function-pointer-types]
       5929 |     yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_input_handler, ((void *)__pyx_v_self));
            |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./yaml.h:1370:30: note: passing argument to parameter 'handler' here
       1370 |         yaml_read_handler_t *handler, void *data);
            |                              ^
      _ruamel_yaml.c:6170:59: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       6170 |     yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
            |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./_ruamel_yaml.h:11:29: note: expanded from macro 'PyString_AS_STRING'
         11 | #define PyString_AS_STRING  PyBytes_AS_STRING
            |                             ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/bytesobject.h:27:31: note: expanded from macro 'PyBytes_AS_STRING'
         27 | #define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
            |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./yaml.h:1344:30: note: passing argument to parameter 'input' here
       1344 |         const unsigned char *input, size_t size);
            |                              ^
      _ruamel_yaml.c:7887:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       7887 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 416, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:7899:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       7899 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:8572:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       8572 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:8630:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       8630 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:8688:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       8688 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 453, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:8700:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       8700 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:8797:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       8797 |     __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 459, __pyx_L1_error)
            |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:430:17: note: passing argument to parameter 'string' here
        430 |     const char *string,         /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10545:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10545 |         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 573, __pyx_L1_error)
             |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10557:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10557 |         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
             |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10740:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10740 |     __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 585, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10818:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10818 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10859:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10859 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 593, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:10880:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       10880 |     __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:430:17: note: passing argument to parameter 'string' here
        430 |     const char *string,         /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:11182:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       11182 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 619, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:11223:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       11223 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 622, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:11419:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       11419 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 636, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:11460:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       11460 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 639, __pyx_L1_error)
             |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:13221:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       13221 |     __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 733, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:13482:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       13482 |     __pyx_t_5 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 749, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:13538:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       13538 |     __pyx_t_5 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 752, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:13594:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       13594 |     __pyx_t_5 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 755, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:14176:36: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       14176 |   __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 790, __pyx_L1_error)
             |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:430:17: note: passing argument to parameter 'string' here
        430 |     const char *string,         /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:14371:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       14371 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 803, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:14850:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       14850 |     __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 836, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:15415:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       15415 |     __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 875, __pyx_L1_error)
             |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/unicodeobject.h:130:17: note: passing argument to parameter 'u' here
        130 |     const char *u              /* UTF-8 encoded string */
            |                 ^
      _ruamel_yaml.c:16882:53: error: incompatible function pointer types passing 'int (void *, char *, int)' to parameter of type 'yaml_write_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types]
       16882 |   yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler, ((void *)__pyx_v_self));
             |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./yaml.h:1837:31: note: passing argument to parameter 'handler' here
       1837 |         yaml_write_handler_t *handler, void *data);
            |                               ^
      _ruamel_yaml.c:18282:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       18282 |         __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
             |                                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:18397:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       18397 |         __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
             |                                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:18732:61: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       18732 |     __pyx_t_2 = (yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0);
             |                                                             ^~~~~~~~~~~~~~
      ./yaml.h:555:63: note: passing argument to parameter 'anchor' here
        555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
            |                                                               ^
      _ruamel_yaml.c:19443:62: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       19443 |     __pyx_t_2 = (yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                              ^~~~~~~~~~~~~~
      ./yaml.h:581:22: note: passing argument to parameter 'anchor' here
        581 |         yaml_char_t *anchor, yaml_char_t *tag,
            |                      ^
      _ruamel_yaml.c:19443:78: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       19443 |     __pyx_t_2 = (yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                                              ^~~~~~~~~~~
      ./yaml.h:581:43: note: passing argument to parameter 'tag' here
        581 |         yaml_char_t *anchor, yaml_char_t *tag,
            |                                           ^
      _ruamel_yaml.c:19443:91: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       19443 |     __pyx_t_2 = (yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                                                           ^~~~~~~~~~~~~
      ./yaml.h:582:22: note: passing argument to parameter 'value' here
        582 |         yaml_char_t *value, int length,
            |                      ^
      _ruamel_yaml.c:19874:70: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       19874 |     __pyx_t_2 = (yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0);
             |                                                                      ^~~~~~~~~~~~~~
      ./yaml.h:604:22: note: passing argument to parameter 'anchor' here
        604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                      ^
      _ruamel_yaml.c:19874:86: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       19874 |     __pyx_t_2 = (yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0);
             |                                                                                      ^~~~~~~~~~~
      ./yaml.h:604:43: note: passing argument to parameter 'tag' here
        604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                                           ^
      _ruamel_yaml.c:20305:69: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       20305 |     __pyx_t_2 = (yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0);
             |                                                                     ^~~~~~~~~~~~~~
      ./yaml.h:636:22: note: passing argument to parameter 'anchor' here
        636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                      ^
      _ruamel_yaml.c:20305:85: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       20305 |     __pyx_t_2 = (yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0);
             |                                                                                     ^~~~~~~~~~~
      ./yaml.h:636:43: note: passing argument to parameter 'tag' here
        636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                                           ^
      _ruamel_yaml.c:22198:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       22198 |       __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
             |                                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:22313:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       22313 |       __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
             |                                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:23168:64: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       23168 |     __pyx_t_2 = (yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0);
             |                                                                ^~~~~~~~~~~~~~
      ./yaml.h:555:63: note: passing argument to parameter 'anchor' here
        555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
            |                                                               ^
      _ruamel_yaml.c:23898:67: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       23898 |       __pyx_t_2 = (yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                                   ^~~~~~~~~~~~~~
      ./yaml.h:581:22: note: passing argument to parameter 'anchor' here
        581 |         yaml_char_t *anchor, yaml_char_t *tag,
            |                      ^
      _ruamel_yaml.c:23898:83: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       23898 |       __pyx_t_2 = (yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                                                   ^~~~~~~~~~~
      ./yaml.h:581:43: note: passing argument to parameter 'tag' here
        581 |         yaml_char_t *anchor, yaml_char_t *tag,
            |                                           ^
      _ruamel_yaml.c:23898:96: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       23898 |       __pyx_t_2 = (yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0);
             |                                                                                                ^~~~~~~~~~~~~
      ./yaml.h:582:22: note: passing argument to parameter 'value' here
        582 |         yaml_char_t *value, int length,
            |                      ^
      _ruamel_yaml.c:24255:75: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       24255 |       __pyx_t_2 = (yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0);
             |                                                                           ^~~~~~~~~~~~~~
      ./yaml.h:604:22: note: passing argument to parameter 'anchor' here
        604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                      ^
      _ruamel_yaml.c:24255:91: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       24255 |       __pyx_t_2 = (yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0);
             |                                                                                           ^~~~~~~~~~~
      ./yaml.h:604:43: note: passing argument to parameter 'tag' here
        604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                                           ^
      _ruamel_yaml.c:24755:74: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       24755 |       __pyx_t_2 = (yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0);
             |                                                                          ^~~~~~~~~~~~~~
      ./yaml.h:636:22: note: passing argument to parameter 'anchor' here
        636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                      ^
      _ruamel_yaml.c:24755:90: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
       24755 |       __pyx_t_2 = (yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0);
             |                                                                                          ^~~~~~~~~~~
      ./yaml.h:636:43: note: passing argument to parameter 'tag' here
        636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
            |                                           ^
      _ruamel_yaml.c:33210:67: error: too few arguments to function call, expected 6, have 5
       33208 |                 ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                       ~~~~~~~~~~~~~~~~~~~
       33209 |                                            bytes, sizeof(val),
       33210 |                                            is_little, !is_unsigned);
             |                                                                   ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/longobject.h:111:17: note: '_PyLong_AsByteArray' declared here
        111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
            |                 ^                   ~~~~~~~~~~~~~~~~
        112 |     unsigned char* bytes, size_t n,
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        113 |     int little_endian, int is_signed, int with_exceptions);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:33483:67: error: too few arguments to function call, expected 6, have 5
       33481 |                 ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                       ~~~~~~~~~~~~~~~~~~~
       33482 |                                            bytes, sizeof(val),
       33483 |                                            is_little, !is_unsigned);
             |                                                                   ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/longobject.h:111:17: note: '_PyLong_AsByteArray' declared here
        111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
            |                 ^                   ~~~~~~~~~~~~~~~~
        112 |     unsigned char* bytes, size_t n,
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        113 |     int little_endian, int is_signed, int with_exceptions);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c:33818:67: error: too few arguments to function call, expected 6, have 5
       33816 |                 ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                       ~~~~~~~~~~~~~~~~~~~
       33817 |                                            bytes, sizeof(val),
       33818 |                                            is_little, !is_unsigned);
             |                                                                   ^
      /Users/distiller/.pyenv/versions/3.13.0/include/python3.13/cpython/longobject.h:111:17: note: '_PyLong_AsByteArray' declared here
        111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
            |                 ^                   ~~~~~~~~~~~~~~~~
        112 |     unsigned char* bytes, size_t n,
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        113 |     int little_endian, int is_signed, int with_exceptions);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      55 warnings and 5 errors 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

[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: /private/tmp/awscli/build/venv/bin/python -m pip install --upgrade pip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ruamel-yaml-clib)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/private/tmp/awscli/./backends/build_system/__main__.py", line 125, in <module>
    main()
    ~~~~^^
  File "/private/tmp/awscli/./backends/build_system/__main__.py", line 121, in main
    parsed_args.func(parsed_args)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/private/tmp/awscli/./backends/build_system/__main__.py", line 39, in build
    aws_venv = _bootstap_venv(
        parsed_args.build_dir,
        parsed_args.artifact,
        parsed_args.download_deps,
    )
  File "/private/tmp/awscli/./backends/build_system/__main__.py", line 74, in _bootstap_venv
    aws_venv.bootstrap(artifact_type, download_deps)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/tmp/awscli/./backends/build_system/awscli_venv.py", line 58, in bootstrap
    self._install_requirements(SYSTEM_SANDBOX_REQUIREMENTS_LOCK)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/private/tmp/awscli/./backends/build_system/awscli_venv.py", line 79, in _install_requirements
    self._pip_install(
    ~~~~~~~~~~~~~~~~~^
        ["--no-build-isolation", "-r", requirements_file],
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        cwd=cwd,
        ^^^^^^^^
    )
    ^
  File "/private/tmp/awscli/./backends/build_system/awscli_venv.py", line 135, in _pip_install
    self._utils.run(args, **run_kwargs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/private/tmp/awscli/./backends/build_system/utils.py", line 235, in run
    return subprocess.run(args, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/Users/distiller/.pyenv/versions/3.13.0/lib/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/private/tmp/awscli/build/venv/bin/python', '-m', 'pip', 'install', '--no-build-isolation', '-r', PosixPath('/private/tmp/awscli/requirements/download-deps/system-sandbox-lock.txt')]' returned non-zero exit status 1.
make: *** [build] Error 1

The issue isnt with this orb per say , but awscli does not support python 3.13: aws/aws-cli#9234

To mitigate the solution I am having to do the following:

      - run:
          name: Fix python version on macos
          command: |
            os=$(uname -s | tr '[:upper:]' '[:lower:]')"
            if [ "$os" == "darwin" ]; then
              pyenv install 3.11
              pyenv global 3.11
            fi
      - aws-cli/setup

This is somewhat taking a sledgeharmer so wondering if I could issue PR to add pyenv install 3.11 && pyenv shell 3.11 to the mac install script if thats acceptable.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions