Skip to content

gensim is not longer usable due to pinning scipy <1.14.0 #3623

@morotti

Description

@morotti

hello,

reporting that gensim is no longer installable due to pinning an old scipy<1.14.0

  • gensim is no longer installable on recent python versions that only have a recent version of scipy.
  • gensim is no longer installable with other recent packages that require scipy 1.14, which is quite a few.

I note that scipy 1.11 1.12 1.13 are crashing on skylake / cascade lake Intel CPUs, they call invalid instructions and crash depending on what matrix operations you do, so the upgrade to scipy 1.14 is quite critical.

the pin is in the setup.py with a comment https://github.com/piskvorky/gensim/blob/master/setup.py#L337

install_requires = [
    ...
    # scipy 1.14.0 and onwards removes deprecated sparsetools submodule
    'scipy >= 1.7.0, <1.14.0',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions