Skip to content

Compilation failure with Python 3.14 on LLVM-21 #740

@timkofu

Description

@timkofu

Here's the relevant compile log:

      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:21:0: Global name __INPUT_PRICE_SERIES_DEFAULTS matched from within class scope in contradiction
      to Python 'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:28:0: Global name __ARRAY_TYPES matched from within class scope in contradiction to Python 'class
      private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:21:0: Global name __INPUT_PRICE_SERIES_DEFAULTS matched from within class scope in contradiction
      to Python 'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:28:0: Global name __ARRAY_TYPES matched from within class scope in contradiction to Python 'class
      private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:35:4: Global name __PANDAS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:54:4: Global name __POLARS_DATAFRAME matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:27:0: Global name __INPUT_ARRAYS_TYPES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:36:4: Global name __PANDAS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      warning: talib/_abstract.pxi:55:4: Global name __POLARS_SERIES matched from within class scope in contradiction to Python
      'class private name' rules. This may change in a future release.
      talib/_ta_lib.c:8719:40: error: call to undeclared function 'TA_ACCBANDS_Lookback'; ISO C99 and later do not support implicit
      function declarations [-Wimplicit-function-declaration]
       8719 |   __pyx_v_lookback = (__pyx_v_begidx + TA_ACCBANDS_Lookback(__pyx_v_timeperiod));
            |                                        ^
      talib/_ta_lib.c:8719:40: note: did you mean 'TA_BBANDS_Lookback'?
      /usr/local/include/ta-lib/ta_func.h:527:5: note: 'TA_BBANDS_Lookback' declared here
        527 | int TA_BBANDS_Lookback( int           optInTimePeriod, /* From 2 to 100000 */
            |     ^
      talib/_ta_lib.c:8736:21: error: call to undeclared function 'TA_ACCBANDS'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       8736 |   __pyx_v_retCode = TA_ACCBANDS(0, __pyx_v_endidx, (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_high))
      + __pyx_v_begidx), (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_low)) + __pyx_v_begidx), (((double
      *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_close)) + __pyx_v_begidx), __pyx_v_timeperiod, (&__pyx_v_outbegidx),
      (&__pyx_v_outnbelement), (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_outrealupperband)) + __pyx_v_lookback),
      (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_outrealmiddleband)) + __pyx_v_lookback), (((double
      *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_outreallowerband)) + __pyx_v_lookback));
            |                     ^
      talib/_ta_lib.c:11483:40: error: call to undeclared function 'TA_AVGDEV_Lookback'; ISO C99 and later do not support implicit
      function declarations [-Wimplicit-function-declaration]
       11483 |   __pyx_v_lookback = (__pyx_v_begidx + TA_AVGDEV_Lookback(__pyx_v_timeperiod));
             |                                        ^
      talib/_ta_lib.c:11483:40: note: did you mean 'TA_STDDEV_Lookback'?
      /usr/local/include/ta-lib/ta_func.h:4500:5: note: 'TA_STDDEV_Lookback' declared here
       4500 | int TA_STDDEV_Lookback( int           optInTimePeriod, /* From 2 to 100000 */
            |     ^
      talib/_ta_lib.c:11490:21: error: call to undeclared function 'TA_AVGDEV'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       11490 |   __pyx_v_retCode = TA_AVGDEV(0, __pyx_v_endidx, (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_real))
      + __pyx_v_begidx), __pyx_v_timeperiod, (&__pyx_v_outbegidx), (&__pyx_v_outnbelement), (((double
      *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_outreal)) + __pyx_v_lookback));
             |                     ^
      talib/_ta_lib.c:11490:21: note: did you mean 'TA_STDDEV'?
      /usr/local/include/ta-lib/ta_func.h:4482:12: note: 'TA_STDDEV' declared here
       4482 | TA_RetCode TA_STDDEV( int    startIdx,
            |            ^
      talib/_ta_lib.c:28371:40: error: call to undeclared function 'TA_IMI_Lookback'; ISO C99 and later do not support implicit
      function declarations [-Wimplicit-function-declaration]
       28371 |   __pyx_v_lookback = (__pyx_v_begidx + TA_IMI_Lookback(__pyx_v_timeperiod));
             |                                        ^
      talib/_ta_lib.c:28378:21: error: call to undeclared function 'TA_IMI'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       28378 |   __pyx_v_retCode = TA_IMI(0, __pyx_v_endidx, (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_open)) +
      __pyx_v_begidx), (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_close)) + __pyx_v_begidx), __pyx_v_timeperiod,
      (&__pyx_v_outbegidx), (&__pyx_v_outnbelement), (((double *)__pyx_f_5numpy_7ndarray_4data_data(__pyx_v_outreal)) +
      __pyx_v_lookback));
             |                     ^
      talib/_ta_lib.c:50737:21: error: call to undeclared function 'TA_ACCBANDS'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       50737 |   __pyx_v_retCode = TA_ACCBANDS((((int)__pyx_v_length) - 1), (((int)__pyx_v_length) - 1), __pyx_v_high_data,
      __pyx_v_low_data, __pyx_v_close_data, __pyx_v_timeperiod, (&__pyx_v_outbegidx), (&__pyx_v_outnbelement),
      (&__pyx_v_outrealupperband), (&__pyx_v_outrealmiddleband), (&__pyx_v_outreallowerband));
             |                     ^
      talib/_ta_lib.c:53412:21: error: call to undeclared function 'TA_AVGDEV'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       53412 |   __pyx_v_retCode = TA_AVGDEV((((int)__pyx_v_length) - 1), (((int)__pyx_v_length) - 1), __pyx_v_real_data,
      __pyx_v_timeperiod, (&__pyx_v_outbegidx), (&__pyx_v_outnbelement), (&__pyx_v_outreal));
             |                     ^
      talib/_ta_lib.c:70058:21: error: call to undeclared function 'TA_IMI'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
       70058 |   __pyx_v_retCode = TA_IMI((((int)__pyx_v_length) - 1), (((int)__pyx_v_length) - 1), __pyx_v_open_data,
      __pyx_v_close_data, __pyx_v_timeperiod, (&__pyx_v_outbegidx), (&__pyx_v_outnbelement), (&__pyx_v_outreal));
             |   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions