gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
449 stars 38 forks source link

Building yacron pyinstaller on newer python version fail #76

Open martadinata666 opened 1 year ago

martadinata666 commented 1 year ago

Description

Thanks for giving Dockerfile for binary release for yacron, i personally build it and use in other project, work gracefully. And now it failing when python:3.10 or 3.11 used.

What I Did

Building yacron binary dist with pyspec, with updated python version.

Latest known work

Python 3.9

Build Log

python 3.10 failed buildruamel.yml`

#20 13.16       running build_ext
#20 13.16       building '_ruamel_yaml' extension
#20 13.16       creating build/temp.linux-x86_64-cpython-310
#20 13.16       creating build/temp.linux-x86_64-cpython-310/ext
#20 13.16       gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c ext/_ruamel_yaml.c -o build/temp.linux-x86_64-cpython-310/ext/_ruamel_yaml.o
#20 13.16       In file included from ext/_ruamel_yaml.c:596:
#20 13.16       ext/_ruamel_yaml.h:10: warning: "PyString_CheckExact" redefined
#20 13.16          10 | #define PyString_CheckExact PyBytes_CheckExact
#20 13.16             |
#20 13.16       ext/_ruamel_yaml.c:486: note: this is the location of the previous definition
#20 13.16         486 |   #define PyString_CheckExact          PyUnicode_CheckExact
#20 13.16             |
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_get_version_string’:
#20 13.16       ext/_ruamel_yaml.c:1886:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
#20 13.16        1886 |   __pyx_v_value = yaml_get_version_string();
#20 13.16             |                 ^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_7CParser___init__’:
#20 13.16       ext/_ruamel_yaml.c:3386:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types]
#20 13.16        3386 |     yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_12_ruamel_yaml_input_handler, ((void *)__pyx_v_self));
#20 13.16             |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16             |                                                    |
#20 13.16             |                                                    int (*)(void *, char *, int,  int *)
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:1370:30: note: expected ‘int (*)(void *, unsigned char *, size_t,  size_t *)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int,  long unsigned int *)’} but argument is of type ‘int (*)(void *, char *, int,  int *)’
#20 13.16        1370 |         yaml_read_handler_t *handler, void *data);
#20 13.16             |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16       In file included from /usr/local/include/python3.10/bytesobject.h:62,
#20 13.16                        from /usr/local/include/python3.10/Python.h:82,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/bytesobject.h:32:57: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
#20 13.16          32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
#20 13.16             |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
#20 13.16             |                                                         |
#20 13.16             |                                                         char *
#20 13.16          33 |                                 (((PyBytesObject *)(op))->ob_sval))
#20 13.16             |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’
#20 13.16          11 | #define PyString_AS_STRING  PyBytes_AS_STRING
#20 13.16             |                             ^~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:3627:59: note: in expansion of macro ‘PyString_AS_STRING’
#20 13.16        3627 |     yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
#20 13.16             |                                                           ^~~~~~~~~~~~~~~~~~
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:1344:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
#20 13.16        1344 |         const unsigned char *input, size_t size);
#20 13.16             |         ~~~~~~~~~~~~~~~~~~~~~^~~~~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__token_to_object’:
#20 13.16       ext/_ruamel_yaml.c:5461:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        5461 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 416, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                       |
#20 13.16             |                                                                       yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:5473:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        5473 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                       |
#20 13.16             |                                                                       yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:6475:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        6475 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#20 13.16             |                                                               |
#20 13.16             |                                                               yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:6559:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        6559 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#20 13.16             |                                                                |
#20 13.16             |                                                                yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:6643:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        6643 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 453, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                             |
#20 13.16             |                                                             yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:6655:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        6655 |     __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                             |
#20 13.16             |                                                             yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:6779:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
#20 13.16        6779 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#20 13.16             |                                                                |
#20 13.16             |                                                                yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         455 |     const char *string,         /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__event_to_object’:
#20 13.16       ext/_ruamel_yaml.c:8460:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        8460 |         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 573, __pyx_L1_error)
#20 13.16             |                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
#20 13.16             |                                                               |
#20 13.16             |                                                               yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:8472:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        8472 |         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
#20 13.16             |                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
#20 13.16             |                                                               |
#20 13.16             |                                                               yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:8715:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        8715 |     __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 585, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                               |
#20 13.16             |                                                               yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:8819:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        8819 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                  |
#20 13.16             |                                                                  yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:8860:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        8860 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 593, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                  |
#20 13.16             |                                                                  yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:8881:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
#20 13.16        8881 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#20 13.16             |                                                                |
#20 13.16             |                                                                yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         455 |     const char *string,         /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:9222:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        9222 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 619, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                          |
#20 13.16             |                                                                          yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:9263:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        9263 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 622, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                          |
#20 13.16             |                                                                          yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:9495:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        9495 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 636, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                         |
#20 13.16             |                                                                         yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:9536:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16        9536 |       __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 639, __pyx_L1_error)
#20 13.16             |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                         |
#20 13.16             |                                                                         yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_node’:
#20 13.16       ext/_ruamel_yaml.c:11209:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       11209 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                           |
#20 13.16             |                                                                           yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:11529:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       11529 |     __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 749, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                            |
#20 13.16             |                                                                            yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:11585:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       11585 |     __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 752, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                                    |
#20 13.16             |                                                                                    yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c:11641:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       11641 |     __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 755, __pyx_L1_error)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16             |                                                                                   |
#20 13.16             |                                                                                   yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_scalar_node’:
#20 13.16       ext/_ruamel_yaml.c:12299:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
#20 13.16       12299 |   __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)
#20 13.16             |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#20 13.16             |                                                                          |
#20 13.16             |                                                                          yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:455:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         455 |     const char *string,         /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:12522:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       12522 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                            |
#20 13.16             |                                                                            yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_sequence_node’:
#20 13.16       ext/_ruamel_yaml.c:13060:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       13060 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                                    |
#20 13.16             |                                                                                    yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_7CParser__compose_mapping_node’:
#20 13.16       ext/_ruamel_yaml.c:13685:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
#20 13.16       13685 |     __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)
#20 13.16             |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#20 13.16             |                                                                                   |
#20 13.16             |                                                                                   yaml_char_t * {aka unsigned char *}
#20 13.16       In file included from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’}
#20 13.16         138 |     const char *u              /* UTF-8 encoded string */
#20 13.16             |     ~~~~~~~~~~~~^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_8CEmitter___init__’:
#20 13.16       ext/_ruamel_yaml.c:15016:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
#20 13.16       15016 |   yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_12_ruamel_yaml_output_handler, ((void *)__pyx_v_self));
#20 13.16             |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16             |                                                     |
#20 13.16             |                                                     int (*)(void *, char *, int)
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:1837:31: note: expected ‘int (*)(void *, unsigned char *, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but argument is of type ‘int (*)(void *, char *, int)’
#20 13.16        1837 |         yaml_write_handler_t *handler, void *data);
#20 13.16             |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_8CEmitter__object_to_event’:
#20 13.16       ext/_ruamel_yaml.c:16368:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
#20 13.16       16368 |         __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
#20 13.16             |                                            ^
#20 13.16       ext/_ruamel_yaml.c:16483:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
#20 13.16       16483 |         __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
#20 13.16             |                                            ^
#20 13.16       ext/_ruamel_yaml.c:16820:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       16820 |     __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
#20 13.16             |                                                              ^~~~~~~~~~~~~~
#20 13.16             |                                                              |
#20 13.16             |                                                              char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:555:63: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
#20 13.16             |                                                  ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:17535:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       17535 |     __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) != 0);
#20 13.16             |                                                               ^~~~~~~~~~~~~~
#20 13.16             |                                                               |
#20 13.16             |                                                               char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:581:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         581 |         yaml_char_t *anchor, yaml_char_t *tag,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:17535:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       17535 |     __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) != 0);
#20 13.16             |                                                                               ^~~~~~~~~~~
#20 13.16             |                                                                               |
#20 13.16             |                                                                               char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:581:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         581 |         yaml_char_t *anchor, yaml_char_t *tag,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c:17535:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       17535 |     __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) != 0);
#20 13.16             |                                                                                            ^~~~~~~~~~~~~
#20 13.16             |                                                                                            |
#20 13.16             |                                                                                            char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:582:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         582 |         yaml_char_t *value, int length,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~
#20 13.16       ext/_ruamel_yaml.c:17969:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       17969 |     __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
#20 13.16             |                                                                       ^~~~~~~~~~~~~~
#20 13.16             |                                                                       |
#20 13.16             |                                                                       char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:604:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:17969:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       17969 |     __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
#20 13.16             |                                                                                       ^~~~~~~~~~~
#20 13.16             |                                                                                       |
#20 13.16             |                                                                                       char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:604:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c:18403:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       18403 |     __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) != 0);
#20 13.16             |                                                                      ^~~~~~~~~~~~~~
#20 13.16             |                                                                      |
#20 13.16             |                                                                      char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:636:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:18403:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       18403 |     __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) != 0);
#20 13.16             |                                                                                      ^~~~~~~~~~~
#20 13.16             |                                                                                      |
#20 13.16             |                                                                                      char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:636:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_pf_12_ruamel_yaml_8CEmitter_12serialize’:
#20 13.16       ext/_ruamel_yaml.c:19973:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
#20 13.16       19973 |       __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
#20 13.16             |                                          ^
#20 13.16       ext/_ruamel_yaml.c:20088:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
#20 13.16       20088 |       __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
#20 13.16             |                                          ^
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_f_12_ruamel_yaml_8CEmitter__serialize_node’:
#20 13.16       ext/_ruamel_yaml.c:20945:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       20945 |     __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
#20 13.16             |                                                                 ^~~~~~~~~~~~~~
#20 13.16             |                                                                 |
#20 13.16             |                                                                 char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:555:63: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         555 | yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
#20 13.16             |                                                  ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:21756:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       21756 |       __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) != 0);
#20 13.16             |                                                                    ^~~~~~~~~~~~~~
#20 13.16             |                                                                    |
#20 13.16             |                                                                    char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:581:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         581 |         yaml_char_t *anchor, yaml_char_t *tag,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:21756:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       21756 |       __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) != 0);
#20 13.16             |                                                                                    ^~~~~~~~~~~
#20 13.16             |                                                                                    |
#20 13.16             |                                                                                    char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:581:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         581 |         yaml_char_t *anchor, yaml_char_t *tag,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c:21756:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       21756 |       __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) != 0);
#20 13.16             |                                                                                                 ^~~~~~~~~~~~~
#20 13.16             |                                                                                                 |
#20 13.16             |                                                                                                 char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:582:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         582 |         yaml_char_t *value, int length,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~
#20 13.16       ext/_ruamel_yaml.c:22143:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       22143 |       __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) != 0);
#20 13.16             |                                                                            ^~~~~~~~~~~~~~
#20 13.16             |                                                                            |
#20 13.16             |                                                                            char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:604:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:22143:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       22143 |       __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) != 0);
#20 13.16             |                                                                                            ^~~~~~~~~~~
#20 13.16             |                                                                                            |
#20 13.16             |                                                                                            char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:604:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         604 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c:22673:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       22673 |       __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) != 0);
#20 13.16             |                                                                           ^~~~~~~~~~~~~~
#20 13.16             |                                                                           |
#20 13.16             |                                                                           char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:636:22: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |         ~~~~~~~~~~~~~^~~~~~
#20 13.16       ext/_ruamel_yaml.c:22673:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
#20 13.16       22673 |       __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) != 0);
#20 13.16             |                                                                                           ^~~~~~~~~~~
#20 13.16             |                                                                                           |
#20 13.16             |                                                                                           char *
#20 13.16       In file included from ext/_ruamel_yaml.h:2,
#20 13.16                        from ext/_ruamel_yaml.c:596:
#20 13.16       ext/yaml.h:636:43: note: expected ‘yaml_char_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
#20 13.16         636 |         yaml_char_t *anchor, yaml_char_t *tag, int implicit,
#20 13.16             |                              ~~~~~~~~~~~~~^~~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_tp_dealloc_12_ruamel_yaml_CParser’:
#20 13.16       ext/_ruamel_yaml.c:23877:5: error: lvalue required as increment operand
#20 13.16       23877 |     ++Py_REFCNT(o);
#20 13.16             |     ^~
#20 13.16       ext/_ruamel_yaml.c:23879:5: error: lvalue required as decrement operand
#20 13.16       23879 |     --Py_REFCNT(o);
#20 13.16             |     ^~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__pyx_tp_dealloc_12_ruamel_yaml_CEmitter’:
#20 13.16       ext/_ruamel_yaml.c:24050:5: error: lvalue required as increment operand
#20 13.16       24050 |     ++Py_REFCNT(o);
#20 13.16             |     ^~
#20 13.16       ext/_ruamel_yaml.c:24052:5: error: lvalue required as decrement operand
#20 13.16       24052 |     --Py_REFCNT(o);
#20 13.16             |     ^~
#20 13.16       ext/_ruamel_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’:
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#20 13.16         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#20 13.16             |                                             ^~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#20 13.16         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#20 13.16             |                                             ^~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26221:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26221 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                     ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#20 13.16         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#20 13.16             |                                             ^~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#20 13.16         580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#20 13.16             |                                             ^~~~~~~~~~~~~~~~~~~
#20 13.16       ext/_ruamel_yaml.c:26237:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#20 13.16       26237 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#20 13.16             |                         ^
#20 13.16       In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#20 13.16                        from /usr/local/include/python3.10/Python.h:83,
#20 13.16                        from ext/_ruamel_yaml.c:4:
#20 13.16       /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#20 13.16         446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#20 13.16             |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
#20 13.16       error: command '/usr/bin/gcc' failed with exit code 1
#20 13.16       [end of output]
#20 13.16   
#20 13.16   note: This error originates from a subprocess, and is likely not a problem with pip.
#20 13.16   Running setup.py clean for ruamel.yaml
#20 13.16   ERROR: Failed building wheel for ruamel.yaml
#20 13.47   Building wheel for strictyaml (setup.py): started

Python 3.11 missing longintrepr.h

#15 19.16       running build_ext
#15 19.16       building 'yarl._quoting_c' extension
#15 19.16       creating build/temp.linux-x86_64-cpython-311
#15 19.16       creating build/temp.linux-x86_64-cpython-311/yarl
#15 19.16       x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c yarl/_quoting_c.c -o build/temp.linux-x86_64-cpython-311/yarl/_quoting_c.o
#15 19.16       yarl/_quoting_c.c:196:12: fatal error: longintrepr.h: No such file or directory
#15 19.16         196 |   #include "longintrepr.h"
#15 19.16             |            ^~~~~~~~~~~~~~~
#15 19.16       compilation terminated.
#15 19.16       error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
#15 19.16       [end of output]
#15 19.16   
#15 19.16   note: This error originates from a subprocess, and is likely not a problem with pip.
#15 19.16   ERROR: Failed building wheel for yarl
#15 19.17 Successfully built coverage crontab MarkupSafe multidict strictyaml
#15 19.17 Failed to build aiohttp ruamel.yaml yarl
#15 19.17 ERROR: Could not build wheels for aiohttp, yarl, which is required to install pyproject.toml-based projects
#15 ERROR: process "/bin/sh -c pip install -r /root/requirements.txt" did not complete successfully: exit code: 1

As building with python 3.11 stop at library missing, still dont know if there will be another error poped out.

Thanks.

gjcarneiro commented 1 year ago

I never tried to use Python > 3.8 with pyinstaller before. This is a tricky one. Due to Python C API changes, we may need to upgrade to newer versions of some dependencies. However, some dependencies cannot be safely upgraded to newer versions. ruamel.yaml, in particular, has to be an old version, because newer version I have found to be incompatible with pyinstaller. aiohttp should be easier to upgrade.

martadinata666 commented 1 year ago

so im going yolo, and remove all version from pyinstaller/requirements.txt and it build success. 🤔 assuming this kinda obsolete version. Just dont know if there will be unexpected behaviour.

My action reference. https://github.com/martadinata666/yacron/actions/runs/3923894354

gjcarneiro commented 1 year ago

I have mixed feelings about unpinning versions. But it's an idea worth exploring. The most important version restrictions are already in place in yacron's setup.py, but they are more lax version restrictions, for the most part. So maybe we don't need requirements.txt at all :shrug: