Skip to content

Add Python 3.14 support when upstream dependencies are compatible #255

Description

@davebulaval

Context

As part of PR #254, we added Python 3.13 support by making fasttext-wheel an optional dependency with an automatic Gensim fallback. However, Python 3.14 cannot be supported yet because several core dependencies fail to compile from source on 3.14.

Blocking dependencies

Dependency Issue on Python 3.14 Status
gensim >= 4.3.3 C extensions (word2vec_inner.c) fail to compile — PyArray_Descr missing subarray member, PyDictObject missing ma_version_tag No 3.14 wheels available
fasttext-wheel C++ source missing #include <cstdint> (already fails on 3.13+) Archived upstream repo, no fix expected

Gensim is a core dependency (install_requires), so unlike fasttext-wheel (which we made optional), we cannot work around it.

Action items

  • Monitor gensim releases for Python 3.14 wheel support
  • Check other core dependencies (scipy, torch, numpy, poutyne, pymagnitude-light) for 3.14 compatibility
  • Once all core dependencies support 3.14, add it to:
    • setup.py classifiers
    • pyproject.toml target-version
    • CI/CD workflow matrices (.github/workflows/*.yml)
    • run_tests_python_envs.sh
    • Documentation (docs/source/index.rst, docs/source/install/installation.rst)

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions