gensim icon indicating copy to clipboard operation
gensim copied to clipboard

Need a wheel for python 3.13

Open mistahanish opened this issue 9 months ago • 11 comments
trafficstars

When I am trying to install gensim with python 3.13, scipy is having trouble installing because it is trying to compile a new wheel but is unable to.

mistahanish avatar Feb 10 '25 23:02 mistahanish

@mpenkov Misha how about a quick session for another release?

Or maybe just release the new wheels into the existing release? Because I don't think we've merged a single PR since the last one.

piskvorky avatar Feb 11 '25 06:02 piskvorky

I think it's simpler to make a new release (maybe a bugfix one) than to create wheels for an existing release, because of the way the wheel builder is set up.

mpenkov avatar Feb 14 '25 14:02 mpenkov

Unfortunately, since we've made the previous release, github has gone and deprecated the macos-12 workers: https://github.com/actions/runner-images/issues/10721

The macos-14 workers appear to build the wheel, but then it fails to install: https://github.com/piskvorky/gensim/actions/runs/13274964157/job/37064784796

If someone is able to debug this problem, that'd be helpful, because at the moment we don't have a building wheel for macos.

I'll work on adding Py3.13 support in the meanwhile.

mpenkov avatar Feb 14 '25 14:02 mpenkov

This issue appears to be blocking Py3.13 builds for us:

2025-02-14T14:47:33.4599512Z   gensim/models/word2vec_inner.c:10388:51: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘fields’
2025-02-14T14:47:33.4602738Z   10388 |     __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 851, __pyx_L1_error)
2025-02-14T14:47:33.4605387Z         |                                                   ^~
2025-02-14T14:47:33.4629253Z   gensim/models/word2vec_inner.c:10589:79: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
2025-02-14T14:47:33.4632343Z   10589 |     (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
2025-02-14T14:47:33.4636718Z         |                                                                               ^~
2025-02-14T14:47:33.5046471Z   gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_PY_LONG_LONG’:
2025-02-14T14:47:33.5061022Z   gensim/models/word2vec_inner.c:14538:27: error: too few arguments to function ‘_PyLong_AsByteArray’
2025-02-14T14:47:33.5063779Z   14538 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
2025-02-14T14:47:33.5066796Z         |                           ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5071044Z   In file included from /opt/_internal/cpython-3.13.0/include/python3.13/longobject.h:107,
2025-02-14T14:47:33.5074173Z                    from /opt/_internal/cpython-3.13.0/include/python3.13/Python.h:81,
2025-02-14T14:47:33.5076818Z                    from gensim/models/word2vec_inner.c:25:
2025-02-14T14:47:33.5079585Z   /opt/_internal/cpython-3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
2025-02-14T14:47:33.5081804Z     111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
2025-02-14T14:47:33.5083978Z         |                 ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5090146Z   gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_int’:
2025-02-14T14:47:33.5107617Z   gensim/models/word2vec_inner.c:14772:27: error: too few arguments to function ‘_PyLong_AsByteArray’
2025-02-14T14:47:33.5109469Z   14772 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
2025-02-14T14:47:33.5112060Z         |                           ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5115713Z   In file included from /opt/_internal/cpython-3.13.0/include/python3.13/longobject.h:107,
2025-02-14T14:47:33.5118138Z                    from /opt/_internal/cpython-3.13.0/include/python3.13/Python.h:81,
2025-02-14T14:47:33.5120302Z                    from gensim/models/word2vec_inner.c:25:
2025-02-14T14:47:33.5123285Z   /opt/_internal/cpython-3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
2025-02-14T14:47:33.5125320Z     111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
2025-02-14T14:47:33.5128014Z         |                 ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5135053Z   gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_unsigned_PY_LONG_LONG’:
2025-02-14T14:47:33.5152915Z   gensim/models/word2vec_inner.c:14968:27: error: too few arguments to function ‘_PyLong_AsByteArray’
2025-02-14T14:47:33.5156250Z   14968 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
2025-02-14T14:47:33.5158663Z         |                           ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5162697Z   In file included from /opt/_internal/cpython-3.13.0/include/python3.13/longobject.h:107,
2025-02-14T14:47:33.5165738Z                    from /opt/_internal/cpython-3.13.0/include/python3.13/Python.h:81,
2025-02-14T14:47:33.5168987Z                    from gensim/models/word2vec_inner.c:25:
2025-02-14T14:47:33.5171058Z   /opt/_internal/cpython-3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
2025-02-14T14:47:33.5173197Z     111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
2025-02-14T14:47:33.5175080Z         |                 ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5181407Z   gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_npy_uint32’:
2025-02-14T14:47:33.5200431Z   gensim/models/word2vec_inner.c:15164:27: error: too few arguments to function ‘_PyLong_AsByteArray’
2025-02-14T14:47:33.5201785Z   15164 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
2025-02-14T14:47:33.5203567Z         |                           ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5205917Z   In file included from /opt/_internal/cpython-3.13.0/include/python3.13/longobject.h:107,
2025-02-14T14:47:33.5207799Z                    from /opt/_internal/cpython-3.13.0/include/python3.13/Python.h:81,
2025-02-14T14:47:33.5210359Z                    from gensim/models/word2vec_inner.c:25:
2025-02-14T14:47:33.5212611Z   /opt/_internal/cpython-3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
2025-02-14T14:47:33.5214313Z     111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
2025-02-14T14:47:33.5215611Z         |                 ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5226576Z   gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_long’:
2025-02-14T14:47:33.5246323Z   gensim/models/word2vec_inner.c:15398:27: error: too few arguments to function ‘_PyLong_AsByteArray’
2025-02-14T14:47:33.5253866Z   15398 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
2025-02-14T14:47:33.5255249Z         |                           ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5256092Z   In file included from /opt/_internal/cpython-3.13.0/include/python3.13/longobject.h:107,
2025-02-14T14:47:33.5257983Z                    from /opt/_internal/cpython-3.13.0/include/python3.13/Python.h:81,
2025-02-14T14:47:33.5267840Z                    from gensim/models/word2vec_inner.c:25:
2025-02-14T14:47:33.5268583Z   /opt/_internal/cpython-3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
2025-02-14T14:47:33.5269110Z     111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
2025-02-14T14:47:33.5269448Z         |                 ^~~~~~~~~~~~~~~~~~~
2025-02-14T14:47:33.5607791Z   error: command '/opt/rh/devtoolset-10/root/usr/bin/gcc' failed with exit code 1
2025-02-14T14:47:33.5958959Z   error: subprocess-exited-with-error
2025-02-14T14:47:33.5959315Z   
2025-02-14T14:47:33.5959881Z   × Building wheel for gensim (pyproject.toml) did not run successfully.
2025-02-14T14:47:33.5960363Z   │ exit code: 1
2025-02-14T14:47:33.5960721Z   ╰─> See above for output.

I can see 3 distinct issues:

  1. error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘fields’
  2. error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘elsize’
  3. gensim/models/word2vec_inner.c:15398:27: error: too few arguments to function ‘_PyLong_AsByteArray’

Here's a potential fix for the last problem (changed type signature): https://github.com/mkleehammer/pyodbc/pull/1361/files

mpenkov avatar Feb 14 '25 15:02 mpenkov

Here is my build log from MacOS 15.3.1 with Python 3.13, if it helps: (I'm using uv to manage my environment, but that shouldn't strictly matter). Most of these logs are deprecation warnings, so I separated them out for legibility.

Deprecation warnings
In file included from gensim/models/word2vec_inner.c:765:
      In file included from /Users/kate/.cache/uv/builds-v0/.tmpIne2jT/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5:
      In file included from /Users/kate/.cache/uv/builds-v0/.tmpIne2jT/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12:
      In file included from /Users/kate/.cache/uv/builds-v0/.tmpIne2jT/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913:
      /Users/kate/.cache/uv/builds-v0/.tmpIne2jT/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
         17 | #warning "Using deprecated NumPy API, disable it with " \
            |  ^
      gensim/models/word2vec_inner.c:853:59: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
        853 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
            |                                                           ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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;
            | ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:854:11: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
        854 |     const Py_UNICODE *u_end = u;
            |           ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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;
            | ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:1447:37: note: expanded from macro '__Pyx_INCREF'
       1447 |   #define __Pyx_INCREF(r) Py_INCREF(r)
            |                                     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/object.h:846:50: note: expanded from macro 'Py_INCREF'
        846 | #  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
            |                                                  ^~
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/object.h:222:49: note: expanded from macro '_PyObject_CAST'
        222 | #define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
            |                                                 ^~
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:19:38: note: expanded from macro '_Py_CAST'
         19 | #define _Py_CAST(type, expr) ((type)(expr))
            |                                      ^~~~
      gensim/models/word2vec_inner.c:10747:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10747 |   __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10762:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10762 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10780:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10780 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 30, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10798:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10798 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 31, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10816:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10816 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10834:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10834 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 33, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10852:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10852 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:10947:3: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       10947 |   __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 960, __pyx_L1_error)
             |   ^
      gensim/models/word2vec_inner.c:1714:43: note: expanded from macro '__Pyx_GetModuleGlobalName'
       1714 |     (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
            |                                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12062:27: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12062 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
             |                           ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12074:36: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12074 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
             |                                    ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12078:56: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12078 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
             |                                                        ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12095:5: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12095 |     __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
             |     ^
      gensim/models/word2vec_inner.c:1688:21: note: expanded from macro '__PYX_UPDATE_DICT_CACHE'
       1688 |     (version_var) = __PYX_GET_DICT_VERSION(dict);\
            |                     ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12176:9: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12176 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
             |         ^
      gensim/models/word2vec_inner.c:1693:16: note: expanded from macro '__PYX_PY_DICT_LOOKUP_IF_MODIFIED'
       1693 |     if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
            |                ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:12176:9: warning: 'ma_version_tag' is deprecated [-Wdeprecated-declarations]
       12176 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
             |         ^
      gensim/models/word2vec_inner.c:1697:30: note: expanded from macro '__PYX_PY_DICT_LOOKUP_IF_MODIFIED'
       1697 |         __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
            |                              ^
      gensim/models/word2vec_inner.c:1686:65: note: expanded from macro '__PYX_GET_DICT_VERSION'
       1686 | #define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
            |                                                                 ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/dictobject.h:25:5: note: 'ma_version_tag' has been explicitly marked deprecated here
         25 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
            |     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^

Errors:

      gensim/models/word2vec_inner.c:9364:41: error: no member named 'subarray' in 'struct _PyArray_Descr'
       9364 |     __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
            |                              ~~~~~~~~~  ^
...
      gensim/models/word2vec_inner.c:9365:38: error: no member named 'subarray' in 'struct _PyArray_Descr'
       9365 |     __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
            |                           ~~~~~~~~~  ^
...
      gensim/models/word2vec_inner.c:11068:53: error: no member named 'ob_digit' in 'struct _longobject'
       11068 |         const digit* digits = ((PyLongObject*)op1)->ob_digit;
             |                               ~~~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:11918:36: error: no member named 'curexc_traceback' in 'struct _ts'
       11918 |         PyObject* tmp_tb = tstate->curexc_traceback;
             |                            ~~~~~~  ^
      gensim/models/word2vec_inner.c:11921:21: error: no member named 'curexc_traceback' in 'struct _ts'
       11921 |             tstate->curexc_traceback = tb;
             |             ~~~~~~  ^

      gensim/models/word2vec_inner.c:12812:55: error: no member named 'ob_digit' in 'struct _longobject'
       12812 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:12867:55: error: no member named 'ob_digit' in 'struct _longobject'
       12867 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:12955:70: error: too few arguments to function call, expected 6, have 5
       12953 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       12954 |                                               bytes, sizeof(val),
       12955 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13046:55: error: no member named 'ob_digit' in 'struct _longobject'
       13046 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13101:55: error: no member named 'ob_digit' in 'struct _longobject'
       13101 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13189:70: error: too few arguments to function call, expected 6, have 5
       13187 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13188 |                                               bytes, sizeof(val),
       13189 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13242:55: error: no member named 'ob_digit' in 'struct _longobject'
       13242 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13297:55: error: no member named 'ob_digit' in 'struct _longobject'
       13297 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13385:70: error: too few arguments to function call, expected 6, have 5
       13383 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13384 |                                               bytes, sizeof(val),
       13385 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13438:55: error: no member named 'ob_digit' in 'struct _longobject'
       13438 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13493:55: error: no member named 'ob_digit' in 'struct _longobject'
       13493 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13581:70: error: too few arguments to function call, expected 6, have 5
       13579 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13580 |                                               bytes, sizeof(val),
       13581 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13634:55: error: no member named 'ob_digit' in 'struct _longobject'
       13634 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:13689:55: error: no member named 'ob_digit' in 'struct _longobject'
       13689 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
             |                                   ~~~~~~~~~~~~~~~~~~  ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      17 warnings and 20 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1

I'm spotting a few more errors:

  • no member named 'subarray' in 'struct _PyArray_Descr'
  • no member named 'ob_digit' in 'struct _longobject'
  • no member named 'curexc_traceback' in 'struct _ts' and the same error too few arguments to function call, for _PyLong_AsByteArray()

I hope this information helps!

xk86 avatar Mar 07 '25 18:03 xk86

Please, fix this.

barseghyanartur avatar Mar 17 '25 10:03 barseghyanartur

Since word2vec_inner is produced by cython, perhaps all that is needed to fix the compile errors in gensim/models/word2vec_inner.c is to recythonize with an up-to-date version of cython.

hoodmane avatar Mar 17 '25 21:03 hoodmane

Having the same issue with 3.13, downgrading to 3.12 fixed it.

spmartin823 avatar Apr 10 '25 19:04 spmartin823

3.13 build failing here too

using python 3.13.3, 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux

running build_ext building 'gensim.models.word2vec_inner' extension creating build/temp.linux-x86_64-cpython-313/gensim/models gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/home/debbie/tmp/dns2vec/.venv_3.13/include -I/usr/local/include/python3.13 -I/tmp/pip-build-env-9v4dpgja/overlay/lib/python3.13/site-packages/numpy/_core/include -c gensim/models/word2vec_inner.c -o build/temp.linux-x86_64-cpython-313/gensim/models/word2vec_inner.o In file included from /tmp/pip-build-env-9v4dpgja/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /tmp/pip-build-env-9v4dpgja/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /tmp/pip-build-env-9v4dpgja/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from gensim/models/word2vec_inner.c:765: /tmp/pip-build-env-9v4dpgja/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gensim/models/word2vec_inner.c:853:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 853 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) { | ^~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_Py_UNICODE_strlen’: gensim/models/word2vec_inner.c:854:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 854 | const Py_UNICODE *u_end = u; | ^~~~~ In file included from /usr/local/include/python3.13/Python.h:63, from gensim/models/word2vec_inner.c:25: gensim/models/word2vec_inner.c: In function ‘__pyx_f_5numpy_PyDataType_SHAPE’: gensim/models/word2vec_inner.c:9364:39: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’ 9364 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); | ^~ /usr/local/include/python3.13/pyport.h:19:38: note: in definition of macro ‘_Py_CAST’ 19 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/local/include/python3.13/object.h:846:35: note: in expansion of macro ‘_PyObject_CAST’ 846 | # define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op)) | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:1447:27: note: in expansion of macro ‘Py_INCREF’ 1447 | #define __Pyx_INCREF(r) Py_INCREF(r) | ^~~~~~~~~ gensim/models/word2vec_inner.c:9364:5: note: in expansion of macro ‘__Pyx_INCREF’ 9364 | __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); | ^~~~~~~~~~~~ gensim/models/word2vec_inner.c:9365:36: error: ‘PyArray_Descr’ {aka ‘struct _PyArray_Descr’} has no member named ‘subarray’ 9365 | __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape); | ^~ gensim/models/word2vec_inner.c: In function ‘__pyx_pymod_exec_word2vec_inner’: gensim/models/word2vec_inner.c:10747:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10747 | __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/python3.13/dictobject.h:101, from /usr/local/include/python3.13/Python.h:90: /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10762:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10762 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10780:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10780 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 30, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10798:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10798 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 31, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10816:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10816 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10834:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10834 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 33, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10852:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10852 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_fblas); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:10947:3: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 10947 | __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 960, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_NeObjC’: gensim/models/word2vec_inner.c:11068:51: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 11068 | const digit* digits = ((PyLongObject*)op1)->ob_digit; | ^~ gensim/models/word2vec_inner.c: In function ‘__Pyx_Raise’: gensim/models/word2vec_inner.c:11918:34: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’ 11918 | PyObject* tmp_tb = tstate->curexc_traceback; | ^~ gensim/models/word2vec_inner.c:11921:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’ 11921 | tstate->curexc_traceback = tb; | ^~ gensim/models/word2vec_inner.c: In function ‘__Pyx_get_tp_dict_version’: gensim/models/word2vec_inner.c:12062:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12062 | return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0; | ^~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_get_object_dict_version’: gensim/models/word2vec_inner.c:12074:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12074 | return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0; | ^~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_object_dict_version_matches’: gensim/models/word2vec_inner.c:12078:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12078 | if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict))) | ^~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx__GetModuleGlobalName’: gensim/models/word2vec_inner.c:12095:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12095 | __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_CLineForTraceback’: gensim/models/word2vec_inner.c:12176:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12176 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c:12176:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 12176 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/dictobject.h:25:34: note: declared here 25 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_PY_LONG_LONG’: gensim/models/word2vec_inner.c:12812:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 12812 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:12867:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 12867 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:12953:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 12953 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/python3.13/longobject.h:107, from /usr/local/include/python3.13/Python.h:81: /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_int’: gensim/models/word2vec_inner.c:13046:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13046 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13101:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13101 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13187:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 13187 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_unsigned_PY_LONG_LONG’: gensim/models/word2vec_inner.c:13242:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13242 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13297:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13297 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13383:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 13383 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_npy_uint32’: gensim/models/word2vec_inner.c:13438:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13438 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13493:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13493 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13579:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 13579 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyInt_As_long’: gensim/models/word2vec_inner.c:13634:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13634 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13689:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 13689 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ gensim/models/word2vec_inner.c:13775:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 13775 | int ret = _PyLong_AsByteArray((PyLongObject *)v, | ^~~~~~~~~~~~~~~~~~~ /usr/local/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ gensim/models/word2vec_inner.c: In function ‘__Pyx_PyIndex_AsSsize_t’: gensim/models/word2vec_inner.c:14208:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 14208 | const digit* digits = ((PyLongObject*)b)->ob_digit; | ^~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output]

milkywade avatar Apr 10 '25 22:04 milkywade

Any thoughts on when it would be done?

barseghyanartur avatar Apr 16 '25 18:04 barseghyanartur

I don't have the bandwidth to do it myself at the moment.

Someone else has to step in, work out what the problem is, and then fix it.

mpenkov avatar Apr 17 '25 12:04 mpenkov

@mpenkov I'm running into the same problem with scipy trying to install gensim on Python 3.13. Do you happen to know a workaround that I could use to get it running in the meantime before the wheel is available?

greenguy33 avatar Jun 30 '25 21:06 greenguy33

Like @xk86, I am also using uv to manage my python environment and am getting this log when trying to install gensim:

  × Failed to build `gensim==4.3.2`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_py
      copying gensim/interfaces.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/downloader.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/matutils.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/utils.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/nosy.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/similarities/docsim.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/similarities/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/similarities/nmslib.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/similarities/levenshtein.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/similarities/termsim.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/similarities/annoy.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/test/test_text_analysis.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_glove2word2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_parsing.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_tmdiff.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_utils.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_matutils.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_word2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_segmentation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_lsimodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_coherencemodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_miislita.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_phrases.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_tfidfmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_poincare.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_rpmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_corpora_hashdictionary.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_ensemblelda.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/simspeed2.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_aggregation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_lee.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_big.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_translation_matrix.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/basetmtests.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_ldaseqmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_datatype.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_similarity_metrics.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_ldamodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_nmf.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_lda_callback.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/utils.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_keyedvectors.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_corpora_dictionary.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/svd_error.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_logentropy_model.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_doc2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_similarities.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_direct_confirmation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_api.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_atmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_corpora.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_indirect_confirmation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_probability_estimation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_fasttext.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_bm25model.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_scripts.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_normmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_hdpmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/test_sharded_corpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/test/simspeed.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test
      copying gensim/models/poincare.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/basemodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/phrases.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/ensemblelda.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/_fasttext_bin.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/normmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/translation_matrix.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/bm25model.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/lsimodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/rpmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/logentropy_model.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/keyedvectors.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/lda_worker.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/tfidfmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/doc2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/callbacks.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/hdpmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/ldamulticore.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/ldaseqmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/lsi_dispatcher.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/lda_dispatcher.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/ldamodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/nmf.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/atmodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/lsi_worker.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/coherencemodel.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/scripts/make_wikicorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/word2vec2tensor.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/package_info.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/benchmark.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/segment_wiki.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/make_wiki_online.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/make_wiki.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/make_wiki_online_nodebug.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/glove2word2vec.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/scripts/word2vec_standalone.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/scripts
      copying gensim/parsing/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/parsing
      copying gensim/parsing/preprocessing.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/parsing
      copying gensim/parsing/porter.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/parsing
      copying gensim/topic_coherence/direct_confirmation_measure.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/aggregation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/text_analysis.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/probability_estimation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/indirect_confirmation_measure.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/topic_coherence/segmentation.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/topic_coherence
      copying gensim/corpora/sharded_corpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/textcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/wikicorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/csvcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/opinosiscorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/__init__.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/malletcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/mmcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/ucicorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/indexedcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/lowcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/bleicorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/dictionary.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/svmlightcorpus.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/hashdictionary.py -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      running egg_info
      writing gensim.egg-info/PKG-INFO
      writing dependency_links to gensim.egg-info/dependency_links.txt
      writing requirements to gensim.egg-info/requires.txt
      writing top-level names to gensim.egg-info/top_level.txt
      reading manifest file 'gensim.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'COPYING'
      writing manifest file 'gensim.egg-info/SOURCES.txt'
      copying gensim/_matutils.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/_matutils.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim
      copying gensim/similarities/fastss.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/similarities
      copying gensim/test/test_data/EN.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/IT.1-10.cbow1_wind5_hs0_neg10_size300_smpl1e-05.txt ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/OPUS_en_it_europarl_train_one2ten.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/alldata-id-10.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/atmodel_3_0_1_model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/atmodel_3_0_1_model.expElogbeta.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/atmodel_3_0_1_model.id2word -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/atmodel_3_0_1_model.state -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/bgwiki-latest-pages-articles-shortened.xml.bz2 ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/compatible-hash-true.model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/cp852_fasttext.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/crime-and-punishment.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/crime-and-punishment.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/crime-and-punishment.vec -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/d2v-lee-v0.13.0 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/doc2vec_old -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/doc2vec_old_sep -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/doc2vec_old_sep.syn0_lockf.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/doc2vec_old_sep.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/dtm_test.dict -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/dtm_test.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ensemblelda -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/enwiki-latest-pages-articles1.xml-p000000010p000030302-shortened.bz2 ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/enwiki-table-markup.xml.bz2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/euclidean_vectors.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/fasttext_old -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/fasttext_old_sep -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/fasttext_old_sep.syn0_lockf.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/fasttext_old_sep.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/fb-ngrams.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ft_kv_3.6.0.model.gz -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ft_model_2.3.0 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/head500.noblanks.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/head500.noblanks.cor.bz2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/head500.noblanks.cor_tfidf.model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/head500.noblanks.cor_wordids.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/high_precision.kv.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/high_precision.kv.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/large_tag_doc_10_iter50 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lda_3_0_1_model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lda_3_0_1_model.expElogbeta.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lda_3_0_1_model.id2word -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lda_3_0_1_model.state -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_2_7 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_2_7.expElogbeta.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_2_7.id2word -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_2_7.state -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_3_5 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_3_5.expElogbeta.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_3_5.id2word -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldamodel_python_3_5.state -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldavowpalwabbit.dict.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/ldavowpalwabbit.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee_background.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee_fasttext -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee_fasttext.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee_fasttext.vec -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/lee_fasttext_new.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/miIslita.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/mini_newsgroup -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/model-from-gensim-3.8.0.w2v -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/nmf_model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/non_ascii_fasttext.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/old_keyedvectors_320.dat -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pang_lee_polarity.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pang_lee_polarity_fasttext.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pang_lee_polarity_fasttext.vec -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/para2para_text1.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/para2para_text2.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phraser-3.6.0.model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phraser-no-common-terms.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phraser-no-scoring.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phraser-scoring-str.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phrases-3.6.0.model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phrases-no-common-terms.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phrases-no-scoring.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/phrases-scoring-str.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_cp852.tsv -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_hypernyms.tsv -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_hypernyms_large.tsv -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_test_3.4.0 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_utf8.tsv -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/poincare_vectors.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pre_0_13_2_model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pre_0_13_2_model.state -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/pretrained.vec -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/questions-words.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/reproduce.dat -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/reproduce.dat.gz -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/similarities0-1.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/simlex999.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/small_tag_doc_5_iter50 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_corpus_ok.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_corpus_small.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_glove.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_corrupt.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_no_index.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_no_index.mm.bz2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_no_index.mm.gz -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_overflow.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_with_index.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/test_mmcorpus_with_index.mm.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.blei -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.blei.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.blei.vocab -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.low -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.low.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.mallet -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.mallet.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.mm -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.mm.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.svmlight -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.svmlight.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.uci -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.uci.index -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.uci.vocab -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/testcorpus.xml.bz2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/tfidf_model.tst -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/tfidf_model.tst.bz2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/tfidf_model_3_2.tst -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/toy-data.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/toy-model-pretrained.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/toy-model.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/toy-model.vec -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/varembed_lee_subcorpus.cor -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/varembed_morfessor.bin -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/varembed_vectors.pkl -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/w2v-lee-v0.12.0 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/w2v_keyedvectors_load_test.modeldata -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/w2v_keyedvectors_load_test.vocab -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_3.3 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_old -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_old_sep -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_old_sep.syn0_lockf.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_old_sep.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_py2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_py3 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_py3_4 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py2 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py2.neg_labels.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn0.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn0_lockf.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py2.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3.neg_labels.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn0.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn0_lockf.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4 -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.neg_labels.npy ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn0.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn0_lockf.npy ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/word2vec_pre_kv_sep_py3_4.syn1neg.npy -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/wordsim353.tsv -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data
      copying gensim/test/test_data/DTM/ldaseq_3_0_1_model -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/DTM
      copying gensim/test/test_data/DTM/sstats_test.txt -> build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/DTM
      copying gensim/test/test_data/PathLineSentences/1.txt ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/PathLineSentences
      copying gensim/test/test_data/PathLineSentences/2.txt.bz2 ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/PathLineSentences
      copying gensim/test/test_data/old_d2v_models/d2v_0.12.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.12.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.12.2.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.12.3.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.12.4.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.13.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.13.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.13.2.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.13.3.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_0.13.4.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_1.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_1.0.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_2.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_2.1.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_2.2.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_2.3.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_3.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_3.1.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_3.2.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_3.3.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_d2v_models/d2v_3.4.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_d2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.12.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.12.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.12.2.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.12.3.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.12.4.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.13.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.13.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.13.2.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.13.3.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_0.13.4.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_1.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_1.0.1.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_2.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_2.1.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_2.2.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_2.3.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_3.0.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_3.1.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_3.2.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_3.3.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/test/test_data/old_w2v_models/w2v_3.4.0.mdl ->
      build/lib.macosx-15.0-arm64-cpython-313/gensim/test/test_data/old_w2v_models
      copying gensim/models/doc2vec_corpusfile.cpp -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/doc2vec_corpusfile.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/doc2vec_inner.cpp -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/doc2vec_inner.pxd -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/doc2vec_inner.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fast_line_sentence.h -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext_corpusfile.cpp -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext_corpusfile.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext_inner.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext_inner.pxd -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/fasttext_inner.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/nmf_pgd.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/nmf_pgd.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/stdint_wrapper.h -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/voidptr.h -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_corpusfile.cpp -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_corpusfile.pxd -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_corpusfile.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_inner.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_inner.pxd -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/models/word2vec_inner.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/models
      copying gensim/corpora/_mmreader.c -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      copying gensim/corpora/_mmreader.pyx -> build/lib.macosx-15.0-arm64-cpython-313/gensim/corpora
      running build_ext
      building 'gensim.models.word2vec_inner' extension
      clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic
      -DNDEBUG -g -O3 -Wall -I/Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/include
      -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13
      -I/Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/numpy/_core/include -c gensim/models/word2vec_inner.c
      -o build/temp.macosx-15.0-arm64-cpython-313/gensim/models/word2vec_inner.o

      [stderr]
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown
      distribution option: 'test_suite'
        warnings.warn(msg)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown
      distribution option: 'tests_require'
        warnings.warn(msg)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package
      'gensim.test.test_data' is absent from the `packages` configuration.
      !!

              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'gensim.test.test_data' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.

              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'gensim.test.test_data' is explicitly added
              to the `packages` configuration field.

              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).

              You can read more about "package discovery" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

              If you don't want 'gensim.test.test_data' to be distributed and are
              already explicitly excluding 'gensim.test.test_data' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.

              You can read more about "package data files" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************

      !!
        check.warn(importable)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package
      'gensim.test.test_data.DTM' is absent from the `packages` configuration.
      !!

              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'gensim.test.test_data.DTM' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.

              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'gensim.test.test_data.DTM' is explicitly added
              to the `packages` configuration field.

              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).

              You can read more about "package discovery" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

              If you don't want 'gensim.test.test_data.DTM' to be distributed and are
              already explicitly excluding 'gensim.test.test_data.DTM' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.

              You can read more about "package data files" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************

      !!
        check.warn(importable)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package
      'gensim.test.test_data.PathLineSentences' is absent from the `packages` configuration.
      !!

              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'gensim.test.test_data.PathLineSentences' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.

              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'gensim.test.test_data.PathLineSentences' is explicitly added
              to the `packages` configuration field.

              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).

              You can read more about "package discovery" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

              If you don't want 'gensim.test.test_data.PathLineSentences' to be distributed and are
              already explicitly excluding 'gensim.test.test_data.PathLineSentences' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.

              You can read more about "package data files" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************

      !!
        check.warn(importable)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package
      'gensim.test.test_data.old_d2v_models' is absent from the `packages` configuration.
      !!

              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'gensim.test.test_data.old_d2v_models' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.

              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'gensim.test.test_data.old_d2v_models' is explicitly added
              to the `packages` configuration field.

              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).

              You can read more about "package discovery" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

              If you don't want 'gensim.test.test_data.old_d2v_models' to be distributed and are
              already explicitly excluding 'gensim.test.test_data.old_d2v_models' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.

              You can read more about "package data files" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************

      !!
        check.warn(importable)
      /Users/vnagpal/.cache/uv/builds-v0/.tmpOJbLNp/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package
      'gensim.test.test_data.old_w2v_models' is absent from the `packages` configuration.
      !!

              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'gensim.test.test_data.old_w2v_models' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.

              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'gensim.test.test_data.old_w2v_models' is explicitly added
              to the `packages` configuration field.

              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).

              You can read more about "package discovery" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

              If you don't want 'gensim.test.test_data.old_w2v_models' to be distributed and are
              already explicitly excluding 'gensim.test.test_data.old_w2v_models' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.

              You can read more about "package data files" on setuptools documentation page:

              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html


              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************

      !!
        check.warn(importable)
      gensim/models/word2vec_inner.c:859:59: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
        859 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
            |                                                           ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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;
            | ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from
      macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:860:11: warning: 'Py_UNICODE' is deprecated [-Wdeprecated-declarations]
        860 |     const Py_UNICODE *u_end = u;
            |           ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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;
            | ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:251:54: note: expanded from
      macro 'Py_DEPRECATED'
        251 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
            |                                                      ^
      gensim/models/word2vec_inner.c:9378:41: error: no member named 'subarray' in 'struct _PyArray_Descr'
       9378 |     __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
            |                              ~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:1453:37: note: expanded from macro '__Pyx_INCREF'
       1453 |   #define __Pyx_INCREF(r) Py_INCREF(r)
            |                                     ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/object.h:846:50: note: expanded from
      macro 'Py_INCREF'
        846 | #  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
            |                                                  ^~
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/object.h:222:49: note: expanded from
      macro '_PyObject_CAST'
        222 | #define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
            |                                                 ^~
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyport.h:19:38: note: expanded from macro
      '_Py_CAST'
         19 | #define _Py_CAST(type, expr) ((type)(expr))
            |                                      ^~~~
      gensim/models/word2vec_inner.c:9379:38: error: no member named 'subarray' in 'struct _PyArray_Descr'
       9379 |     __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
            |                           ~~~~~~~~~  ^
      gensim/models/word2vec_inner.c:12971:70: error: too few arguments to function call, expected 6, have 5
       12969 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       12970 |                                               bytes, sizeof(val),
       12971 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13205:70: error: too few arguments to function call, expected 6, have 5
       13203 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13204 |                                               bytes, sizeof(val),
       13205 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13401:70: error: too few arguments to function call, expected 6, have 5
       13399 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13400 |                                               bytes, sizeof(val),
       13401 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13597:70: error: too few arguments to function call, expected 6, have 5
       13595 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13596 |                                               bytes, sizeof(val),
       13597 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gensim/models/word2vec_inner.c:13793:70: error: too few arguments to function call, expected 6, have 5
       13791 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ~~~~~~~~~~~~~~~~~~~
       13792 |                                               bytes, sizeof(val),
       13793 |                                               is_little, !is_unsigned);
             |                                                                      ^
      /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/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);
            |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2 warnings and 7 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1

      hint: This usually indicates a problem with the package or the build environment.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.

vnagpal25 avatar Oct 02 '25 00:10 vnagpal25

Fixed by release 4.4.0

julianpollmann avatar Oct 20 '25 08:10 julianpollmann